SalesPoint Framework v3.1

data.ooimpl
Class StockItemDBEntry.StockItemDBELogEntry

java.lang.Object
  extended bylog.LogEntry
      extended bydata.ooimpl.StockItemDBEntry.StockItemDBELogEntry
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
CountingStockItemDBEntry.CSDBELogEntry
Enclosing class:
StockItemDBEntry

public static class StockItemDBEntry.StockItemDBELogEntry
extends LogEntry

A LogEntry that describes an operation on one or more StockItem(s).

Since:
v2.0
Author:
Steffen Zschaler
See Also:
Serialized Form

Constructor Summary
StockItemDBEntry.StockItemDBELogEntry(StockItemDBEntry sidbe)
          Create a new StockItemDBELogEntry.
 
Method Summary
 String getDestination()
          Get the destination Stock's name.
 String getKey()
          Get the affected item's key.
 String getSource()
          Get the source Stock's name.
 String toString()
          Get a String representation of the LogEntry.
 
Methods inherited from class log.LogEntry
getLogDate
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

StockItemDBEntry.StockItemDBELogEntry

public StockItemDBEntry.StockItemDBELogEntry(StockItemDBEntry sidbe)
Create a new StockItemDBELogEntry.

Parameters:
sidbe - the DataBasketEntry to be described.
Method Detail

getKey

public String getKey()
Get the affected item's key.

Override:
Never

getSource

public String getSource()
Get the source Stock's name.

Override:
Never

getDestination

public String getDestination()
Get the destination Stock's name.

Override:
Never

toString

public String toString()
Get a String representation of the LogEntry.

Overrides:
toString in class LogEntry
Returns:
a String describing the object.
Override:
Sometimes

SalesPoint Framework v3.1