org.salespointframework.core.data
Class DataBasketImpl.DataBasketImplLogEntry

java.lang.Object
  extended by org.salespointframework.core.logging.LogEntry
      extended by org.salespointframework.core.data.DataBasketImpl.DataBasketImplLogEntry
All Implemented Interfaces:
java.io.Serializable
Enclosing class:
DataBasketImpl

public static class DataBasketImpl.DataBasketImplLogEntry
extends LogEntry

A LogEntry that describes an action on a DataBasket.

Since:
v2.0
Version:
2.0 14/07/1999
Author:
Steffen Zschaler
See Also:
DataBasketImpl.log(int, org.salespointframework.core.logging.Loggable), Serialized Form

Constructor Summary
DataBasketImpl.DataBasketImplLogEntry(int nAction, LogEntry leData)
          Create a new DataBasketImplLogEntry.
 
Method Summary
 int getAction()
          Get the action code.
 java.lang.String getActionName()
          Get the name of the action.
 LogEntry getData()
          Get the org.salespointframework.log entry describing the actual action.
 java.lang.String toString()
          A short descriptive text of the org.salespointframework.log entry.
 
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
 

Constructor Detail

DataBasketImpl.DataBasketImplLogEntry

public DataBasketImpl.DataBasketImplLogEntry(int nAction,
                                             LogEntry leData)
Create a new DataBasketImplLogEntry.

Parameters:
nAction - The action code. One of DataBasketImpl.PUT_ACTION, DataBasketImpl.EXCHANGE_REMOVE_ACTION, DataBasketImpl.COMMIT_ACTION, DataBasketImpl.ROLLBACK_ACTION.
leData - The org.salespointframework.log entry describing the actual action.
Method Detail

getAction

public int getAction()
Get the action code.


getActionName

public java.lang.String getActionName()
Get the name of the action.


getData

public LogEntry getData()
Get the org.salespointframework.log entry describing the actual action.


toString

public java.lang.String toString()
A short descriptive text of the org.salespointframework.log entry.

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