com.elasticpath.domain.attribute.impl
Class AttributeGroupAttributeImpl

java.lang.Object
  extended by com.elasticpath.domain.impl.AbstractEpDomainImpl
      extended by com.elasticpath.domain.impl.AbstractPersistenceImpl
          extended by com.elasticpath.domain.impl.AbstractValueObjectImpl
              extended by com.elasticpath.domain.attribute.impl.AttributeGroupAttributeImpl
All Implemented Interfaces:
AttributeGroupAttribute, EpDomain, Persistence, ValueObject, java.io.Serializable, java.lang.Comparable

public class AttributeGroupAttributeImpl
extends AbstractValueObjectImpl
implements AttributeGroupAttribute

This is a default implementation of AttributeGroupAttribute.

See Also:
Serialized Form

Field Summary
static long serialVersionUID
          Serial version id.
 
Constructor Summary
AttributeGroupAttributeImpl()
           
 
Method Summary
 int compareTo(java.lang.Object object)
          Compares this instance with the given instance for ordering.
 Attribute getAttribute()
          Get the Attribute.
 int getOrdering()
          Get the ordering number.
 void setAttribute(Attribute attribute)
          Set the Attribute.
 void setOrdering(int ordering)
          Set the ordering number.
 
Methods inherited from class com.elasticpath.domain.impl.AbstractPersistenceImpl
executeBeforePersistAction, getUidPk, isPersistent, setDefaultValues, setUidPk
 
Methods inherited from class com.elasticpath.domain.impl.AbstractEpDomainImpl
getElasticPath, setElasticPath
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.elasticpath.domain.Persistence
executeBeforePersistAction, getUidPk, isPersistent, setDefaultValues, setUidPk
 
Methods inherited from interface com.elasticpath.domain.EpDomain
getElasticPath, setElasticPath
 

Field Detail

serialVersionUID

public static final long serialVersionUID
Serial version id.

See Also:
Constant Field Values
Constructor Detail

AttributeGroupAttributeImpl

public AttributeGroupAttributeImpl()
Method Detail

compareTo

public int compareTo(java.lang.Object object)
              throws EpDomainException
Compares this instance with the given instance for ordering.

Specified by:
compareTo in interface java.lang.Comparable
Parameters:
object - the given object
Returns:
a negative integer, zero, or a positive integer if this object is less than, equal to, or greater than the specified object.
Throws:
EpDomainException - if the given object is not a AttributeGroupAttribute

getAttribute

public Attribute getAttribute()
Get the Attribute.

Specified by:
getAttribute in interface AttributeGroupAttribute
Returns:
the Attribute

getOrdering

public int getOrdering()
Get the ordering number.

Specified by:
getOrdering in interface AttributeGroupAttribute
Returns:
the ordering number

setAttribute

public void setAttribute(Attribute attribute)
Set the Attribute.

Specified by:
setAttribute in interface AttributeGroupAttribute
Parameters:
attribute - the Attribute to set

setOrdering

public void setOrdering(int ordering)
Set the ordering number.

Specified by:
setOrdering in interface AttributeGroupAttribute
Parameters:
ordering - the ordering number