public class Work<T> extends Object
Constructor and Description |
---|
Work(Class<T> entityType,
Serializable id,
WorkType type) |
Work(T entity,
Serializable id,
WorkType type) |
Work(T entity,
Serializable id,
WorkType type,
boolean identifierRollbackEnabled) |
Work(T entity,
WorkType type) |
Modifier and Type | Method and Description |
---|---|
T |
getEntity() |
Class<T> |
getEntityClass() |
Serializable |
getId() |
WorkType |
getType() |
boolean |
isIdentifierWasRolledBack() |
String |
toString() |
public Work(T entity, Serializable id, WorkType type)
public Work(T entity, Serializable id, WorkType type, boolean identifierRollbackEnabled)
public Work(Class<T> entityType, Serializable id, WorkType type)
Copyright © 2006-2014 Red Hat, Inc. All Rights Reserved