Class AccountRoleRef
- java.lang.Object
-
- com.broadleafcommerce.customer.domain.AccountRoleRef
-
- All Implemented Interfaces:
Serializable
public class AccountRoleRef extends Object implements Serializable
Specific messaging contract for role references by entities.- Author:
- Samarth Dhruva (samarthd)
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description AccountRoleRef()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected booleancanEqual(Object other)booleanequals(Object o)AccountRoleReffromAccountRole(AccountRole accountRole)Builds anAccountRoleRefbased on the providedAccountRoleStringgetId()StringgetName()inthashCode()voidsetId(String id)voidsetName(String name)StringtoString()
-
-
-
Method Detail
-
fromAccountRole
public AccountRoleRef fromAccountRole(AccountRole accountRole)
Builds anAccountRoleRefbased on the providedAccountRole- Parameters:
accountRole- the AccountRole used to build the AccountRoleRef- Returns:
- an AccountRoleRef based on the provided AccountRole
-
getId
public String getId()
- See Also:
AccountRole.getId()
-
getName
public String getName()
- See Also:
AccountRole.getName()
-
setId
public void setId(String id)
- See Also:
AccountRole.getId()
-
setName
public void setName(String name)
- See Also:
AccountRole.getName()
-
canEqual
protected boolean canEqual(Object other)
-
-