Class AttributeGroupDraftImpl
java.lang.Object
com.commercetools.api.models.attribute_group.AttributeGroupDraftImpl
- All Implemented Interfaces:
AttributeGroupDraft,WithKey,io.vrap.rmf.base.client.Draft<AttributeGroupDraft>,io.vrap.rmf.base.client.ModelBase
public class AttributeGroupDraftImpl
extends Object
implements AttributeGroupDraft, io.vrap.rmf.base.client.ModelBase
AttributeGroupDraft
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.vrap.rmf.base.client.ModelBase
io.vrap.rmf.base.client.ModelBase.FilteredRecursiveToStringStyle -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncopyDeep()booleanAttributes with unique values.Description of the AttributeGroup.getKey()User-defined unique identifier for the AttributeGroup.getName()Name of the AttributeGroup.inthashCode()voidsetAttributes(AttributeReference... attributes) Attributes with unique values.voidsetAttributes(List<AttributeReference> attributes) Attributes with unique values.voidsetDescription(LocalizedString description) Description of the AttributeGroup.voidUser-defined unique identifier for the AttributeGroup.voidsetName(LocalizedString name) Name of the AttributeGroup.toString()Methods inherited from interface com.commercetools.api.models.attribute_group.AttributeGroupDraft
withAttributeGroupDraftMethods inherited from interface io.vrap.rmf.base.client.ModelBase
reflectionString, reflectionString
-
Constructor Details
-
AttributeGroupDraftImpl
public AttributeGroupDraftImpl()create empty instance
-
-
Method Details
-
getName
Name of the AttributeGroup.
- Specified by:
getNamein interfaceAttributeGroupDraft- Returns:
- name
-
getDescription
Description of the AttributeGroup.
- Specified by:
getDescriptionin interfaceAttributeGroupDraft- Returns:
- description
-
getAttributes
Attributes with unique values.
- Specified by:
getAttributesin interfaceAttributeGroupDraft- Returns:
- attributes
-
getKey
User-defined unique identifier for the AttributeGroup.
- Specified by:
getKeyin interfaceAttributeGroupDraft- Specified by:
getKeyin interfaceWithKey- Returns:
- key
-
setName
Description copied from interface:AttributeGroupDraftName of the AttributeGroup.
- Specified by:
setNamein interfaceAttributeGroupDraft- Parameters:
name- value to be set
-
setDescription
Description copied from interface:AttributeGroupDraftDescription of the AttributeGroup.
- Specified by:
setDescriptionin interfaceAttributeGroupDraft- Parameters:
description- value to be set
-
setAttributes
Description copied from interface:AttributeGroupDraftAttributes with unique values.
- Specified by:
setAttributesin interfaceAttributeGroupDraft- Parameters:
attributes- values to be set
-
setAttributes
Description copied from interface:AttributeGroupDraftAttributes with unique values.
- Specified by:
setAttributesin interfaceAttributeGroupDraft- Parameters:
attributes- values to be set
-
setKey
Description copied from interface:AttributeGroupDraftUser-defined unique identifier for the AttributeGroup.
- Specified by:
setKeyin interfaceAttributeGroupDraft- Parameters:
key- value to be set
-
equals
-
hashCode
public int hashCode() -
toString
-
copyDeep
- Specified by:
copyDeepin interfaceAttributeGroupDraft
-