at.ac.tuwien.cs.ztimeview.time
Class ReferencePoint

java.lang.Object
  extended byat.ac.tuwien.cs.ztimeview.time.ReferencePoint
All Implemented Interfaces:
TimeAnnotationReference

public class ReferencePoint
extends java.lang.Object
implements TimeAnnotationReference

Absolute reference point for time annotation

Version:
0.3 created: 2003-02-17 last change: 2003-03-18
Author:
Wolfgang Aigner

Constructor Summary
ReferencePoint()
          Default constructor - sets reference point to 0
ReferencePoint(java.util.Date ref)
          Constructor
 
Method Summary
 java.util.Date getAbsoluteValue()
          Get absolute value for reference
 java.util.Date getTime()
          Get ref point time
 void setTime(java.util.Date ref)
          Set ref point time
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ReferencePoint

public ReferencePoint()
Default constructor - sets reference point to 0


ReferencePoint

public ReferencePoint(java.util.Date ref)
Constructor

Parameters:
ref - absolute reference point
Method Detail

getAbsoluteValue

public java.util.Date getAbsoluteValue()
Get absolute value for reference

Specified by:
getAbsoluteValue in interface TimeAnnotationReference
Returns:
Date object representing reference point

setTime

public void setTime(java.util.Date ref)
Set ref point time


getTime

public java.util.Date getTime()
Get ref point time

Returns:
reference point time


Copyright © 2004 by Vienna University of Technology.