info.rolandkrueger.roklib.webapps.data
Class GenericPersistableObject<KeyClass>

java.lang.Object
  extended by info.rolandkrueger.roklib.webapps.data.GenericPersistableObject<KeyClass>
All Implemented Interfaces:
IGenericPersistableObject<KeyClass>, Serializable
Direct Known Subclasses:
GenericUser, UserRole

public class GenericPersistableObject<KeyClass>
extends Object
implements IGenericPersistableObject<KeyClass>

See Also:
Serialized Form

Field Summary
private  KeyClass mKey
           
private static long serialVersionUID
           
 
Constructor Summary
GenericPersistableObject()
           
 
Method Summary
 boolean equals(Object obj)
           
 KeyClass getKey()
           
 int hashCode()
           
 void setKey(KeyClass key)
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

serialVersionUID

private static final long serialVersionUID
See Also:
Constant Field Values

mKey

private KeyClass mKey
Constructor Detail

GenericPersistableObject

public GenericPersistableObject()
Method Detail

getKey

public KeyClass getKey()
Specified by:
getKey in interface IGenericPersistableObject<KeyClass>

setKey

public void setKey(KeyClass key)
Specified by:
setKey in interface IGenericPersistableObject<KeyClass>

equals

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

hashCode

public int hashCode()
Overrides:
hashCode in class Object


Copyright © 2007-2011. All Rights Reserved.