org.salespointframework.core.data
Class StockItemDBEntry.StockItemDBELogEntry

java.lang.Object
  extended by org.salespointframework.core.logging.LogEntry
      extended by org.salespointframework.core.data.StockItemDBEntry.StockItemDBELogEntry
All Implemented Interfaces:
java.io.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
Version:
2.0 19/08/1999
Author:
Steffen Zschaler
See Also:
Serialized Form

Field Summary
private  java.lang.String m_sDestName
          The destination Stock's name, if any.
private  java.lang.String m_sKey
          The key of the affected item.
private  java.lang.String m_sSourceName
          The source Stock's name, if any.
private static long serialVersionUID
           
 
Constructor Summary
StockItemDBEntry.StockItemDBELogEntry(StockItemDBEntry sidbe)
          Create a new StockItemDBELogEntry.
 
Method Summary
 java.lang.String getDestination()
          Get the destination Stock's name.
 java.lang.String getKey()
          Get the affected item's key.
 java.lang.String getSource()
          Get the source Stock's name.
 java.lang.String toString()
          Get a String representation of the LogEntry.
 
Methods inherited from class org.salespointframework.core.logging.LogEntry
getLogDate
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

serialVersionUID

private static final long serialVersionUID
See Also:
Constant Field Values

m_sKey

private java.lang.String m_sKey
The key of the affected item.


m_sSourceName

private java.lang.String m_sSourceName
The source Stock's name, if any.


m_sDestName

private java.lang.String m_sDestName
The destination Stock's name, if any.

Constructor Detail

StockItemDBEntry.StockItemDBELogEntry

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

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

getKey

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


getSource

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


getDestination

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


toString

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

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