Class AccountPermissionRef
- java.lang.Object
 - 
- com.broadleafcommerce.customer.domain.AccountPermissionRef
 
 
- 
- All Implemented Interfaces:
 Serializable
public class AccountPermissionRef extends Object implements Serializable
Specific messaging contract for permission references by entities.- Author:
 - Chris Kittrell (ckittrell)
 - See Also:
 - Serialized Form
 
 
- 
- 
Constructor Summary
Constructors Constructor Description AccountPermissionRef() 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected booleancanEqual(Object other)booleanequals(Object o)AccountPermissionReffromAccountPermission(AccountPermission accountPermission)Builds anAccountPermissionRefbased on the providedAccountPermissionStringgetId()StringgetName()inthashCode()voidsetId(String id)voidsetName(String name)StringtoString() 
 - 
 
- 
- 
Method Detail
- 
fromAccountPermission
public AccountPermissionRef fromAccountPermission(AccountPermission accountPermission)
Builds anAccountPermissionRefbased on the providedAccountPermission- Parameters:
 accountPermission- the AccountPermission used to build the AccountPermissionRef- Returns:
 - an AccountPermissionRef based on the provided AccountPermission
 
 
- 
getId
public String getId()
- See Also:
 AccountPermission.getId()
 
- 
getName
public String getName()
- See Also:
 AccountPermission.getName()
 
- 
setId
public void setId(String id)
- See Also:
 AccountPermission.getId()
 
- 
setName
public void setName(String name)
- See Also:
 AccountPermission.getName()
 
- 
canEqual
protected boolean canEqual(Object other)
 
 - 
 
 -