org.jboss.seam.framework
Class Identifier<T>

java.lang.Object
  extended by org.jboss.seam.framework.Identifier<T>
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
EntityIdentifier, HibernateEntityIdentifier

public abstract class Identifier<T>
extends Object
implements Serializable

Wrapper class that identifies an entity

Author:
Pete Muir
See Also:
Serialized Form

Constructor Summary
Identifier(Class clazz, Object id)
           
 
Method Summary
 boolean equals(Object other)
           
abstract  Object find(T persistenceContext)
           
 Class getClazz()
           
 Object getId()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Identifier

public Identifier(Class clazz,
                  Object id)
Method Detail

getClazz

public Class getClazz()

getId

public Object getId()

equals

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

find

public abstract Object find(T persistenceContext)