com.ibm.commerce.utf.commands
Class TradingEngineBaseCmdImpl

com.ibm.commerce.command.AbstractECTargetableCommand
  |
  +--com.ibm.commerce.command.ControllerCommandImpl
        |
        +--com.ibm.commerce.tools.command.ToolsControllerCommandImpl
              |
              +--com.ibm.commerce.utf.commands.TradingEngineBaseCmdImpl
All Implemented Interfaces:
AccCommand, ControllerCommand, ECCommand, ECTargetableCommand, Protectable, ToolsControllerCommand, TradingEngineBaseCmd, UTFConstants

public class TradingEngineBaseCmdImpl
extends ToolsControllerCommandImpl
implements TradingEngineBaseCmd, UTFConstants

Base class implementation for trading engine.


Field Summary
 java.lang.String enddate
           
protected  java.lang.String endtime
           
protected  java.sql.Timestamp endtimestamp
           
protected  java.lang.String longdesc
           
protected  int maxoffer
           
 int multistage
           
protected  java.lang.String name
           
protected  java.lang.Long ownerid
           
protected  java.lang.String shortdesc
           
 java.util.Vector stageinfo
           
 java.lang.String startdate
           
protected  java.lang.String starttime
           
 java.sql.Timestamp starttimestamp
           
protected  java.lang.Long statemachine
           
 
Fields inherited from class com.ibm.commerce.command.ControllerCommandImpl
requestProperties, responseProperties, retriable, viewReqProperties
 
Fields inherited from class com.ibm.commerce.command.AbstractECTargetableCommand
commandContext
 
Fields inherited from interface com.ibm.commerce.utf.commands.TradingEngineBaseCmd
COPYRIGHT, defaultCommandClassName, NAME
 
Fields inherited from interface com.ibm.commerce.utf.utils.UTFConstants
CONTENT_SECTION, EC_ACCOUNT_ID, EC_ADDRESS_ID, EC_ALGO_ALLOCATION, EC_ALGO_CLASS, EC_ALGO_DESC, EC_ALGO_EXP_DATE, EC_ALGO_EXP_TIME, EC_ALGO_ID, EC_ALGO_MATCHING, EC_ALGO_NAME, EC_ALGO_PRICING, EC_ALGO_TYPE, EC_APPROVED_STRING, EC_ATTR_ATTRGROUP, EC_ATTR_ATTRID, EC_ATTR_ATTRTYPE, EC_ATTR_CHANGEABLE, EC_ATTR_DATE, EC_ATTR_FLOAT, EC_ATTR_ID, EC_ATTR_INTEGER, EC_ATTR_MANDATORY, EC_ATTR_NAME, EC_ATTR_OPERATOR, EC_ATTR_PATTRID, EC_ATTR_STRING, EC_ATTR_TCID, EC_ATTR_TYPE_ID, EC_ATTR_UNIT, EC_ATTR_USERDEF, EC_ATTR_VALUE, EC_ATTR_VALUEDELIM, EC_ATTRDICT_DESC, EC_ATTRDICT_NAME, EC_ATTRTYPE_BIGINT, EC_ATTRTYPE_BIGINT_AB, EC_ATTRTYPE_DATE_AB, EC_ATTRTYPE_DATETIME, EC_ATTRTYPE_FLOAT, EC_ATTRTYPE_FLOAT_AB, EC_ATTRTYPE_FREEFORM, EC_ATTRTYPE_FREEFORM_AB, EC_ATTRTYPE_INTEGER, EC_ATTRTYPE_INTEGER_AB, EC_ATTRTYPE_STRING, EC_ATTRTYPE_STRING_AB, EC_AUC_VIEWTASKNAME, EC_BASE_TIME, EC_BILL_ADDRESS_ID, EC_BILLING_ADDRESS, EC_BUYABLE_ITEM, EC_BUYER_ROLE, EC_CARD_BRAND, EC_CARD_EXP_MONTH, EC_CARD_EXP_YEAR, EC_CATENTRY_ID, EC_CHARGE_TYPE, EC_DEFAULT_PRICELIST_PRECEDENCE, EC_DEFAULT_STRING, EC_FALSE_VALUE, EC_FORWARD_VIEW_CMD, EC_MARK_FOR_DELETE_AFTER_NUMBER_OF_DAYS, EC_NICKNAME, EC_NOT_BUYABLE_ITEM, EC_OFFERING_CATENTRYID, EC_OFFERING_CLOSINGRULE, EC_OFFERING_CURRENCY, EC_OFFERING_DELETEMARK, EC_OFFERING_DOCDESC, EC_OFFERING_DOCURL, EC_OFFERING_DOMAIN, EC_OFFERING_EMPTYPRODLIST, EC_OFFERING_EMPTYTCLIST, EC_OFFERING_ENDDATE, EC_OFFERING_ENDRESULT, EC_OFFERING_ENDTIME, EC_OFFERING_FIRSTVERSION, EC_OFFERING_ID, EC_OFFERING_LONGDESC, EC_OFFERING_MIMEENCODING, EC_OFFERING_MIMETYPE, EC_OFFERING_NAME, EC_OFFERING_NODELETEMARK, EC_OFFERING_NUMBIDS, EC_OFFERING_PRICE, EC_OFFERING_PRODATTRLIST, EC_OFFERING_PRODCOMMENTS, EC_OFFERING_PRODLIST, EC_OFFERING_QTYUNIT, EC_OFFERING_QUANTITY, EC_OFFERING_SHORTDESC, EC_OFFERING_STARTDATE, EC_OFFERING_STARTTIME, EC_OFFERING_STATEMACHINE, EC_OFFERING_TCLIST, EC_OFFERING_TITLE, EC_OFFERING_TRADINGENGINE, EC_OPERATOR_ENUMERATION, EC_OPERATOR_EQUAL, EC_OPERATOR_EXCLUSIVE_RANGE, EC_OPERATOR_GREATER_THAN, EC_OPERATOR_GREATER_THAN_AND_EQUAL, EC_OPERATOR_INCLUSIVE_RANGE, EC_OPERATOR_LESS_THAN, EC_OPERATOR_LESS_THAN_AND_EQUAL, EC_OPERATOR_NOT, EC_ORG_BEAN, EC_PARTICIPANT_ID, EC_PARTICIPANT_ROLE, EC_PAYMENT_METHOD, EC_PAYMENT_TC_ID, EC_PO_NUMBER, EC_POLICY_ID, EC_POLICY_TYPE, EC_PRODUCT_NAME, EC_PRODUCT_SHORTDESC, EC_REDIRECT_VIEW_CMD, EC_RESPONSE_ID, EC_RETURN_APPROVAL_POLICY, EC_RETURN_APPROVAL_POLICY_TYPE, EC_RETURN_CHARGE, EC_RETURN_CHARGE_LIST, EC_RETURN_CHARGE_POLICY, EC_RETURN_CHARGE_POLICY_TYPE, EC_RETURN_PAYMENT, EC_RETURN_PAYMENT_LIST, EC_RETURN_PAYMENT_POLICY, EC_RFQ_CLOSE_MESSAGE_ID, EC_RFQ_CLOSEVIEW_CMD, EC_RFQ_COMPLETE_MESSAGE_ID, EC_RFQ_COMPLETEVIEW_CMD, EC_RFQ_NOTIFICATION_MONITOR_JOB_REF_NUM, EC_RFQ_RESPONSE_ID, EC_RFQ_RFQID, EC_RFQ_STRING, EC_RFQ_SUBMIT_MESSAGE_ID, EC_RFQ_SUBMITVIEW_CMD, EC_SELLER_ROLE, EC_SHIP_ADDRESS, EC_SHIP_MODE, EC_SHIP_MODE_ID, EC_SHIPPING_ADDRESS, EC_SHIPPING_CHARGE, EC_SHIPPING_CHARGE_LIST, EC_SHIPPING_MODE, EC_STORE_ID, EC_TA_ACTIVE, EC_TA_INACTIVE, EC_TC_BEGIN_TAG, EC_TC_CUSTOM_PRICELIST, EC_TC_CUSTOM_PRICELIST_TYPE, EC_TC_END_TAG, EC_TC_HEADER, EC_TC_OFFER, EC_TC_OFFERPRICE, EC_TC_PURCHASELIMITS_BY_QUANTITY, EC_TOOL_CANCELRFQ_VIEWCMD, EC_TOOL_CLOSERFQ_VIEWCMD, EC_TOOL_DIALOG_NAV_VIEW_CMD, EC_TOOL_NOTEBOOK_NAV_VIEW_CM, EC_TOOL_NOTEBOOK_NAV_VIEW_CMD, EC_TOOL_SUBMITRFQ_VIEWCMD, EC_TOOL_WIZARD_NAV_VIEW_CMD, EC_TRADENG_ALGO, EC_TRADENG_DOMAIN, EC_TRADENG_ENDDATE, EC_TRADENG_ENDTIME, EC_TRADENG_HANDLER, EC_TRADENG_ID, EC_TRADENG_LONGDESC, EC_TRADENG_NAME, EC_TRADENG_NUMSTAGES, EC_TRADENG_SHORTDESC, EC_TRADENG_STAGE, EC_TRADENG_STAGEINFO, EC_TRADENG_STARTDATE, EC_TRADENG_STARTTIME, EC_TRADENG_STATEMACHINE, EC_TRADENG_SUBDOMAIN, EC_TRADENG_TRADENTLIMIT, EC_TRUE_VALUE, EC_USER_BEAN, EC_UTF_ACKPAGE, EC_UTF_ACTION_CREATE, EC_UTF_ACTION_DELETE, EC_UTF_ACTION_UPDATE, EC_UTF_CHANGEABLE, EC_UTF_DOMAIN, EC_UTF_ENCRYPTION_FLAG, EC_UTF_ENDRESULT_CONTRACT, EC_UTF_ENDRESULT_ORDER, EC_UTF_ERROR_CODE, EC_UTF_ERRORPAGE, EC_UTF_LANGUAGE_ID, EC_UTF_MANDATORY, EC_UTF_NON_CHANGEABLE, EC_UTF_OPTIONAL, EC_UTF_OWNER_ID, EC_UTF_PERSONALIZED, EC_UTF_SEQUENCE, EC_UTF_STANDARD, EC_UTF_VISIBILITY, EC_VALUETYPE_ENUMERATION, EC_VALUETYPE_EXCLUSIVE_RANGE, EC_VALUETYPE_INCLUSIVE_RANGE, EC_VALUETYPE_SINGLEVALUE, MSG_SECTION, ParticipantRoles, SUBJECT_SECTION
 
Fields inherited from interface com.ibm.commerce.command.ECTargetableCommand
COPYRIGHT
 
Constructor Summary
TradingEngineBaseCmdImpl()
          Insert the method's description here.
 
Method Summary
 java.lang.String getEnddate()
          Retrieves end date of the trading engine.
 java.lang.String getEndtime()
          Retrieves end time of the trading engine.
 java.sql.Timestamp getEndtimestamp()
          Retrieves end date and time of the trading engine.
 java.util.Hashtable getErrorContent()
          Retrieves the hash table of error codes.
 boolean getErrorFlag()
          Retrieves the error indicator.
 java.lang.String getLongdesc()
          Retrieves the long description.
 int getMaxoffer()
          Retrieves the number of offerings the trading engine is set up to manage.
 int getMultistage()
          Retrieves the multistage indicatoe.
 java.lang.String getName()
          Retrieves the name of the trading engine.
 java.lang.Long getOwnerid()
          Retrieves the member ID of the trading engine owner.
 java.lang.String getShortdesc()
          Retrieves short description.
 java.util.Vector getStageinfo()
          Retrieves stage information for the trading engine, such as number of rounds in each stage, the algorithms to apply in every round etc.
 java.lang.String getStartdate()
          Retrieves start date of the trading engine.
 java.lang.String getStarttime()
          Retrieves start time of the trading engine.
 java.sql.Timestamp getStarttimestamp()
          Retrieves start date and time of the trading engine.
 java.lang.Long getStatemachine()
          Retrieves the state machine of the trading engine.
 java.util.Hashtable getToolXMLObject()
          Returns the hastable which represents tools framework's XML object.
 boolean isErrorFlag()
          Returns the error indicator.
 void setEnddate(java.lang.String newEnddate)
          Stores the incoming value of the end date.
 void setEndDateFromUrl(java.lang.String s, boolean isReq)
          Retrieves end date from the tools XML object and stores it in a member variable.
 void setEndtime(java.lang.String newEndtime)
          Stores the incoming value of the end time.
 void setEndTimeFromUrl(java.lang.String s, boolean isReq)
          Retrieves end time from the tools XML object and stores it in a member variable.
 void setEndtimestamp(java.sql.Timestamp newEndtimestamp)
          Stores the incoming value of the end date and time.
 void setErrorContent(java.util.Hashtable newErrorContent)
          Stores the incoming hashtable of error codes.
 void setErrorFlag(boolean newErrorFlag)
          Stores the incoming value of the eror indicator.
 void setLongdesc(java.lang.String newDescription)
          Stores the incoming value of the long description.
 void setLongDescriptionFromUrl(java.lang.String s, boolean isReq)
          Retrieves the long description from the tools XML object and stores it in a member variable.
 void setMaxoffer(int newMaxoffer)
          Stores the incoming value of the trading engine's offering limit.
 void setMaxOfferFromUrl(java.lang.String s, boolean isReq)
          Retrieves the offering limit for the trading engine from the tools XML object and stores it in a member variable.
 void setMultistage(int newMultistage)
          Stores the number of stages.
 void setMultiStageFromUrl(java.lang.String s, boolean isReq)
          Retrieves the stage information for the trading engine from the tools XML object and stores it in a member variable.
 void setName(java.lang.String newName)
          Stores the trading engine name.
 void setNameFromUrl(java.lang.String s, boolean isReq)
          Retrieves the name of the trading engine from the tools XML object and stores it in a member variable.
 void setOwnerid(java.lang.Long newOwnerid)
          Stores the trading engine owner's member ID.
 void setRequestProperties(TypedProperty paramTable)
          Extracts the Hashtable of name-value pairs that have been sent up from the Tools UI and saves the hashtable in a private member(toolXMLObject)
 void setShortdesc(java.lang.String newShortdesc)
          Stores the short description.
 void setShortDescriptionFromUrl(java.lang.String s, boolean isReq)
          Retrieves the short description from the tools XML object and stores it in a member variable.
 void setStageinfo(java.util.Vector newStageinfo)
          Stores the stage information vector.
 void setStageInfoFromUrl(java.lang.String s, boolean isReq)
          Retrieves the information pertaining to each stage of negotiation from the tools XML object and stores it in a member variable.
 void setStartdate(java.lang.String newStartdate)
          Stores the incoming value for the start date.
 void setStartDateFromUrl(java.lang.String s, boolean isReq)
          Retrieves the start date from the tools XML object and stores it in a member variable.
 void setStarttime(java.lang.String newStarttime)
          Stores the incoming value for the start time.
 void setStartTimeFromUrl(java.lang.String s, boolean isReq)
          Retrieves the start time from the tools XML object and stores it in a member variable.
 void setStarttimestamp(java.sql.Timestamp newStarttimestamp)
          Stores the incoming value for the start date and time.
 void setStatemachine(java.lang.Long newStatemachine)
          Stores the incoming value for the state machine.
 void setStateMachineFromUrl(java.lang.String s, boolean isReq)
          Retrieves the state machine or flow number from the tools XML object and stores it in a member variable.
 void setToolXMLObject(java.util.Hashtable newToolXMLObject)
          Sets the XML Object composed by the tools framework.
 
