org.jtheque.core.managers.event
Class EventLog

java.lang.Object
  extended by org.jtheque.core.managers.event.EventLog

public final class EventLog
extends java.lang.Object

An event log.

Author:
Baptiste Wicht

Constructor Summary
EventLog(EventLevel level, java.util.Date date, java.lang.String source, java.lang.String titleKey)
          Construct a new EventLog.
EventLog(EventLevel level, java.lang.String source, java.lang.String titleKey)
          Construct a new EventLog.
 
Method Summary
 java.util.Date getDate()
          Return the date of the event.
 java.lang.String getDetailsKey()
          Return the details internationalization key.
 EventLevel getLevel()
          Return the level of the event.
 java.lang.String getLog()
          Return the log of the event.
 java.lang.String getSource()
          Return the source of the event.
 java.lang.String getTitleKey()
          Return the title internationalization key.
 void setDetailsKey(java.lang.String detailsKey)
          Set the details internationalization key.
 void setLog(java.lang.String log)
          Set the log of the event.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EventLog

public EventLog(EventLevel level,
                java.lang.String source,
                java.lang.String titleKey)
Construct a new EventLog.

Parameters:
level - The level of the event.
source - The source of the event.
titleKey - The internationalization key of the title.

EventLog

public EventLog(EventLevel level,
                java.util.Date date,
                java.lang.String source,
                java.lang.String titleKey)
Construct a new EventLog.

Parameters:
level - The level of the event.
date - The date of the event.
source - The source of the event.
titleKey - The internationalization key of the title.
Method Detail

getLog

public java.lang.String getLog()
Return the log of the event.

Returns:
The log of the event.

setLog

public void setLog(java.lang.String log)
Set the log of the event.

Parameters:
log - The log of the event.

getDetailsKey

public java.lang.String getDetailsKey()
Return the details internationalization key.

Returns:
The details internationalization key.

setDetailsKey

public void setDetailsKey(java.lang.String detailsKey)
Set the details internationalization key.

Parameters:
detailsKey - The details internationalization key.

getLevel

public EventLevel getLevel()
Return the level of the event.

Returns:
The level of the event.

getDate

public java.util.Date getDate()
Return the date of the event.

Returns:
The date of the event.

getSource

public java.lang.String getSource()
Return the source of the event.

Returns:
The source of the event.

getTitleKey

public java.lang.String getTitleKey()
Return the title internationalization key.

Returns:
The title internationalization key.


Copyright © 2009 JTheque. All Rights Reserved.