org.jboss.seam
Class Entity
java.lang.Object
org.jboss.seam.Model
org.jboss.seam.Entity
public class Entity
- extends Model
Metamodel class for entity classes.
A class will be identified as an entity class
if it has an @Entity annotation.
- Author:
- Gavin King
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Entity
public Entity(Class<?> beanClass)
getPostLoadMethod
public Method getPostLoadMethod()
getPrePersistMethod
public Method getPrePersistMethod()
getPreRemoveMethod
public Method getPreRemoveMethod()
getPreUpdateMethod
public Method getPreUpdateMethod()
getIdentifierField
public Field getIdentifierField()
getIdentifierGetter
public Method getIdentifierGetter()
getVersionField
public Field getVersionField()
getVersionGetter
public Method getVersionGetter()
getIdentifier
public Object getIdentifier(Object entity)
getVersion
public Object getVersion(Object entity)
getName
public String getName()
forClass
public static Entity forClass(Class clazz)