org.activemath.content.metadata
Class ActionDate

java.lang.Object
  extended by org.activemath.content.metadata.ActionDate
All Implemented Interfaces:
Comparable

public class ActionDate
extends Object
implements Comparable

A date/action described by metadata.


Field Summary
protected static Logger log
           
 
Constructor Summary
ActionDate(String date, String action, Person person)
           
 
Method Summary
 int compareTo(Object o)
           
 String getAction()
           
 String getDate()
           
 long getTimestamp()
           
 Person getWho()
           
 long intValue()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

log

protected static Logger log
Constructor Detail

ActionDate

public ActionDate(String date,
                  String action,
                  Person person)
Method Detail

intValue

public long intValue()
Returns:
numerical value indicating an order on this metadata element.

getDate

public String getDate()

getTimestamp

public long getTimestamp()

getAction

public String getAction()

getWho

public Person getWho()

toString

public String toString()
Overrides:
toString in class Object

compareTo

public int compareTo(Object o)
Specified by:
compareTo in interface Comparable