model
Class History

java.lang.Object
  extended by model.History

public class History
extends java.lang.Object

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

description

private java.lang.String description
the description of the modification


timeStamp

private long timeStamp
the time of the modification

Constructor Detail

History

public History(java.lang.String description,
               long timeStamp)
Constructs a history object.

Parameters:
description - - the modication of the object
timeStamp - - the time of the modification
Method Detail

getDescription

public java.lang.String getDescription()
Gets the modification description.


getTimeStamp

public long getTimeStamp()
Gets the time of the modification.