org.salespointframework.core.logging
Class LogEntry

java.lang.Object
  extended by org.salespointframework.core.logging.LogEntry
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
CatalogItemDataBasketEntry.CIDBELogEntry, DataBasketImpl.DataBasketImplLogEntry, SaleProcess.ProcessLogEntry, StockItemDBEntry.StockItemDBELogEntry

public abstract class LogEntry
extends java.lang.Object
implements java.io.Serializable

An entry in the log file.

A LogEntry does as a minimum always indicate the log time and log date.

LogEnry is abstract to indicate it does not yet do anything sensible.

Since:
v1.0
Version:
1.0
Author:
Steffen Zschaler
See Also:
Loggable, Log, Serialized Form

Field Summary
private  java.util.Date m_dtLogDate
          Date and time of logging.
private static long serialVersionUID
           
 
Constructor Summary
LogEntry()
           
 
Method Summary
 java.util.Date getLogDate()
          Returns the date this entry was logged.
 java.lang.String toString()
          Return a String describing the object.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

serialVersionUID

private static final long serialVersionUID
See Also:
Constant Field Values

m_dtLogDate

private java.util.Date m_dtLogDate
Date and time of logging.

Constructor Detail

LogEntry

public LogEntry()
Method Detail

toString

public java.lang.String toString()
Return a String describing the object.

Overrides:
toString in class java.lang.Object
Returns:
a String describing the object.

getLogDate

public java.util.Date getLogDate()
Returns the date this entry was logged.

Returns:
The logging date and time.