Class StoreReferenceImpl
java.lang.Object
com.commercetools.api.models.store.StoreReferenceImpl
- All Implemented Interfaces:
Reference
,ReferenceMixin
,Identifiable<Store>
,StoreReference
,io.vrap.rmf.base.client.ModelBase
public class StoreReferenceImpl
extends Object
implements StoreReference, io.vrap.rmf.base.client.ModelBase
Reference to a Store.
-
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.StoreReference
STORE
-
Constructor Summary
-
Method Summary
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface io.vrap.rmf.base.client.ModelBase
reflectionString, reflectionString
Methods inherited from interface com.commercetools.api.models.common.Reference
withReference
Methods inherited from interface com.commercetools.api.models.common.ReferenceMixin
toResourceIdentifier
Methods inherited from interface com.commercetools.api.models.store.StoreReference
withStoreReference
-
Constructor Details
-
StoreReferenceImpl
public StoreReferenceImpl()create empty instance
-
-
Method Details
-
getTypeId
Type of referenced resource.
- Specified by:
getTypeId
in interfaceReference
- Specified by:
getTypeId
in interfaceReferenceMixin
- Returns:
- typeId
-
getId
Unique ID of the referenced Store.
- Specified by:
getId
in interfaceIdentifiable<Store>
- Specified by:
getId
in interfaceReference
- Specified by:
getId
in interfaceReferenceMixin
- Specified by:
getId
in interfaceStoreReference
- Returns:
- id
-
getObj
Contains the representation of the expanded Store. Only present in responses to requests with Reference Expansion for Stores.
- Specified by:
getObj
in interfaceStoreReference
- Returns:
- obj
-
setId
Description copied from interface:StoreReference
Unique ID of the referenced Store.
- Specified by:
setId
in interfaceReference
- Specified by:
setId
in interfaceStoreReference
- Parameters:
id
- value to be set
-
setObj
Description copied from interface:StoreReference
Contains the representation of the expanded Store. Only present in responses to requests with Reference Expansion for Stores.
- Specified by:
setObj
in interfaceStoreReference
- Parameters:
obj
- value to be set
-
equals
-
hashCode
public int hashCode()
-