org.tolven.core.entity
Class AccountRole

java.lang.Object
  extended by 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

Constructor Summary
AccountRole()
           
 
Method Summary
 boolean equals(java.lang.Object obj)
           
 Account getAccount()
           
 long getId()
           
 java.lang.String getRole()
           
 java.lang.String getTitle()
           
 int hashCode()
           
 void setAccount(Account account)
           
 void setId(long id)
           
 void setRole(java.lang.String role)
           
 void setTitle(java.lang.String title)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AccountRole

public AccountRole()
Method Detail

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)