|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object atg.service.datacollection.DataItem
public class DataItem
A basic data item. All this class has is a timestamp which can be read as millis or as a Date. If you want to pick up the timestamping functionality in your own custom data items, you can subclass DataItem or just copy the date code.
If you want to create log events to print messages and exceptions you probably want to subclass LogEvent and use the logging facility instead.
LogEvent
Field Summary | |
---|---|
static java.lang.String |
CLASS_VERSION
Class version string |
Constructor Summary | |
---|---|
DataItem()
Construct an empty data item. |
Method Summary | |
---|---|
java.util.Date |
getDateTimeStamp()
Returns property DateTimeStamp |
long |
getTimeStamp()
Returns property TimeStamp |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static java.lang.String CLASS_VERSION
Constructor Detail |
---|
public DataItem()
Method Detail |
---|
public long getTimeStamp()
public java.util.Date getDateTimeStamp()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |