com.ibm.commerce.utf.commands
Interface CreateContractBasicInfoCmd

All Superinterfaces:
TaskCommand
All Known Implementing Classes:
CreateContractBasicInfoCmdImpl

public interface CreateContractBasicInfoCmd
extends TaskCommand

Creates a contract object that shares an existing trading agreement.


Field Summary
static java.lang.String COPYRIGHT
          IBM copyright notice field.
static java.lang.String defaultCommandClassName
          The default implementation of this command.
static java.lang.String NAME
          The name of this command.
 
Method Summary
 void setAccountId(java.lang.Long newAccountId)
          Stores the account ID.
 void setContractName(java.lang.String newContractName)
          Stores the incoming value for the contract name.
 void setContractOwner(java.lang.Long newContractOwner)
          Stores the incoming value for the contract owner ID.
 void setTradingId(java.lang.Long newTradingId)           Stores the incoming value for the Trading Agreement ID.
 

Field Detail

NAME

public static final java.lang.String NAME
The name of this command.
See Also:
Constant Field Values

public static final java.lang.String COPYRIGHT
IBM copyright notice field.
See Also:
Constant Field Values

defaultCommandClassName

public static final java.lang.String defaultCommandClassName
The default implementation of this command.
See Also:
Constant Field Values
Method Detail

setContractName

public void setContractName(java.lang.String newContractName)
Stores the incoming value for the contract name.
Parameters:
newContractName - The name of the contract.

setContractOwner

public void setContractOwner(java.lang.Long newContractOwner)
Stores the incoming value for the contract owner ID.
Parameters:
newContractOwner - The ID of the contract owner.

setAccountId

public void setAccountId(java.lang.Long newAccountId)
Stores the account ID.
Parameters:
newAccountId - The account Id.

setTradingId

public void setTradingId(java.lang.Long newTradingId)
Stores the incoming value for the Trading Agreement ID.
Parameters:
newTradingId - The ID of the trading agreement.