com.elasticpath.domain.attribute.impl
Class AttributeGroupImpl
java.lang.Object
com.elasticpath.domain.impl.AbstractEpDomainImpl
com.elasticpath.domain.impl.AbstractPersistenceImpl
com.elasticpath.domain.impl.AbstractValueObjectImpl
com.elasticpath.domain.attribute.impl.AttributeGroupImpl
- All Implemented Interfaces:
- AttributeGroup, EpDomain, Persistence, ValueObject, java.io.Serializable
public class AttributeGroupImpl
- extends AbstractValueObjectImpl
- implements AttributeGroup
Represents a default implementation of AttributeGroup
.
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
serialVersionUID
public static final long serialVersionUID
- Serial version id.
- See Also:
- Constant Field Values
AttributeGroupImpl
public AttributeGroupImpl()
addAttributeGroupAttribute
public void addAttributeGroupAttribute(AttributeGroupAttribute attributeGroupAttribute)
- Add an attribute to belong to this product type.
- Specified by:
addAttributeGroupAttribute
in interface AttributeGroup
- Parameters:
attributeGroupAttribute
- the product type attribute to add.
getAttributeGroupAttributes
public java.util.Set getAttributeGroupAttributes()
- Get the set of attributes associated with this product type.
- Specified by:
getAttributeGroupAttributes
in interface AttributeGroup
- Returns:
- the set of attributes
getRemovedAttributes
public 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.
- Specified by:
getRemovedAttributes
in interface AttributeGroup
- Parameters:
before
- attributeGroupAttribute set before an update.
- Returns:
- set of attributes that have been deleted.
setAttributeGroupAttributes
public void setAttributeGroupAttributes(java.util.Set attributes)
- Set the set of attributes associated with this product type.
- Specified by:
setAttributeGroupAttributes
in interface AttributeGroup
- Parameters:
attributes
- the attributes to set