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 boolean
canEqual(Object other)
boolean
equals(Object o)
AccountRoleRef
fromAccountRole(AccountRole accountRole)
Builds anAccountRoleRef
based on the providedAccountRole
String
getId()
String
getName()
int
hashCode()
void
setId(String id)
void
setName(String name)
String
toString()
-
-
-
Method Detail
-
fromAccountRole
public AccountRoleRef fromAccountRole(AccountRole accountRole)
Builds anAccountRoleRef
based 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)
-
-