Class CustomObjectKeyReferenceImpl
java.lang.Object
com.commercetools.importapi.models.common.CustomObjectKeyReferenceImpl
- All Implemented Interfaces:
CustomObjectKeyReference,KeyReference,io.vrap.rmf.base.client.ModelBase
public class CustomObjectKeyReferenceImpl
extends Object
implements CustomObjectKeyReference, io.vrap.rmf.base.client.ModelBase
Used by the Import API to identify a CustomObject.
-
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.CustomObjectKeyReference
KEY_VALUE_DOCUMENT -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncopyDeep()booleanThecontainerof the referenced CustomObject.getKey()User-defined unique identifier of the referenced CustomObject.Type of referenced resource.inthashCode()voidsetContainer(String container) Thecontainerof the referenced CustomObject.voidUser-defined unique identifier of the referenced CustomObject.toString()Methods inherited from interface com.commercetools.importapi.models.common.CustomObjectKeyReference
withCustomObjectKeyReferenceMethods inherited from interface com.commercetools.importapi.models.common.KeyReference
withKeyReferenceMethods inherited from interface io.vrap.rmf.base.client.ModelBase
reflectionString, reflectionString
-
Constructor Details
-
CustomObjectKeyReferenceImpl
public CustomObjectKeyReferenceImpl()create empty instance
-
-
Method Details
-
getKey
User-defined unique identifier of the referenced CustomObject.
- Specified by:
getKeyin interfaceCustomObjectKeyReference- Specified by:
getKeyin interfaceKeyReference- Returns:
- key
-
getTypeId
Type of referenced resource.
- Specified by:
getTypeIdin interfaceKeyReference- Returns:
- typeId
-
getContainer
The
containerof the referenced CustomObject.- Specified by:
getContainerin interfaceCustomObjectKeyReference- Returns:
- container
-
setKey
Description copied from interface:CustomObjectKeyReferenceUser-defined unique identifier of the referenced CustomObject.
- Specified by:
setKeyin interfaceCustomObjectKeyReference- Specified by:
setKeyin interfaceKeyReference- Parameters:
key- value to be set
-
setContainer
Description copied from interface:CustomObjectKeyReferenceThe
containerof the referenced CustomObject.- Specified by:
setContainerin interfaceCustomObjectKeyReference- Parameters:
container- value to be set
-
equals
-
hashCode
public int hashCode() -
toString
-
copyDeep
- Specified by:
copyDeepin interfaceCustomObjectKeyReference- Specified by:
copyDeepin interfaceKeyReference
-