Constructor and Description |
---|
OTEntityImpl(int entityId,
T entity) |
Modifier and Type | Method and Description |
---|---|
void |
decrementRevisionCounter() |
int |
getId() |
int |
getRevision() |
T |
getState() |
TransactionLog |
getTransactionLog() |
void |
incrementRevision() |
void |
resetRevisionCounterTo(int revision) |
void |
setRevision(int revision) |
String |
toString() |
public OTEntityImpl(int entityId, T entity)
public int getRevision()
getRevision
in interface OTEntity<T extends State>
public void setRevision(int revision)
setRevision
in interface OTEntity<T extends State>
public void resetRevisionCounterTo(int revision)
resetRevisionCounterTo
in interface OTEntity<T extends State>
public void incrementRevision()
incrementRevision
in interface OTEntity<T extends State>
public void decrementRevisionCounter()
decrementRevisionCounter
in interface OTEntity<T extends State>
public TransactionLog getTransactionLog()
getTransactionLog
in interface OTEntity<T extends State>
Copyright © 2013-2015 JBoss, a division of Red Hat. All Rights Reserved.