Class KeyReferenceImpl
java.lang.Object
com.commercetools.importapi.models.common.KeyReferenceImpl
- All Implemented Interfaces:
KeyReference
,io.vrap.rmf.base.client.ModelBase
public class KeyReferenceImpl
extends Object
implements KeyReference, io.vrap.rmf.base.client.ModelBase
References a resource by key.
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.vrap.rmf.base.client.ModelBase
io.vrap.rmf.base.client.ModelBase.FilteredRecursiveToStringStyle
-
Constructor Summary
-
Method Summary
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, toString, wait, wait, wait
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
-
KeyReferenceImpl
public KeyReferenceImpl()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()
-