|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--net.sourceforge.esw.service.log.DefaultLogDatum
Describes an instance of logged data, used by an ILog instance to log data.
This is an concrete implementor of the ILogDatum.
Using this interface is the perferred way to log data into an ILog instance. The allows the ILog instance to know exactly where to get all the info it needs to log data.
Field Summary | |
protected INode |
complexWhat
Complex caputured state of the event that occured |
protected long |
id
Unique Id of this datum |
protected int |
importance
How important was the event that occured |
protected java.lang.String |
simpleWhat
Simply, what was the event that occured |
protected java.util.Date |
when
When the event occured |
protected java.lang.String |
where
Where the event occured |
protected java.lang.String |
who
Who the event occured with |
Constructor Summary | |
protected |
DefaultLogDatum(java.util.Date aWhen,
java.lang.String aWhere,
int aImportance,
java.lang.String aSimpleWhat,
INode aComplexWhat,
java.lang.String aWho,
long aId)
Creates a new DefaultLogDatum. |
Method Summary | |
java.lang.String |
getApplicationID()
Returns the identifier for the type of data being logged via this ILogDatum instance. |
INode |
getData()
Returns the INote instance that represents the data to be logged via this ILogDatum instance. |
long |
getDatumID()
Returns a unique id for this LogDatum Instance. |
java.lang.String |
getDescription()
Returns the String description of this ILogDatum instance. |
int |
getRank()
Returns the rank of this ILogDatum instance's data to be used to consider priority amongst more than one ILogDatum instance. |
java.util.Date |
getWhen()
Returns when this ILogDatum instance's data was considered to have occured at for logging purposes. |
java.lang.String |
getWhere()
Returns where this ILogDatum instance's data was considered to have occured for logging purposes. |
java.lang.String |
toString()
Returns a string representation of this object |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
protected java.util.Date when
protected java.lang.String where
protected int importance
protected java.lang.String simpleWhat
protected INode complexWhat
protected java.lang.String who
protected long id
Constructor Detail |
protected DefaultLogDatum(java.util.Date aWhen, java.lang.String aWhere, int aImportance, java.lang.String aSimpleWhat, INode aComplexWhat, java.lang.String aWho, long aId)
aWhen
- when the event occuredaWhere
- Where the event occuredaImportance
- How important was the event that occuredaSimpleWhat
- Simply, what was the event that occuredaComplexWhat
- Complex caputured state of the event that occuredaWho
- Who the event occured withaId
- Id of this unique DatumMethod Detail |
public java.util.Date getWhen()
getWhen
in interface ILogDatum
public java.lang.String getWhere()
getWhere
in interface ILogDatum
public int getRank()
getRank
in interface ILogDatum
public java.lang.String getDescription()
getDescription
in interface ILogDatum
public INode getData()
getData
in interface ILogDatum
public java.lang.String getApplicationID()
getApplicationID
in interface ILogDatum
public long getDatumID()
getDatumID
in interface ILogDatum
public java.lang.String toString()
toString
in class java.lang.Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |