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

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
 

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.