org.ow2.dragon.persistence.bo.administration
Class User
java.lang.Object
org.ow2.dragon.persistence.bo.common.BaseObject
org.ow2.dragon.persistence.bo.common.NonSearchableBaseObject
org.ow2.dragon.persistence.bo.administration.User
- All Implemented Interfaces:
- java.io.Serializable
public class User
- extends NonSearchableBaseObject
- See Also:
- Serialized Form
|
Constructor Summary |
User()
|
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
User
public User()
getName
public java.lang.String getName()
setName
public void setName(java.lang.String name)
getPassword
public java.lang.String getPassword()
setPassword
public void setPassword(java.lang.String password)
getListRoleGroup
public java.util.List<RoleGroup> getListRoleGroup()
setListRoleGroup
public void setListRoleGroup(java.util.List<RoleGroup> listRoleGroup)
getPerson
public Person getPerson()
setPerson
public void setPerson(Person person)
addRoleGroup
public void addRoleGroup(RoleGroup roleGroup)
removeRoleGroup
public void removeRoleGroup(RoleGroup roleGroup)
equals
public boolean equals(java.lang.Object other)
- Description copied from class:
BaseObject
- Compares object equality. When using Hibernate, the primary key should
not be a part of this comparison.
- Specified by:
equals in class BaseObject
- Parameters:
other - object to compare to
- Returns:
- true/false based on equality tests
hashCode
public int hashCode()
- Description copied from class:
BaseObject
- When you override equals, you should override hashCode. See "Why are
equals() and hashCode() importation" for more information:
http://www.hibernate.org/109.html
- Specified by:
hashCode in class BaseObject
- Returns:
- hashCode
toString
public java.lang.String toString()
- Description copied from class:
BaseObject
- Returns a multi-line String with key=value pairs.
- Overrides:
toString in class NonSearchableBaseObject
- Returns:
- a String representation of this class.
- See Also:
Object.toString()
Copyright © 2008-2010 eBMWebsourcing. All Rights Reserved.