Methods inherited from class com.ibm.commerce.tools.command.ToolsControllerCommandImpl
getViewInputProperties
 
Methods inherited from class com.ibm.commerce.command.ControllerCommandImpl
fulfills, getForUserId, getGeneric, getOwner, getRequestProperties, getResolvedRequestProperties, getResponseProperties, getRetriable, isGeneric, isRetriable, mergeProperties, setForUserId, setGeneric, setOwner, setResponseProperties, setRetriable, setViewInputProperties
 
Methods inherited from class com.ibm.commerce.command.AbstractECTargetableCommand
accessControlCheck, checkIsAllowed, checkResourcePermission, execute, finalize, getAccCheck, getCommandContext, getCommandIfName, getCommandName, getDefaultProperties, getResources, getStoreId, getUser, getUserId, isReadyToCallExecute, performExecute, reset, setAccCheck, setCommandContext, setCommandIfName, setDefaultProperties, validateParameters
 
Methods inherited from interface com.ibm.commerce.command.ControllerCommand
execute, getGeneric, getRequestProperties, getResolvedRequestProperties, getResponseProperties, getRetriable, getViewInputProperties, isGeneric, isRetriable, mergeProperties, setGeneric, setRetriable, setViewInputProperties
 
Methods inherited from interface com.ibm.commerce.command.AccCommand
accessControlCheck, getAccCheck, getForUserId, setAccCheck, setForUserId, setOwner
 
