org.ow2.dragon.persistence.bo.administration
Class RoleGroup

java.lang.Object
  extended by org.ow2.dragon.persistence.bo.common.BaseObject
      extended by org.ow2.dragon.persistence.bo.common.NonSearchableBaseObject
          extended by org.ow2.dragon.persistence.bo.administration.RoleGroup
All Implemented Interfaces:
java.io.Serializable

public class RoleGroup
extends NonSearchableBaseObject

See Also:
Serialized Form

Constructor Summary
RoleGroup()
           
 
Method Summary
 void addRole(Role role)
           
 void addUser(User user)
           
 boolean equals(java.lang.Object other)
          Compares object equality.
 java.util.List<Role> getListRoles()
           
 java.util.List<User> getListUser()
           
 java.lang.String getName()
           
 int hashCode()
          When you override equals, you should override hashCode.
 void removeRole(Role role)
           
 void removeUser(User user)
           
 void setListRoles(java.util.List<Role> listRoles)
           
 void setListUser(java.util.List<User> listUser)
           
 void setName(java.lang.String name)
           
 java.lang.String toString()
          Returns a multi-line String with key=value pairs.
 
Methods inherited from class org.ow2.dragon.persistence.bo.common.NonSearchableBaseObject
getId, setId
 
Methods inherited from class org.ow2.dragon.persistence.bo.common.BaseObject
getCreated, getLastUpdated, setCreated, setLastUpdated
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

RoleGroup

public RoleGroup()
Method Detail

getName

public java.lang.String getName()

setName

public void setName(java.lang.String name)

getListRoles

public java.util.List<Role> getListRoles()

setListRoles

public void setListRoles(java.util.List<Role> listRoles)

getListUser

public java.util.List<User> getListUser()

setListUser

public void setListUser(java.util.List<User> listUser)

addRole

public void addRole(Role role)

removeRole

public void removeRole(Role role)

addUser

public void addUser(User user)

removeUser

public void removeUser(User user)

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.