com.elasticpath.domain.customer.impl
Class CustomerGroupImpl
java.lang.Object
com.elasticpath.domain.impl.AbstractEpDomainImpl
com.elasticpath.domain.impl.AbstractPersistenceImpl
com.elasticpath.domain.impl.AbstractEntityImpl
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
|
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 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
CustomerGroupImpl
public CustomerGroupImpl()
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.