com.elasticpath.domain.attribute
Interface AttributeGroup

All Superinterfaces:
EpDomain, Persistence, java.io.Serializable, ValueObject
All Known Implementing Classes:
AttributeGroupImpl

public interface AttributeGroup
extends ValueObject

Represents a group of attribute. It can be aggregated to a ProductType, or CategoryType, etc.


Method Summary
 void addAttributeGroupAttribute(AttributeGroupAttribute attributeGroupAttribute)
          Add an attribute to belong to this attribute group.
 java.util.Set getAttributeGroupAttributes()
          Get the set of attributes associated with this attribute group.
 java.util.Set getRemovedAttributes(java.util.Set before)
          Compares attribute sets on this and attribute group attribute set before an update and returns a set of attributes that have been deleted.
 void setAttributeGroupAttributes(java.util.Set attributeGroupAttributes)
          Set the set of attributes associated with this attribute group.
 
Methods inherited from interface com.elasticpath.domain.Persistence
executeBeforePersistAction, getUidPk, isPersistent, setDefaultValues, setUidPk
 
Methods inherited from interface com.elasticpath.domain.EpDomain
getElasticPath, setElasticPath
 

Method Detail

addAttributeGroupAttribute

void addAttributeGroupAttribute(AttributeGroupAttribute attributeGroupAttribute)
Add an attribute to belong to this attribute group.

Parameters:
attributeGroupAttribute - the attribute group attribute to add.

getAttributeGroupAttributes

java.util.Set getAttributeGroupAttributes()
Get the set of attributes associated with this attribute group.

Returns:
the set of attributes associated with this product type.

getRemovedAttributes

java.util.Set getRemovedAttributes(java.util.Set before)
Compares attribute sets on this and attribute group attribute set before an update and returns a set of attributes that have been deleted.

Parameters:
before - attributeGroupAttribute set before an update.
Returns:
set of attributes that have been deleted.

setAttributeGroupAttributes

void setAttributeGroupAttributes(java.util.Set attributeGroupAttributes)
Set the set of attributes associated with this attribute group.

Parameters:
attributeGroupAttributes - the attributes to set