Class AttributeGroupImpl
- All Implemented Interfaces:
AttributeGroup
,BaseResource
,DomainResource<AttributeGroup>
,Identifiable<AttributeGroup>
,Versioned<AttributeGroup>
,WithKey
,io.vrap.rmf.base.client.ModelBase
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.vrap.rmf.base.client.ModelBase
io.vrap.rmf.base.client.ModelBase.FilteredRecursiveToStringStyle
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
Attributes with unique values.Date and time (UTC) the AttributeGroup was initially created.Present on resources created after 1 February 2019 except for events not tracked.Description of the AttributeGroup.getId()
Platform-generated unique identifier of the AttributeGroup.getKey()
User-defined unique identifier of the AttributeGroup.Date and time (UTC) the AttributeGroup was last updated.Present on resources created after 1 February 2019 except for events not tracked.getName()
Name of the AttributeGroup.Current version of the AttributeGroup.int
hashCode()
void
setAttributes
(AttributeReference... attributes) Attributes with unique values.void
setAttributes
(List<AttributeReference> attributes) Attributes with unique values.void
setCreatedAt
(ZonedDateTime createdAt) Date and time (UTC) the AttributeGroup was initially created.void
setCreatedBy
(CreatedBy createdBy) Present on resources created after 1 February 2019 except for events not tracked.void
setDescription
(LocalizedString description) Description of the AttributeGroup.void
Platform-generated unique identifier of the AttributeGroup.void
User-defined unique identifier of the AttributeGroup.void
setLastModifiedAt
(ZonedDateTime lastModifiedAt) Date and time (UTC) the AttributeGroup was last updated.void
setLastModifiedBy
(LastModifiedBy lastModifiedBy) Present on resources created after 1 February 2019 except for events not tracked.void
setName
(LocalizedString name) Name of the AttributeGroup.void
setVersion
(Long version) Current version of the 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.AttributeGroup
withAttributeGroup
Methods inherited from interface com.commercetools.api.models.common.BaseResource
withBaseResource
Methods inherited from interface com.commercetools.api.models.DomainResource
get
Methods inherited from interface io.vrap.rmf.base.client.ModelBase
reflectionString, reflectionString
-
Constructor Details
-
AttributeGroupImpl
public AttributeGroupImpl()create empty instance
-
-
Method Details
-
getId
Platform-generated unique identifier of the AttributeGroup.
- Specified by:
getId
in interfaceAttributeGroup
- Specified by:
getId
in interfaceBaseResource
- Specified by:
getId
in interfaceDomainResource<AttributeGroup>
- Specified by:
getId
in interfaceIdentifiable<AttributeGroup>
- Specified by:
getId
in interfaceVersioned<AttributeGroup>
- Returns:
- id
-
getVersion
Current version of the AttributeGroup.
- Specified by:
getVersion
in interfaceAttributeGroup
- Specified by:
getVersion
in interfaceBaseResource
- Specified by:
getVersion
in interfaceDomainResource<AttributeGroup>
- Specified by:
getVersion
in interfaceVersioned<AttributeGroup>
- Returns:
- version
-
getCreatedAt
Date and time (UTC) the AttributeGroup was initially created.
- Specified by:
getCreatedAt
in interfaceAttributeGroup
- Specified by:
getCreatedAt
in interfaceBaseResource
- Returns:
- createdAt
-
getLastModifiedAt
Date and time (UTC) the AttributeGroup was last updated.
- Specified by:
getLastModifiedAt
in interfaceAttributeGroup
- Specified by:
getLastModifiedAt
in interfaceBaseResource
- Returns:
- lastModifiedAt
-
getLastModifiedBy
Present on resources created after 1 February 2019 except for events not tracked.
- Specified by:
getLastModifiedBy
in interfaceAttributeGroup
- Returns:
- lastModifiedBy
-
getCreatedBy
Present on resources created after 1 February 2019 except for events not tracked.
- Specified by:
getCreatedBy
in interfaceAttributeGroup
- Returns:
- createdBy
-
getName
Name of the AttributeGroup.
- Specified by:
getName
in interfaceAttributeGroup
- Returns:
- name
-
getDescription
Description of the AttributeGroup.
- Specified by:
getDescription
in interfaceAttributeGroup
- Returns:
- description
-
getAttributes
Attributes with unique values.
- Specified by:
getAttributes
in interfaceAttributeGroup
- Returns:
- attributes
-
getKey
User-defined unique identifier of the AttributeGroup.
- Specified by:
getKey
in interfaceAttributeGroup
- Specified by:
getKey
in interfaceWithKey
- Returns:
- key
-
setId
Description copied from interface:AttributeGroup
Platform-generated unique identifier of the AttributeGroup.
- Specified by:
setId
in interfaceAttributeGroup
- Specified by:
setId
in interfaceBaseResource
- Parameters:
id
- value to be set
-
setVersion
Description copied from interface:AttributeGroup
Current version of the AttributeGroup.
- Specified by:
setVersion
in interfaceAttributeGroup
- Specified by:
setVersion
in interfaceBaseResource
- Parameters:
version
- value to be set
-
setCreatedAt
Description copied from interface:AttributeGroup
Date and time (UTC) the AttributeGroup was initially created.
- Specified by:
setCreatedAt
in interfaceAttributeGroup
- Specified by:
setCreatedAt
in interfaceBaseResource
- Parameters:
createdAt
- value to be set
-
setLastModifiedAt
Description copied from interface:AttributeGroup
Date and time (UTC) the AttributeGroup was last updated.
- Specified by:
setLastModifiedAt
in interfaceAttributeGroup
- Specified by:
setLastModifiedAt
in interfaceBaseResource
- Parameters:
lastModifiedAt
- value to be set
-
setLastModifiedBy
Description copied from interface:AttributeGroup
Present on resources created after 1 February 2019 except for events not tracked.
- Specified by:
setLastModifiedBy
in interfaceAttributeGroup
- Parameters:
lastModifiedBy
- value to be set
-
setCreatedBy
Description copied from interface:AttributeGroup
Present on resources created after 1 February 2019 except for events not tracked.
- Specified by:
setCreatedBy
in interfaceAttributeGroup
- Parameters:
createdBy
- value to be set
-
setName
Description copied from interface:AttributeGroup
Name of the AttributeGroup.
- Specified by:
setName
in interfaceAttributeGroup
- Parameters:
name
- value to be set
-
setDescription
Description copied from interface:AttributeGroup
Description of the AttributeGroup.
- Specified by:
setDescription
in interfaceAttributeGroup
- Parameters:
description
- value to be set
-
setAttributes
Description copied from interface:AttributeGroup
Attributes with unique values.
- Specified by:
setAttributes
in interfaceAttributeGroup
- Parameters:
attributes
- values to be set
-
setAttributes
Description copied from interface:AttributeGroup
Attributes with unique values.
- Specified by:
setAttributes
in interfaceAttributeGroup
- Parameters:
attributes
- values to be set
-
setKey
Description copied from interface:AttributeGroup
User-defined unique identifier of the AttributeGroup.
- Specified by:
setKey
in interfaceAttributeGroup
- Parameters:
key
- value to be set
-
equals
-
hashCode
public int hashCode()
-