Methods inherited from interface com.ibm.commerce.command.ECCommand
checkIsAllowed, checkResourcePermission, getCommandContext, getCommandIfName, getCommandName, getDefaultProperties, getResources, getStoreId, getUser, getUserId, performExecute, setCommandContext, setCommandIfName, setDefaultProperties, validateParameters
 
Methods inherited from interface com.ibm.commerce.security.Protectable
fulfills, getOwner
 

Field Detail

enddate

public java.lang.String enddate

endtime

protected java.lang.String endtime

endtimestamp

protected java.sql.Timestamp endtimestamp

longdesc

protected java.lang.String longdesc

maxoffer

protected int maxoffer

multistage

public int multistage

name

protected java.lang.String name

ownerid

protected java.lang.Long ownerid

shortdesc

protected java.lang.String shortdesc

stageinfo

public java.util.Vector stageinfo

startdate

public java.lang.String startdate

starttime

protected java.lang.String starttime

starttimestamp

public java.sql.Timestamp starttimestamp

statemachine

protected java.lang.Long statemachine
Constructor Detail

TradingEngineBaseCmdImpl

public TradingEngineBaseCmdImpl()
Insert the method's description here. Creation date: (5/8/2001 10:25:08 PM)
Method Detail

getEnddate

public java.lang.String getEnddate()
Retrieves end date of the trading engine.
Returns:
The date the trading engine is scheduled to stop functioning.

getEndtime

public java.lang.String getEndtime()
Retrieves end time of the trading engine.
Returns:
The time the trading engine is scheduled to stop functioning.

getEndtimestamp

public java.sql.Timestamp getEndtimestamp()
Retrieves end date and time of the trading engine.
Returns:
The date and time the trading engine is scheduled to stop functioning.

getErrorContent

public java.util.Hashtable getErrorContent()
Retrieves the hash table of error codes.
Returns:
The hash table of error codes.

getErrorFlag

public boolean getErrorFlag()
Retrieves the error indicator.
Returns:
True in case of error, false otherwise.

getLongdesc

public java.lang.String getLongdesc()
Retrieves the long description.
Returns:
The long description.

getMaxoffer

public int getMaxoffer()
Retrieves the number of offerings the trading engine is set up to manage.
Returns:
The maximum number of offerings that can be managed by the offering at one time.

getMultistage

public int getMultistage()
Retrieves the multistage indicatoe.
Returns:
>1, if the trading engine is set up to manage a multistage negotiation, 1 otherwise .

getName

public java.lang.String getName()
Retrieves the name of the trading engine.
Returns:
The trading engine name.

getOwnerid

public java.lang.Long getOwnerid()
Retrieves the member ID of the trading engine owner.
Returns:
The member ID of the trading engine owner.

getShortdesc

public java.lang.String getShortdesc()
Retrieves short description.
Returns:
The short description.

getStageinfo

public java.util.Vector getStageinfo()
Retrieves stage information for the trading engine, such as number of rounds in each stage, the algorithms to apply in every round etc.
Returns:
The stage information.

getStartdate

public java.lang.String getStartdate()
Retrieves start date of the trading engine.
Returns:
The date the trading engine is scheduled to start functioning.

getStarttime

public java.lang.String getStarttime()
Retrieves start time of the trading engine.
Returns:
The time the trading engine is scheduled to start functioning.

