org.hibernate.search.backend
Class Work<T>
java.lang.Object
org.hibernate.search.backend.Work<T>
public class Work<T>
- extends Object
A unit of work. Only make sense inside the same session since it uses the scope principle.
- Author:
- Emmanuel Bernard
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Work
public Work(T entity,
Serializable id,
WorkType type)
Work
public Work(Class<T> entityType,
Serializable id,
WorkType type)
Work
public Work(T entity,
org.hibernate.annotations.common.reflection.XMember idGetter,
WorkType type)
getEntityClass
public Class<T> getEntityClass()
getEntity
public T getEntity()
getId
public Serializable getId()
getIdGetter
public org.hibernate.annotations.common.reflection.XMember getIdGetter()
getType
public WorkType getType()