Class StoreKeyReferenceImpl
java.lang.Object
com.commercetools.api.models.store.StoreKeyReferenceImpl
- All Implemented Interfaces:
KeyReference
,StoreKeyReference
,WithKey
,io.vrap.rmf.base.client.ModelBase
public class StoreKeyReferenceImpl
extends Object
implements StoreKeyReference, io.vrap.rmf.base.client.ModelBase
Reference to a Store by its 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.api.models.store.StoreKeyReference
STORE
-
Constructor Summary
-
Method Summary
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.commercetools.api.models.common.KeyReference
withKeyReference
Methods inherited from interface io.vrap.rmf.base.client.ModelBase
reflectionString, reflectionString
Methods inherited from interface com.commercetools.api.models.store.StoreKeyReference
withStoreKeyReference
-
Constructor Details
-
StoreKeyReferenceImpl
public StoreKeyReferenceImpl()create empty instance
-
-
Method Details
-
getTypeId
Type of referenced resource.
- Specified by:
getTypeId
in interfaceKeyReference
- Returns:
- typeId
-
getKey
Unique and immutable key of the referenced Store.
- Specified by:
getKey
in interfaceKeyReference
- Specified by:
getKey
in interfaceStoreKeyReference
- Specified by:
getKey
in interfaceWithKey
- Returns:
- key
-
setKey
Description copied from interface:StoreKeyReference
Unique and immutable key of the referenced Store.
- Specified by:
setKey
in interfaceKeyReference
- Specified by:
setKey
in interfaceStoreKeyReference
- Parameters:
key
- value to be set
-
equals
-
hashCode
-