getStarttimestamp

public java.sql.Timestamp getStarttimestamp()
Retrieves start date and time of the trading engine.
Returns:
The date and time the trading engine is scheduled to start functioning.

getStatemachine

public java.lang.Long getStatemachine()
Retrieves the state machine of the trading engine.
Returns:
The state machine for the trading engine.

getToolXMLObject

public java.util.Hashtable getToolXMLObject()
Returns the hastable which represents tools framework's XML object.
Returns:
The tool framework's XML object.

isErrorFlag

public boolean isErrorFlag()
Returns the error indicator.
Returns:
1 if an error has occurred, 0 otherwise.

setEnddate

public void setEnddate(java.lang.String newEnddate)
Stores the incoming value of the end date.
Parameters:
newEnddate - The end date.

setEndDateFromUrl

public void setEndDateFromUrl(java.lang.String s,
                              boolean isReq)
Retrieves end date from the tools XML object and stores it in a member variable.
Specified by:
setEndDateFromUrl in interface TradingEngineBaseCmd
Parameters:
s - The parameter name to look for in the tools XML object.
isReq - true if it is a mandatory parameter, false otherwise.

setEndtime

public void setEndtime(java.lang.String newEndtime)
Stores the incoming value of the end time.
Parameters:
newEndtime - The end time.

setEndTimeFromUrl

public void setEndTimeFromUrl(java.lang.String s,
                              boolean isReq)
Retrieves end time from the tools XML object and stores it in a member variable.
Specified by:
setEndTimeFromUrl in interface TradingEngineBaseCmd
Parameters:
s - The parameter name to look for in the tools XML object.
isReq - true if it is a mandatory parameter, false otherwise.

setEndtimestamp

public void setEndtimestamp(java.sql.Timestamp newEndtimestamp)
Stores the incoming value of the end date and time.
Parameters:
newEndtimestamp - The end date and time.

setErrorContent

public void setErrorContent(java.util.Hashtable newErrorContent)
Stores the incoming hashtable of error codes.
Parameters:
newEnddate - The hashtable of error codes.

setErrorFlag

public void setErrorFlag(boolean newErrorFlag)
Stores the incoming value of the eror indicator.
Parameters:
newErrorFlag - The error indicator.

setLongdesc

public void setLongdesc(java.lang.String newDescription)
Stores the incoming value of the long description.
Parameters:
newDescription - The long description.

setLongDescriptionFromUrl

public void setLongDescriptionFromUrl(java.lang.String s,
                                      boolean isReq)
Retrieves the long description from the tools XML object and stores it in a member variable.
Specified by:
setLongDescriptionFromUrl in interface TradingEngineBaseCmd
Parameters:
s - The parameter name to look for in the tools XML object.
isReq - true if it is a mandatory parameter, false otherwise.

setMaxoffer

public void setMaxoffer(int newMaxoffer)
Stores the incoming value of the trading engine's offering limit.
Parameters:
newMaxoffer - The offering limit.

setMaxOfferFromUrl

public void setMaxOfferFromUrl(java.lang.String s,
                               boolean isReq)
Retrieves the offering limit for the trading engine from the tools XML object and stores it in a member variable.
Specified by:
setMaxOfferFromUrl in interface TradingEngineBaseCmd
Parameters:
s - The parameter name to look for in the tools XML object.
isReq - true if it is a mandatory parameter, false otherwise.

setMultistage

public void setMultistage(int newMultistage)
Stores the number of stages.
Parameters:
newMultistage - The number of stages.

setMultiStageFromUrl

public void setMultiStageFromUrl(java.lang.String s,
                                 boolean isReq)
Retrieves the stage information for the trading engine from the tools XML object and stores it in a member variable.
Specified by:
setMultiStageFromUrl in interface TradingEngineBaseCmd
Parameters:
s - The parameter name to look for in the tools XML object.
isReq - true if it is a mandatory parameter, false otherwise.

setName

public void setName(java.lang.String newName)
Stores the trading engine name.
Parameters:
newName - The name of the trading engine.

setNameFromUrl

public void setNameFromUrl(java.lang.String s,
                           boolean isReq)
