com.ibm.retail.saf.provider
Class DefaultLogRequest
java.lang.Object
|
+--java.util.AbstractMap
|
+--java.util.HashMap
|
+--com.ibm.retail.saf.provider.POSInfoImpl
|
+--com.ibm.retail.saf.provider.POSRequestImpl
|
+--com.ibm.retail.saf.provider.DefaultLogRequest
- All Implemented Interfaces:
- java.lang.Cloneable, LogRequest, java.util.Map, POSInfo, POSRequest, java.io.Serializable
- public class DefaultLogRequest
- extends POSRequestImpl
- implements LogRequest
Provides information needed to log an exception in the point-of-sale exception log.
- See Also:
- Serialized Form
Fields inherited from class java.util.HashMap |
|
Fields inherited from class java.util.AbstractMap |
|
Method Summary |
java.lang.Object |
getAttribute(java.lang.String name)
|
java.util.Iterator |
getAttributeNames()
|
java.lang.String |
getMessage()
Get the message text for this exception. |
int |
getTimeoutValue()
|
com.ibm.retail.saf.provider.TransactionID |
getTransactionID()
Get the transaction identifier for this log request.
|
void |
removeAttribute(java.lang.String name)
|
void |
setAttribute(java.lang.String name,
java.lang.Object value)
|
void |
setMessage(java.lang.String message)
Set the message text for this exception. |
void |
setTimeoutValue(int seconds)
|
void |
setTransactionID(com.ibm.retail.saf.provider.TransactionID xtn)
Set the transaction identifier for this exception
A Transaction ID provides a means of associating a transaction
with the log record. |
Methods inherited from class java.util.HashMap |
clear, clone, containsKey, containsValue, entrySet, get, isEmpty, keySet, put, putAll, remove, size, values |
Methods inherited from class java.util.AbstractMap |
equals, hashCode, toString |
Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface java.util.Map |
equals, hashCode |
DefaultLogRequest
public DefaultLogRequest()
setTransactionID
public void setTransactionID(com.ibm.retail.saf.provider.TransactionID xtn)
- Description copied from interface:
LogRequest
- Set the transaction identifier for this exception
A Transaction ID provides a means of associating a transaction
with the log record.
- Specified by:
setTransactionID
in interface LogRequest
- Parameters:
xtn
- transaction identifier
getTransactionID
public com.ibm.retail.saf.provider.TransactionID getTransactionID()
- Description copied from interface:
LogRequest
- Get the transaction identifier for this log request.
A Transaction ID provides a means of associating a transaction
with the log record.
- Specified by:
getTransactionID
in interface LogRequest
- Returns:
- transaction identifier
setMessage
public void setMessage(java.lang.String message)
- Description copied from interface:
LogRequest
- Set the message text for this exception.
- Specified by:
setMessage
in interface LogRequest
- Parameters:
message
- text of the message
getMessage
public java.lang.String getMessage()
- Description copied from interface:
LogRequest
- Get the message text for this exception.
- Specified by:
getMessage
in interface LogRequest
- Returns:
- message text of the message
setTimeoutValue
public void setTimeoutValue(int seconds)
getTimeoutValue
public int getTimeoutValue()
getAttribute
public java.lang.Object getAttribute(java.lang.String name)
setAttribute
public void setAttribute(java.lang.String name,
java.lang.Object value)
removeAttribute
public void removeAttribute(java.lang.String name)
getAttributeNames
public java.util.Iterator getAttributeNames()