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
References a key value document 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.CustomObjectKeyReference
KEY_VALUE_DOCUMENT
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
getKey()
The type of the referenced resource.int
hashCode()
void
setContainer
(String container) set containervoid
set keytoString()
Methods inherited from interface com.commercetools.importapi.models.common.CustomObjectKeyReference
withCustomObjectKeyReference
Methods inherited from interface com.commercetools.importapi.models.common.KeyReference
withKeyReference
Methods inherited from interface io.vrap.rmf.base.client.ModelBase
reflectionString, reflectionString
-
Constructor Details
-
CustomObjectKeyReferenceImpl
public CustomObjectKeyReferenceImpl()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
-
getContainer
- Specified by:
getContainer
in interfaceCustomObjectKeyReference
- Returns:
- container
-
setKey
Description copied from interface:KeyReference
set key- Specified by:
setKey
in interfaceKeyReference
- Parameters:
key
- value to be set
-
setContainer
Description copied from interface:CustomObjectKeyReference
set container- Specified by:
setContainer
in interfaceCustomObjectKeyReference
- Parameters:
container
- value to be set
-
equals
-
hashCode
public int hashCode() -
toString
-