|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.openjpa.kernel.Audited
public final class Audited
Carries immutable information about an audited persistent instance.
| Method Summary | |
|---|---|
Object |
getManagedObject()
Gets the current state of the persistent instance. |
Object |
getManangedFieldValue(String field)
Gets the value of the given field of the managed object. |
Object |
getOriginalFieldValue(String field)
Gets the value of the given field of the original state of the object. |
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 |
| Method Detail |
|---|
public Object getManagedObject()
public Object getOriginalObject()
public String[] getUpdatedFields()
public Object getManangedFieldValue(String field)
field - name of a persistent property
IllegalArgumentException - if the named field is not a persistent propertypublic Object getOriginalFieldValue(String field)
field - name of a persistent property
IllegalArgumentException - if the named field is not a persistent propertypublic AuditableOperation getType()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||