com.ibm.retail.AEF.automation
Class TransactionIdentifierImpl

java.lang.Object
  |
  +--java.util.AbstractMap
        |
        +--java.util.HashMap
              |
              +--com.ibm.retail.AEF.automation.IdentifierImpl
                    |
                    +--com.ibm.retail.AEF.automation.TransactionIdentifierImpl
All Implemented Interfaces:
java.lang.Cloneable, Identifier, java.util.Map, java.io.Serializable, TransactionIdentifier

public class TransactionIdentifierImpl
extends com.ibm.retail.AEF.automation.IdentifierImpl
implements TransactionIdentifier

TransactionIdentifier is a class which contains information about a transaction.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class java.util.HashMap
 
Fields inherited from class java.util.AbstractMap
 
Fields inherited from interface com.ibm.retail.AEF.automation.TransactionIdentifier
CLASS_KEY, DATA, MODIFIER, TRANSACTION_TYPE
 
Fields inherited from interface com.ibm.retail.AEF.automation.Identifier
ACCOUNT_NUMBER, PRICE
 
Constructor Summary
TransactionIdentifierImpl()
          Constructor.
TransactionIdentifierImpl(java.lang.String transactionType, java.lang.String modifier)
          Constructor.
TransactionIdentifierImpl(java.lang.String transactionType, java.lang.String modifier, java.lang.String data)
          Constructor.
 
Method Summary
(package private) static java.lang.String copyright()
           
 java.lang.String getData()
          Gets the data to be included with the transaction.
 java.lang.String getModifier()
          Gets the transaction modifier.
 java.lang.String getTransactionType()
          Gets the transaction type.
 void setData(java.lang.String transactionData)
          Sets the data to be included with the transaction.
 void setModifier(java.lang.String modifier)
          Sets the transaction modifier.
 void setTransactionType(java.lang.String transactionType)
          Sets the transaction type.
 
Methods inherited from class com.ibm.retail.AEF.automation.IdentifierImpl
toString
 
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
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface com.ibm.retail.AEF.automation.Identifier
toString
 
Methods inherited from interface java.util.Map
clear, containsKey, containsValue, entrySet, equals, get, hashCode, isEmpty, keySet, put, putAll, remove, size, values
 

Constructor Detail

TransactionIdentifierImpl

public TransactionIdentifierImpl()
Constructor.


TransactionIdentifierImpl

public TransactionIdentifierImpl(java.lang.String transactionType,
                                 java.lang.String modifier)
Constructor.

Parameters:
transactionType - The transaction type from AEFConst.java.
modifier - A modifier such as "return", "send", "vat". Use constants from AEFConst.java
See Also:
for modifier constants.

TransactionIdentifierImpl

public TransactionIdentifierImpl(java.lang.String transactionType,
                                 java.lang.String modifier,
                                 java.lang.String data)
Constructor.

Parameters:
transactionType - The transaction type from AEFConst.java.
modifier - A modifier such as "return", "send", "vat". Use constants from AEFConst.java
data - Any additional data to be included in the transaction.
See Also:
for modifier constants.
Method Detail

copyright

static java.lang.String copyright()

setTransactionType

public void setTransactionType(java.lang.String transactionType)
Sets the transaction type. This should be one of the types listed in AEFConst.java.

Specified by:
setTransactionType in interface TransactionIdentifier
Parameters:
transactionType - The transaction type from AEFConst.java.
See Also:
for the valid transaction types & modifiers.

setModifier

public void setModifier(java.lang.String modifier)
Sets the transaction modifier. This should be one of the modifiers listed in AEFConst.java.

Specified by:
setModifier in interface TransactionIdentifier
Parameters:
modifier - The transaction modifier from AEFConst.java.
See Also:
for the valid transaction types & modifiers.

setData

public void setData(java.lang.String transactionData)
Sets the data to be included with the transaction.

Specified by:
setData in interface TransactionIdentifier
Parameters:
transactionData - A String of data to be included in the transaction.

getTransactionType

public java.lang.String getTransactionType()
Gets the transaction type. This should be one of the types listed in AEFConst.java.

Specified by:
getTransactionType in interface TransactionIdentifier
Returns:
String The transaction type from AEFConst.java.
See Also:
for the valid transaction types.

getData

public java.lang.String getData()
Gets the data to be included with the transaction.

Specified by:
getData in interface TransactionIdentifier
Returns:
String A String of data to be included in the transaction.

getModifier

public java.lang.String getModifier()
Gets the transaction modifier. This should be one of the modifiers listed in AEFConst.java.

Specified by:
getModifier in interface TransactionIdentifier
See Also:
for the valid transaction types & modifiers.


Copyright © 2004 IBM. All Rights Reserved.
Generated: July 19 2004