|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectmodel.History
public class History
A history object stores a modification of an object.
Field Summary | |
---|---|
private java.lang.String |
description
the description of the modification |
private long |
timeStamp
the time of the modification |
Constructor Summary | |
---|---|
History(java.lang.String description,
long timeStamp)
Constructs a history object. |
Method Summary | |
---|---|
java.lang.String |
getDescription()
Gets the modification description. |
long |
getTimeStamp()
Gets 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 java.lang.String description
private long timeStamp
Constructor Detail |
---|
public History(java.lang.String description, long timeStamp)
description
- - the modication of the objecttimeStamp
- - the time of the modificationMethod Detail |
---|
public java.lang.String getDescription()
public long getTimeStamp()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |