org.norther.tammi.root.realm
Class PersistentUserRole.Id

java.lang.Object
  extended by org.norther.tammi.root.realm.PersistentUserRole.Id
All Implemented Interfaces:
Serializable
Enclosing class:
PersistentUserRole

public static class PersistentUserRole.Id
extends Object
implements Serializable

An inner class for a composite id.

See Also:
Serialized Form

Constructor Summary
PersistentUserRole.Id()
          Constructs a new id.
 
Method Summary
 boolean equals(Object other)
           
 Object getRoleId()
          Gets the role id.
 Object getUserId()
          Gets the user id.
 int hashCode()
           
 void setRoleId(Object id)
          Sets the role id.
 void setUserId(Object id)
          Sets the user id.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PersistentUserRole.Id

public PersistentUserRole.Id()
Constructs a new id.

Method Detail

equals

public boolean equals(Object other)
Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object

getUserId

public Object getUserId()
Gets the user id.

Returns:
the user id.

setUserId

public void setUserId(Object id)
Sets the user id.

Parameters:
id - the user id.

getRoleId

public Object getRoleId()
Gets the role id.

Returns:
the role id.

setRoleId

public void setRoleId(Object id)
Sets the role id.

Parameters:
id - the role id.


Copyright © 2004 The Norther Organization. All rights reserved.