Retrieves the name of the trading engine from the tools XML object and stores it in a member variable.
Specified by:
setNameFromUrl in interface TradingEngineBaseCmd
Parameters:
s - The parameter name to look for in the tools XML object.
isReq - true if it is a mandatory parameter, false otherwise.

setOwnerid

public void setOwnerid(java.lang.Long newOwnerid)
Stores the trading engine owner's member ID.
Parameters:
newOwnerid - The member ID of the trading engine owner.

setRequestProperties

public void setRequestProperties(TypedProperty paramTable)
                          throws ECApplicationException
Extracts the Hashtable of name-value pairs that have been sent up from the Tools UI and saves the hashtable in a private member(toolXMLObject)
Specified by:
setRequestProperties in interface ControllerCommand
Overrides:
setRequestProperties in class ToolsControllerCommandImpl
Parameters:
paramTable - TypedProperty of request parameters
Throws:
ECApplicationException -  

setShortdesc

public void setShortdesc(java.lang.String newShortdesc)
Stores the short description.
Parameters:
newShortdesc - The short description.

setShortDescriptionFromUrl

public void setShortDescriptionFromUrl(java.lang.String s,
                                       boolean isReq)
Retrieves the short description from the tools XML object and stores it in a member variable.
Specified by:
setShortDescriptionFromUrl in interface TradingEngineBaseCmd
Parameters:
s - The parameter name to look for in the tools XML object.
isReq - true if it is a mandatory parameter, false otherwise.

setStageinfo

public void setStageinfo(java.util.Vector newStageinfo)
Stores the stage information vector.
Parameters:
newStageinfo - The stage information.

setStageInfoFromUrl

public void setStageInfoFromUrl(java.lang.String s,
                                boolean isReq)
Retrieves the information pertaining to each stage of negotiation from the tools XML object and stores it in a member variable. A stage of negotiation might have one or more rounds; any given stage and round combination may employ specific algorithms for matching, evaluation etc.
Specified by:
setStageInfoFromUrl in interface TradingEngineBaseCmd
Parameters:
s - The parameter name to look for in the tools XML object.
isReq - true if it is a mandatory parameter, false otherwise.

setStartdate

public void setStartdate(java.lang.String newStartdate)
Stores the incoming value for the start date.
Parameters:
newStartdate - The start date.

setStartDateFromUrl

public void setStartDateFromUrl(java.lang.String s,
                                boolean isReq)
Retrieves the start date from the tools XML object and stores it in a member variable.
Specified by:
setStartDateFromUrl in interface TradingEngineBaseCmd
Parameters:
s - The parameter name to look for in the tools XML object.
isReq - true if it is a mandatory parameter, false otherwise.

setStarttime

public void setStarttime(java.lang.String newStarttime)
Stores the incoming value for the start time.
Parameters:
newStarttime - The start time.

setStartTimeFromUrl

public void setStartTimeFromUrl(java.lang.String s,
                                boolean isReq)
Retrieves the start time from the tools XML object and stores it in a member variable.
Specified by:
setStartTimeFromUrl in interface TradingEngineBaseCmd
Parameters:
s - The parameter name to look for in the tools XML object.
isReq - true if it is a mandatory parameter, false otherwise.

setStarttimestamp

public void setStarttimestamp(java.sql.Timestamp newStarttimestamp)
Stores the incoming value for the start date and time.
Parameters:
newStarttimestamp - The start date and time.

setStatemachine

public void setStatemachine(java.lang.Long newStatemachine)
Stores the incoming value for the state machine.
Parameters:
newStatemachine - The state machine identifier.

setStateMachineFromUrl

public void setStateMachineFromUrl(java.lang.String s,
                                   boolean isReq)
Retrieves the state machine or flow number from the tools XML object and stores it in a member variable.
Specified by:
setStateMachineFromUrl in interface TradingEngineBaseCmd
Parameters:
s - The parameter name to look for in the tools XML object.
isReq - true if it is a mandatory parameter, false otherwise.

setToolXMLObject

public void setToolXMLObject(java.util.Hashtable newToolXMLObject)
Sets the XML Object composed by the tools framework.
Parameters:
newToolXMLObject - The tools framework's XML object.