public abstract class AbstractEntity extends Object implements Entity, HasRevision
Entity implementations.| Modifier and Type | Field and Description |
|---|---|
protected String |
id |
protected boolean |
isDeleted |
protected boolean |
isInserted |
protected boolean |
isUpdated |
protected Object |
originalPersistentState |
protected int |
revision |
| Constructor and Description |
|---|
AbstractEntity() |
| Modifier and Type | Method and Description |
|---|---|
String |
getId() |
Object |
getOriginalPersistentState() |
int |
getRevision() |
int |
getRevisionNext() |
boolean |
isDeleted() |
boolean |
isInserted() |
boolean |
isUpdated() |
void |
setDeleted(boolean isDeleted) |
void |
setId(String id) |
void |
setInserted(boolean isInserted) |
void |
setOriginalPersistentState(Object persistentState) |
void |
setRevision(int revision) |
void |
setUpdated(boolean isUpdated) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetIdPrefix, getPersistentStateprotected String id
protected int revision
protected boolean isInserted
protected boolean isUpdated
protected boolean isDeleted
protected Object originalPersistentState
public int getRevisionNext()
getRevisionNext in interface HasRevisionpublic int getRevision()
getRevision in interface HasRevisionpublic void setRevision(int revision)
setRevision in interface HasRevisionpublic boolean isInserted()
isInserted in interface Entitypublic void setInserted(boolean isInserted)
setInserted in interface Entitypublic void setUpdated(boolean isUpdated)
setUpdated in interface Entitypublic void setDeleted(boolean isDeleted)
setDeleted in interface Entitypublic Object getOriginalPersistentState()
getOriginalPersistentState in interface Entitypublic void setOriginalPersistentState(Object persistentState)
setOriginalPersistentState in interface EntityCopyright © 2019 Flowable. All rights reserved.