|
VLab Common 1.2 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectpl.psnc.vlab.eventlog.value.EventLogValue
public class EventLogValue
EventLogValue
class - value object for a single log event.
Constructor Summary | |
---|---|
EventLogValue()
Creates a new instance of EventLogValue with empty content |
|
EventLogValue(java.lang.String message,
java.util.Date occurenceDate,
EventLogType type)
Creates a new instance of EventLogValue with the its content defined |
|
EventLogValue(java.lang.String message,
java.util.Date occurenceDate,
EventLogType type,
java.lang.Object details)
Creates a new instance of EventLogValue with the its content defined |
|
EventLogValue(java.lang.String message,
EventLogType type)
Creates a new instance of EventLogValue with the its content defined |
Method Summary | |
---|---|
int |
compareTo(EventLogValue event)
|
java.util.Date |
getDate()
Get the occurrence time |
java.lang.String |
getDetails()
Get detailed information about this event message |
java.lang.String |
getMessage()
Getter for property message. |
java.util.Date |
getOccurenceDate()
Get value of field: occurenceDate |
EventLogType |
getType()
Get type of this event message |
void |
setDetails(java.lang.Object details)
Set value of field: details |
void |
setMessage(java.lang.String message)
Setter for property message. |
void |
setOccurenceDate(java.util.Date occurenceDate)
Set value of field: occurenceDate |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public EventLogValue()
public EventLogValue(java.lang.String message, java.util.Date occurenceDate, EventLogType type, java.lang.Object details)
details
- the message details (it may be an exception in case of
ErrorEvent)occurenceDate
- date of the eventtype
- the type of the log message (Information, Error, etc.)message
- the event messagepublic EventLogValue(java.lang.String message, java.util.Date occurenceDate, EventLogType type)
occurenceDate
- date of the eventtype
- the type of the log message (Information, Error, etc.)message
- the event messagepublic EventLogValue(java.lang.String message, EventLogType type)
type
- the type of the log message (Information, Error, etc.)message
- the event messageMethod Detail |
---|
public int compareTo(EventLogValue event)
compareTo
in interface java.lang.Comparable<EventLogValue>
public EventLogType getType()
public java.lang.String getMessage()
public void setMessage(java.lang.String message)
message
- New value of property message.public java.util.Date getDate()
public java.lang.String getDetails()
public java.util.Date getOccurenceDate()
public void setOccurenceDate(java.util.Date occurenceDate)
occurenceDate
- the occurenceDate to setpublic void setDetails(java.lang.Object details)
details
- the details to set
|
VLab Common 1.2 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |