站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > JBoss Seam 1.2.0 patch1 API 英文版文档

Entity (JBoss Seam API Documentation) - JBoss Seam 1.2.0 patch1 API 英文版文档


org.jboss.seam
Class Entity

java.lang.Object
  extended by org.jboss.seam.Model
      extended by 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

Constructor Summary
Entity(Class<?> beanClass)
           
 
Method Summary
static Entity forClass(Class clazz)
           
 Object getIdentifier(Object entity)
           
 Field getIdentifierField()
           
 Method getIdentifierGetter()
           
 Method getPostLoadMethod()
           
 Method getPrePersistMethod()
           
 Method getPreRemoveMethod()
           
 Method getPreUpdateMethod()
           
 
Methods inherited from class org.jboss.seam.Model
getBeanClass, getValidator
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Entity

public Entity(Class<?> beanClass)
Method Detail

getPostLoadMethod

public Method getPostLoadMethod()

getPrePersistMethod

public Method getPrePersistMethod()

getPreRemoveMethod

public Method getPreRemoveMethod()

getPreUpdateMethod

public Method getPreUpdateMethod()

getIdentifierField

public Field getIdentifierField()

getIdentifierGetter

public Method getIdentifierGetter()

getIdentifier

public Object getIdentifier(Object entity)

forClass

public static Entity forClass(Class clazz)