Main Page | Packages | Class Hierarchy | Compound List | Compound Members

de.stz.bt.framework.DataPoint Class Reference

Inheritance diagram for de.stz.bt.framework.DataPoint:

de.stz.bt.fnd.datapoints.FND_DataPoint de.stz.bt.fnd.datapoints.types.FND_CollectAddressPointImpl de.stz.bt.fnd.datapoints.types.FND_CountPointImpl de.stz.bt.fnd.datapoints.types.FND_MeasurePointImpl de.stz.bt.fnd.datapoints.types.FND_MessagePointImpl de.stz.bt.fnd.datapoints.types.FND_SetPointImpl de.stz.bt.fnd.datapoints.types.FND_SwitchPointImpl de.stz.bt.fnd.datapoints.types.FND_TransferPointImpl List of all members.

Public Member Functions

void setLastAccessTime ()
void setLastChangeTime ()
Date getCreationTime ()
Date getLastAccessTime ()
Date getLastChangeTime ()

Static Protected Attributes

Logger logger = Logger.getLogger("DATAPOINT")

Detailed Description

This class defines a generic datapoint for the Framework. Each Datapoint Type should inherit from this, like MODBUS or LON

Author:
J. Seitter
Version:
Id
DataPoint.java,v 1.3 2004/11/12 09:08:18 jseitter Exp


Member Function Documentation

Date de.stz.bt.framework.DataPoint.getCreationTime  ) 
 

Returns:
The time when this datapoint object was instantiated

00084                                 {
00085     return creationTime;
00086   }

Date de.stz.bt.framework.DataPoint.getLastAccessTime  ) 
 

Returns:
The time when the last READ access occured on this object

00091                                   {
00092     if (lastAccessTime == null) {
00093       lastAccessTime = new Date();
00094 
00095     }
00096     return lastAccessTime;
00097   }

Date de.stz.bt.framework.DataPoint.getLastChangeTime  ) 
 

Returns:
The time when the last WRITE access occured on this object

00102                                   {
00103     if (lastChangeTime == null) {
00104       lastChangeTime = new Date();
00105 
00106     }
00107     return lastChangeTime;
00108   }

void de.stz.bt.framework.DataPoint.setLastAccessTime  ) 
 

Sets the Access time to the current time

00070                                   {
00071     lastAccessTime = new Date();
00072   }

void de.stz.bt.framework.DataPoint.setLastChangeTime  ) 
 

Sets the Change time to the current time

00077                                   {
00078     lastChangeTime = new Date();
00079   }


Member Data Documentation

Logger de.stz.bt.framework.DataPoint.logger = Logger.getLogger("DATAPOINT") [static, protected]
 

Keeps the logger for all subclasses


The documentation for this class was generated from the following file:
Generated on Mon Nov 15 08:36:13 2004 for FND4J by doxygen 1.3.3