public final class Audited extends Object
| Modifier and Type | Method and Description | 
|---|---|
| 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. | 
public Object getManagedObject()
public Object getOriginalObject()
public String[] getUpdatedFields()
public Object getManangedFieldValue(String field)
field - name of a persistent propertyIllegalArgumentException - if the named field is not a persistent propertypublic Object getOriginalFieldValue(String field)
field - name of a persistent propertyIllegalArgumentException - if the named field is not a persistent propertypublic AuditableOperation getType()
Copyright © 2006–2018 Apache Software Foundation. All rights reserved.