BaltradDex
BALTRAD Data Exchange System
Loading...
Searching...
No Matches
eu.baltrad.dex.log.model.impl.LogEntry Class Reference
Inheritance diagram for eu.baltrad.dex.log.model.impl.LogEntry:
eu.baltrad.dex.log.model.ILogEntry

Public Member Functions

 LogEntry (int id, long timeStamp, String logger, String level, String message)
 
 LogEntry (long timeStamp, String logger, String level, String message)
 
int getId ()
 
void setId (int id)
 
long getTimeStamp ()
 
void setTimeStamp (long timeStamp)
 
Date getDate ()
 
void setDate (Date date)
 
String getLogger ()
 
void setLogger (String logger)
 
String getLevel ()
 
void setLevel (String level)
 
String getMessage ()
 
void setMessage (String message)
 

Additional Inherited Members

- Static Public Attributes inherited from eu.baltrad.dex.log.model.ILogEntry
static final String LEVEL_INFO = "INFO"
 
static final String LEVEL_WARNING = "WARN"
 
static final String LEVEL_ERROR = "ERROR"
 
static final String LEVEL_STICKY = "STICKY"
 

Detailed Description

Class implements system message object.

Author
Maciej Szewczykowski | macie.nosp@m.j@ba.nosp@m.ltrad.nosp@m..eu
Version
1.0
Since
1.0

Constructor & Destructor Documentation

◆ LogEntry() [1/2]

eu.baltrad.dex.log.model.impl.LogEntry.LogEntry ( int id,
long timeStamp,
String logger,
String level,
String message )
inline

Constructor.

Parameters
idRecord id
timeStampCurrent time in milliseconds
loggerLogger that generated the message
levelMessage level
messageMessage body

◆ LogEntry() [2/2]

eu.baltrad.dex.log.model.impl.LogEntry.LogEntry ( long timeStamp,
String logger,
String level,
String message )
inline

Constructor.

Parameters
timeStampCurrent time in milliseconds
loggerLogger that generated the message
levelMessage level
messageMessage body

Member Function Documentation

◆ getDate()

Date eu.baltrad.dex.log.model.impl.LogEntry.getDate ( )
inline

Get date.

Returns
Date

Implements eu.baltrad.dex.log.model.ILogEntry.

◆ getId()

int eu.baltrad.dex.log.model.impl.LogEntry.getId ( )
inline

Get record id.

Returns
Record id

Implements eu.baltrad.dex.log.model.ILogEntry.

◆ getLevel()

String eu.baltrad.dex.log.model.impl.LogEntry.getLevel ( )
inline

Get message level.

Returns
Message level

Implements eu.baltrad.dex.log.model.ILogEntry.

◆ getLogger()

String eu.baltrad.dex.log.model.impl.LogEntry.getLogger ( )
inline

Get logger name.

Returns
Logger name

Implements eu.baltrad.dex.log.model.ILogEntry.

◆ getMessage()

String eu.baltrad.dex.log.model.impl.LogEntry.getMessage ( )
inline

Get message body.

Returns
Message body

Implements eu.baltrad.dex.log.model.ILogEntry.

◆ getTimeStamp()

long eu.baltrad.dex.log.model.impl.LogEntry.getTimeStamp ( )
inline

Get timestamp.

Returns
Timestamp

Implements eu.baltrad.dex.log.model.ILogEntry.

◆ setDate()

void eu.baltrad.dex.log.model.impl.LogEntry.setDate ( Date date)
inline

Set date.

Parameters
dateDate to set

Implements eu.baltrad.dex.log.model.ILogEntry.

◆ setId()

void eu.baltrad.dex.log.model.impl.LogEntry.setId ( int id)
inline

Set record id.

Parameters
idId to set

Implements eu.baltrad.dex.log.model.ILogEntry.

◆ setLevel()

void eu.baltrad.dex.log.model.impl.LogEntry.setLevel ( String level)
inline

Set message level.

Parameters
levelMessage level to set

Implements eu.baltrad.dex.log.model.ILogEntry.

◆ setLogger()

void eu.baltrad.dex.log.model.impl.LogEntry.setLogger ( String logger)
inline

Set logger name.

Parameters
loggerLogger name to set

Implements eu.baltrad.dex.log.model.ILogEntry.

◆ setMessage()

void eu.baltrad.dex.log.model.impl.LogEntry.setMessage ( String message)
inline

Set message body.

Parameters
messageMessage body to set

Implements eu.baltrad.dex.log.model.ILogEntry.

◆ setTimeStamp()

void eu.baltrad.dex.log.model.impl.LogEntry.setTimeStamp ( long timeStamp)
inline

Set timestamp.

Parameters
timeStampTimestamp to set

Implements eu.baltrad.dex.log.model.ILogEntry.


The documentation for this class was generated from the following file: