org.tolven.core.entity
Class AccountRole
java.lang.Object
org.tolven.core.entity.AccountRole
- All Implemented Interfaces:
- java.io.Serializable
public class AccountRole
- extends java.lang.Object
- implements java.io.Serializable
A list of possible roles for an account
- Author:
- John Churin
- See Also:
- Serialized Form
| Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, wait, wait, wait |
AccountRole
public AccountRole()
getAccount
public Account getAccount()
setAccount
public void setAccount(Account account)
getRole
public java.lang.String getRole()
setRole
public void setRole(java.lang.String role)
getTitle
public java.lang.String getTitle()
setTitle
public void setTitle(java.lang.String title)
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals in class java.lang.Object
toString
public java.lang.String toString()
- Overrides:
toString in class java.lang.Object
hashCode
public int hashCode()
- Overrides:
hashCode in class java.lang.Object
getId
public long getId()
setId
public void setId(long id)