SalesPoint Framework v3.0

log
Class LogEntry

java.lang.Object
  |
  +--log.LogEntry
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.

Hooks:
Define New Loggable Event
Since:
v1.0
Version:
1.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.
Override:
Always.
This is the method used by the DefaultLogEntryTED to render the log entry's contents.
Returns:
a String describing the object.
Overrides:
toString in class Object
Hooks:
Define New Loggable Event

getLogDate

public Date getLogDate()
Returns the date this entry was logged.
Override:
Never.
Returns:
The logging date and time.

SalesPoint Framework v3.0