SalesPoint Framework v3.1

log
Class LogEntry

java.lang.Object
  extended bylog.LogEntry
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
CatalogItemDataBasketEntry.CIDBELogEntry, DataBasketImpl.DataBasketImplLogEntry, SaleProcess.ProcessLogEntry, StockItemDBEntry.StockItemDBELogEntry

public abstract class LogEntry
extends Object
implements 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
Author:
Steffen Zschaler
See Also:
Loggable, Log, Serialized Form

Constructor Summary
LogEntry()
           
 
Method Summary
 Date getLogDate()
          Returns the date this entry was logged.
 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 String toString()
Return a String describing the object.

Returns:
a String describing the object.
Override:
Always This is the method used by the DefaultLogEntryTED to render the log entry's contents.

getLogDate

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

Returns:
The logging date and time.
Override:
Never

SalesPoint Framework v3.1