com.elasticpath.domain.customer.impl
Class CustomerGroupImpl

java.lang.Object
  extended by com.elasticpath.domain.impl.AbstractEpDomainImpl
      extended by com.elasticpath.domain.impl.AbstractPersistenceImpl
          extended by com.elasticpath.domain.impl.AbstractEntityImpl
              extended by com.elasticpath.domain.customer.impl.CustomerGroupImpl
All Implemented Interfaces:
CustomerGroup, Entity, EpDomain, Persistence, java.io.Serializable

public class CustomerGroupImpl
extends AbstractEntityImpl
implements CustomerGroup

The default implementation of CustomerGroup.

See Also:
Serialized Form

Field Summary
static long serialVersionUID
          Serial version id.
 
Fields inherited from interface com.elasticpath.domain.customer.CustomerGroup
DEFAULT_GROUP_NAME
 
Constructor Summary
CustomerGroupImpl()
           
 
Method Summary
 java.util.Set getCustomerRoles()
          Gets the CustomerRoles associated with customers in this CustomerGroup.
 java.lang.String getName()
          Gets the name for this CustomerGroup.
 void setCustomerRoles(java.util.Set customerRoles)
          Sets the CustomerRoles associated with customers in this CustomerGroup.
 void setName(java.lang.String name)
          Sets the name for this CustomerGroup.
 
Methods inherited from class com.elasticpath.domain.impl.AbstractEntityImpl
convertAttributeGroupAttributes, getGuid, setDefaultValues, setGuid
 
Methods inherited from class com.elasticpath.domain.impl.AbstractPersistenceImpl
executeBeforePersistAction, getUidPk, isPersistent, 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.Entity
getGuid, setGuid
 
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

CustomerGroupImpl

public CustomerGroupImpl()
Method Detail

getCustomerRoles

public java.util.Set getCustomerRoles()
Gets the CustomerRoles associated with customers in this CustomerGroup.

Specified by:
getCustomerRoles in interface CustomerGroup
Returns:
the set of customerRoles.ROLE_CUSTOMER

getName

public java.lang.String getName()
Gets the name for this CustomerGroup.

Specified by:
getName in interface CustomerGroup
Returns:
the name of the customer group.

setCustomerRoles

public void setCustomerRoles(java.util.Set customerRoles)
Sets the CustomerRoles associated with customers in this CustomerGroup.

Specified by:
setCustomerRoles in interface CustomerGroup
Parameters:
customerRoles - the new set of customerRoles.

setName

public void setName(java.lang.String name)
Sets the name for this CustomerGroup.

Specified by:
setName in interface CustomerGroup
Parameters:
name - the new user identifier.