Class ProductKeyReferenceImpl
java.lang.Object
com.commercetools.importapi.models.common.ProductKeyReferenceImpl
- All Implemented Interfaces:
KeyReference
,ProductKeyReference
,io.vrap.rmf.base.client.ModelBase
public class ProductKeyReferenceImpl
extends Object
implements ProductKeyReference, io.vrap.rmf.base.client.ModelBase
References a product by key.
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.vrap.rmf.base.client.ModelBase
io.vrap.rmf.base.client.ModelBase.FilteredRecursiveToStringStyle
-
Field Summary
Fields inherited from interface com.commercetools.importapi.models.common.ProductKeyReference
PRODUCT
-
Constructor Summary
-
Method Summary
Methods inherited from interface com.commercetools.importapi.models.common.KeyReference
withKeyReference
Methods inherited from interface io.vrap.rmf.base.client.ModelBase
reflectionString, reflectionString
Methods inherited from interface com.commercetools.importapi.models.common.ProductKeyReference
withProductKeyReference
-
Constructor Details
-
ProductKeyReferenceImpl
public ProductKeyReferenceImpl()create empty instance
-
-
Method Details
-
getKey
- Specified by:
getKey
in interfaceKeyReference
- Returns:
- key
-
getTypeId
The type of the referenced resource.
- Specified by:
getTypeId
in interfaceKeyReference
- Returns:
- typeId
-
setKey
Description copied from interface:KeyReference
set key- Specified by:
setKey
in interfaceKeyReference
- Parameters:
key
- value to be set
-
equals
-
hashCode
public int hashCode() -
toString
-