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

Field Summary
private  LogEntry m_leData
          The org.salespointframework.log entry describing the actual action.
private  int m_nAction
          The action code.
private static java.lang.String[] s_asActionNames
          Helper array for converting action codes into Strings.
private static long serialVersionUID
           
 
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
 

Field Detail

serialVersionUID

private static final long serialVersionUID
See Also:
Constant Field Values

m_leData

private LogEntry m_leData
The org.salespointframework.log entry describing the actual action.


m_nAction

private int m_nAction
The action code. One of PUT_ACTION, EXCHANGE_REMOVE_ACTION, COMMIT_ACTION, ROLLBACK_ACTION.


s_asActionNames

private static java.lang.String[] s_asActionNames
Helper array for converting action codes into Strings.

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.