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
LogEntry
public LogEntry()
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.