|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.openjpa.kernel.Audited
public final class Audited
Carries immutable information about an audited persistent instance.
Constructor Summary | |
---|---|
Audited(StateManagerImpl sm,
PersistenceCapable o)
Supply a state manager and a transient copy. |
Method Summary | |
---|---|
Object |
getManagedObject()
Gets the current state of the persistent instance. |
Object |
getOriginalObject()
Gets the original state of the persistent instance as a transient instance. |
AuditableOperation |
getType()
Gets the type of this audit. |
String[] |
getUpdatedFields()
Gets the name of the updated fields. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
Audited(StateManagerImpl sm, PersistenceCapable o)
sm
- a state manager, must not be null.o
- the transient copyMethod Detail |
---|
public Object getManagedObject()
public Object getOriginalObject()
public String[] getUpdatedFields()
public AuditableOperation getType()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |