de.stz.bt.framework
Class DataPoint
java.lang.Object
java.util.Observable
de.stz.bt.framework.DataPoint
- Direct Known Subclasses:
- FND_DataPoint
- public class DataPoint
- extends java.util.Observable
This class defines a generic datapoint for the Framework.
Each Datapoint Type should inherit from this, like MODBUS or LON
- Version:
- $Id: DataPoint.html,v 1.3 2004/11/08 08:10:45 jseitter Exp $
- Author:
- J. Seitter
Fields inherited from class java.util.Observable |
|
Methods inherited from class java.util.Observable |
addObserver, clearChanged, countObservers, deleteObserver, deleteObservers, hasChanged, notifyObservers, notifyObservers, setChanged |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
logger
protected static org.apache.log4j.Logger logger
- Keeps the logger for all subclasses
creationTime
private java.util.Date creationTime
lastAccessTime
private java.util.Date lastAccessTime
lastChangeTime
private java.util.Date lastChangeTime
DataPoint
public DataPoint()
setCreationTime
private void setCreationTime()
- Sets the Creation time to the current time
setLastAccessTime
public void setLastAccessTime()
- Sets the Access time to the current time
setLastChangeTime
public void setLastChangeTime()
- Sets the Change time to the current time
getCreationTime
public java.util.Date getCreationTime()
- Returns:
- The time when this datapoint object was instantiated
getLastAccessTime
public java.util.Date getLastAccessTime()
- Returns:
- The time when the last READ access occured on this object
getLastChangeTime
public java.util.Date getLastChangeTime()
- Returns:
- The time when the last WRITE access occured on this object