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 boolean
canEqual(Object other)
boolean
equals(Object o)
AccountPermissionRef
fromAccountPermission(AccountPermission accountPermission)
Builds anAccountPermissionRef
based on the providedAccountPermission
String
getId()
String
getName()
int
hashCode()
void
setId(String id)
void
setName(String name)
String
toString()
-
-
-
Method Detail
-
fromAccountPermission
public AccountPermissionRef fromAccountPermission(AccountPermission accountPermission)
Builds anAccountPermissionRef
based 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)
-
-