Class AttributeGroupResourceIdentifierImpl
java.lang.Object
com.commercetools.api.models.attribute_group.AttributeGroupResourceIdentifierImpl
- All Implemented Interfaces:
AttributeGroupResourceIdentifier
,ResourceIdentifier
,Identifiable<AttributeGroup>
,WithKey
,io.vrap.rmf.base.client.ModelBase
public class AttributeGroupResourceIdentifierImpl
extends Object
implements AttributeGroupResourceIdentifier, io.vrap.rmf.base.client.ModelBase
ResourceIdentifier 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.AttributeGroupResourceIdentifier
ATTRIBUTE_GROUP
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
getId()
Platform-generated unique identifier of the referenced AttributeGroup.getKey()
User-generated unique identifier of the referenced AttributeGroup.Type of referenced resource.int
hashCode()
void
Platform-generated unique identifier of the referenced AttributeGroup.void
User-generated unique identifier of the referenced AttributeGroup.Methods inherited from class java.lang.Object
getClass, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.commercetools.api.models.attribute_group.AttributeGroupResourceIdentifier
withAttributeGroupResourceIdentifier
Methods inherited from interface io.vrap.rmf.base.client.ModelBase
reflectionString, reflectionString
Methods inherited from interface com.commercetools.api.models.common.ResourceIdentifier
withResourceIdentifier
-
Constructor Details
-
AttributeGroupResourceIdentifierImpl
public AttributeGroupResourceIdentifierImpl()create empty instance
-
-
Method Details
-
getTypeId
Type of referenced resource. If given, it must match the expected ReferenceTypeId of the referenced resource.
- Specified by:
getTypeId
in interfaceResourceIdentifier
- Returns:
- typeId
-
getId
Platform-generated unique identifier of the referenced AttributeGroup. Either
id
orkey
is required.- Specified by:
getId
in interfaceAttributeGroupResourceIdentifier
- Specified by:
getId
in interfaceIdentifiable<AttributeGroup>
- Specified by:
getId
in interfaceResourceIdentifier
- Returns:
- id
-
getKey
User-generated unique identifier of the referenced AttributeGroup. Either
id
orkey
is required.- Specified by:
getKey
in interfaceAttributeGroupResourceIdentifier
- Specified by:
getKey
in interfaceResourceIdentifier
- Specified by:
getKey
in interfaceWithKey
- Returns:
- key
-
setId
Description copied from interface:AttributeGroupResourceIdentifier
Platform-generated unique identifier of the referenced AttributeGroup. Either
id
orkey
is required.- Specified by:
setId
in interfaceAttributeGroupResourceIdentifier
- Specified by:
setId
in interfaceResourceIdentifier
- Parameters:
id
- value to be set
-
setKey
Description copied from interface:AttributeGroupResourceIdentifier
User-generated unique identifier of the referenced AttributeGroup. Either
id
orkey
is required.- Specified by:
setKey
in interfaceAttributeGroupResourceIdentifier
- Specified by:
setKey
in interfaceResourceIdentifier
- Parameters:
key
- value to be set
-
equals
-
hashCode
public int hashCode()
-