public final class Audited
extends java.lang.Object
Constructor and Description |
---|
Audited(StateManagerImpl sm,
PersistenceCapable o)
Supply a state manager and a transient copy.
|
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
getManagedObject()
Gets the current state of the persistent instance.
|
java.lang.Object |
getOriginalObject()
Gets the original state of the persistent instance as a transient instance.
|
AuditableOperation |
getType()
Gets the type of this audit.
|
java.lang.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 java.lang.Object getManagedObject()
public java.lang.Object getOriginalObject()
public java.lang.String[] getUpdatedFields()
public AuditableOperation getType()
Copyright © 2006-2013 Apache Software Foundation. All Rights Reserved.