Class InventoryEntryReferenceImpl
java.lang.Object
com.commercetools.api.models.inventory.InventoryEntryReferenceImpl
- All Implemented Interfaces:
Reference
,ReferenceMixin
,Identifiable<InventoryEntry>
,InventoryEntryReference
,io.vrap.rmf.base.client.ModelBase
public class InventoryEntryReferenceImpl
extends Object
implements InventoryEntryReference, io.vrap.rmf.base.client.ModelBase
Reference to an InventoryEntry.
-
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.inventory.InventoryEntryReference
INVENTORY_ENTRY
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
getId()
Unique identifier of the referenced InventoryEntry.getObj()
Contains the representation of the expanded InventoryEntry.Type of referenced resource.int
hashCode()
void
Unique identifier of the referenced InventoryEntry.void
setObj
(InventoryEntry obj) Contains the representation of the expanded InventoryEntry.Methods inherited from class java.lang.Object
getClass, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.commercetools.api.models.inventory.InventoryEntryReference
withInventoryEntryReference
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
-
Constructor Details
-
InventoryEntryReferenceImpl
public InventoryEntryReferenceImpl()create empty instance
-
-
Method Details
-
getTypeId
Type of referenced resource.
- Specified by:
getTypeId
in interfaceReference
- Specified by:
getTypeId
in interfaceReferenceMixin
- Returns:
- typeId
-
getId
Unique identifier of the referenced InventoryEntry.
- Specified by:
getId
in interfaceIdentifiable<InventoryEntry>
- Specified by:
getId
in interfaceInventoryEntryReference
- Specified by:
getId
in interfaceReference
- Specified by:
getId
in interfaceReferenceMixin
- Returns:
- id
-
getObj
Contains the representation of the expanded InventoryEntry. Only present in responses to requests with Reference Expansion for InventoryEntries.
- Specified by:
getObj
in interfaceInventoryEntryReference
- Returns:
- obj
-
setId
Description copied from interface:InventoryEntryReference
Unique identifier of the referenced InventoryEntry.
- Specified by:
setId
in interfaceInventoryEntryReference
- Specified by:
setId
in interfaceReference
- Parameters:
id
- value to be set
-
setObj
Description copied from interface:InventoryEntryReference
Contains the representation of the expanded InventoryEntry. Only present in responses to requests with Reference Expansion for InventoryEntries.
- Specified by:
setObj
in interfaceInventoryEntryReference
- Parameters:
obj
- value to be set
-
equals
-
hashCode
public int hashCode()
-