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