freemind.modes
Class HistoryInformation

java.lang.Object
  extended byfreemind.modes.HistoryInformation

public class HistoryInformation
extends java.lang.Object

Here, the creation and modification times of objects (by now, only for nodes) are stored. The storage as longs is preferred as they are normally inlined by the Java compiler.

Author:
foltin

Constructor Summary
HistoryInformation()
          Initializes to today.
HistoryInformation(java.util.Date createdAt, java.util.Date lastModifiedAt)
           
 
Method Summary
 java.util.Date getCreatedAt()
           
 java.util.Date getLastModifiedAt()
           
 void setCreatedAt(java.util.Date createdAt)
           
 void setLastModifiedAt(java.util.Date lastModifiedAt)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HistoryInformation

public HistoryInformation()
Initializes to today.


HistoryInformation

public HistoryInformation(java.util.Date createdAt,
                          java.util.Date lastModifiedAt)
Method Detail

getCreatedAt

public java.util.Date getCreatedAt()

getLastModifiedAt

public java.util.Date getLastModifiedAt()

setCreatedAt

public void setCreatedAt(java.util.Date createdAt)

setLastModifiedAt

public void setLastModifiedAt(java.util.Date lastModifiedAt)