|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectde.is24.util.monitoring.SimpleHistorizable
public class SimpleHistorizable
This is a default Implementation of Historizable
supplied for convenience.
| Field Summary | |
|---|---|
private String |
fName
|
private Date |
fTimestamp
|
private String |
fValue
|
| Constructor Summary | |
|---|---|
SimpleHistorizable(String aName,
String aValue)
Instantiate a SimpleHistorizable with the current time as timestamp |
|
SimpleHistorizable(String aName,
String aValue,
Date aTimestamp)
Instantiate a Simple historizable with a given timestamp |
|
| Method Summary | |
|---|---|
String |
getName()
name of this historizable |
Date |
getTimestamp()
timestamp associated with this Historizable |
String |
getValue()
This string represents whatever your applications wants to tell the rest of the world. |
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
private final String fName
private final String fValue
private final Date fTimestamp
| Constructor Detail |
|---|
public SimpleHistorizable(String aName,
String aValue)
aName - name of the HistorizbaleaValue - value of the Historizable
public SimpleHistorizable(String aName,
String aValue,
Date aTimestamp)
aName - name of the HistorizbaleaValue - value of the HistorizableaTimestamp - timestamp associated with this Historizable| Method Detail |
|---|
public String getValue()
Historizable
getValue in interface Historizablepublic String getName()
Historizable
getName in interface Historizablepublic Date getTimestamp()
Historizable
getTimestamp in interface Historizablepublic String toString()
toString in class Object
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||