JTP API Documentation

jtp.time.tp
Class TimePoint

java.lang.Object
  |
  +--jtp.time.tp.TimePoint
Direct Known Subclasses:
CalendarTimePoint

public class TimePoint
extends Object

A basic representation for time points.


Constructor Summary
TimePoint()
          No-argument constructor for a TimePoint.
TimePoint(Node n)
           
TimePoint(Object o)
          Constructor for a TimePoint named s.
TimePoint(Object o, Node n)
           
 
Method Summary
 Object getID()
           
 Node getNode()
           
 void setNode(Node n)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

TimePoint

public TimePoint()
No-argument constructor for a TimePoint. Does not set a node.


TimePoint

public TimePoint(Node n)

TimePoint

public TimePoint(Object o)
Constructor for a TimePoint named s. setNode(Node) is called with a newly constructed node.


TimePoint

public TimePoint(Object o,
                 Node n)
Method Detail

getID

public Object getID()

getNode

public Node getNode()

setNode

public void setNode(Node n)

toString

public String toString()
Overrides:
toString in class Object

JTP API Documentation