Class AttributeGroupReferenceImpl
java.lang.Object
com.commercetools.api.models.attribute_group.AttributeGroupReferenceImpl
- All Implemented Interfaces:
AttributeGroupReference
,Reference
,ReferenceMixin
,Identifiable<AttributeGroup>
,IdentifiableObjHolder<AttributeGroup>
,io.vrap.rmf.base.client.ModelBase
public class AttributeGroupReferenceImpl
extends Object
implements AttributeGroupReference, io.vrap.rmf.base.client.ModelBase
Reference to an AttributeGroup.
-
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.attribute_group.AttributeGroupReference
ATTRIBUTE_GROUP
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
getId()
Platform-generated unique identifier of the referenced AttributeGroup.getObj()
Contains the representation of the expanded AttributeGroup.Type of referenced resource.int
hashCode()
void
Platform-generated unique identifier of the referenced AttributeGroup.void
setObj
(AttributeGroup obj) Contains the representation of the expanded AttributeGroup.toString()
Methods inherited from interface com.commercetools.api.models.attribute_group.AttributeGroupReference
withAttributeGroupReference
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
-
AttributeGroupReferenceImpl
public AttributeGroupReferenceImpl()create empty instance
-
-
Method Details
-
getTypeId
Type of referenced resource.
- Specified by:
getTypeId
in interfaceReference
- Specified by:
getTypeId
in interfaceReferenceMixin
- Returns:
- typeId
-
getId
Platform-generated unique identifier of the referenced AttributeGroup.
- Specified by:
getId
in interfaceAttributeGroupReference
- Specified by:
getId
in interfaceIdentifiable<AttributeGroup>
- Specified by:
getId
in interfaceReference
- Specified by:
getId
in interfaceReferenceMixin
- Returns:
- id
-
getObj
Contains the representation of the expanded AttributeGroup. Only present in responses to requests with Reference Expansion for AttributeGroup.
- Specified by:
getObj
in interfaceAttributeGroupReference
- Specified by:
getObj
in interfaceIdentifiableObjHolder<AttributeGroup>
- Returns:
- obj
-
setId
Description copied from interface:AttributeGroupReference
Platform-generated unique identifier of the referenced AttributeGroup.
- Specified by:
setId
in interfaceAttributeGroupReference
- Specified by:
setId
in interfaceReference
- Parameters:
id
- value to be set
-
setObj
Description copied from interface:AttributeGroupReference
Contains the representation of the expanded AttributeGroup. Only present in responses to requests with Reference Expansion for AttributeGroup.
- Specified by:
setObj
in interfaceAttributeGroupReference
- Parameters:
obj
- value to be set
-
equals
-
hashCode
public int hashCode() -
toString
-