Class ZoneReferenceImpl
java.lang.Object
com.commercetools.api.models.zone.ZoneReferenceImpl
- All Implemented Interfaces:
Reference
,ReferenceMixin
,Identifiable<Zone>
,IdentifiableObjHolder<Zone>
,ZoneReference
,io.vrap.rmf.base.client.ModelBase
public class ZoneReferenceImpl
extends Object
implements ZoneReference, io.vrap.rmf.base.client.ModelBase
Reference to a Zone.
-
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.zone.ZoneReference
ZONE
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
getId()
Unique identifier of the referenced Zone.getObj()
Contains the representation of the expanded Zone.Type of referenced resource.int
hashCode()
void
Unique identifier of the referenced Zone.void
Contains the representation of the expanded Zone.toString()
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.zone.ZoneReference
withZoneReference
-
Constructor Details
-
ZoneReferenceImpl
public ZoneReferenceImpl()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 Zone.
- Specified by:
getId
in interfaceIdentifiable<Zone>
- Specified by:
getId
in interfaceReference
- Specified by:
getId
in interfaceReferenceMixin
- Specified by:
getId
in interfaceZoneReference
- Returns:
- id
-
getObj
Contains the representation of the expanded Zone. Only present in responses to requests with Reference Expansion for Zones.
- Specified by:
getObj
in interfaceIdentifiableObjHolder<Zone>
- Specified by:
getObj
in interfaceZoneReference
- Returns:
- obj
-
setId
Description copied from interface:ZoneReference
Unique identifier of the referenced Zone.
- Specified by:
setId
in interfaceReference
- Specified by:
setId
in interfaceZoneReference
- Parameters:
id
- value to be set
-
setObj
Description copied from interface:ZoneReference
Contains the representation of the expanded Zone. Only present in responses to requests with Reference Expansion for Zones.
- Specified by:
setObj
in interfaceZoneReference
- Parameters:
obj
- value to be set
-
equals
-
hashCode
public int hashCode() -
toString
-