public final class Audited extends Object
Constructor and Description |
---|
Audited(StateManagerImpl sm,
PersistenceCapable o)
Supply a state manager and a transient copy.
|
Modifier and Type | Method and Description |
---|---|
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.
|
Audited(StateManagerImpl sm, PersistenceCapable o)
sm
- a state manager, must not be null.o
- the transient copypublic Object getManagedObject()
public Object getOriginalObject()
public String[] getUpdatedFields()
public AuditableOperation getType()
Copyright © 2006–2015 Apache Software Foundation. All rights reserved.