|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectlogger.LogEvent
public class LogEvent
A log event records a modification of an object.
Field Summary | |
---|---|
private long |
objectID
the id of the modified object |
private java.lang.Object |
oldValue
the object value before the event |
private java.lang.String |
property
the modified property |
private static long |
serialVersionUID
the serialization version identifier |
private long |
timeStamp
the time of the modification |
private java.lang.String |
value
the new value of the modified property |
Constructor Summary | |
---|---|
LogEvent(long objectID,
java.lang.String property,
java.lang.String value,
java.lang.Object oldValue)
Constructs a log event |
Method Summary | |
---|---|
long |
getObjectID()
Gets the identifier of the modified object. |
java.lang.Object |
getOldValue()
Gets the old object value. |
java.lang.String |
getProperty()
Gets the modified property. |
long |
getTimeStamp()
Gets the time of the modification. |
java.lang.String |
getValue()
Gets the new property value. |
void |
setTimeStamp(long time)
Sets the time of the modification. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private static final long serialVersionUID
private long objectID
private java.lang.String property
private java.lang.String value
private java.lang.Object oldValue
private long timeStamp
Constructor Detail |
---|
public LogEvent(long objectID, java.lang.String property, java.lang.String value, java.lang.Object oldValue)
objectID
- - the id of the modified objectproperty
- - the modified propertyvalue
- - the new property valueMethod Detail |
---|
public void setTimeStamp(long time)
public java.lang.Object getOldValue()
public long getObjectID()
public java.lang.String getProperty()
public long getTimeStamp()
public java.lang.String getValue()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |