Creates basic RFQ information.
Basic information pertaining to an RFQ such as it name, owner, effective and expiry dates, state, version number and so on are encapsulated in an RFQ object, which is then persisted. This command creates the RFQ object using the supplied values for its various fields.
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 | |
---|---|
java.lang.Long |
getOfferingId() Retrieves the ID of the created RFQ. |
void |
setAccessType(java.lang.Integer newAccessType) Stores the accesstype of the RFQ. |
void |
setAccountId(java.lang.Long newAccountId) Stores the incoming account Id . |
void |
setDuration(java.sql.Timestamp newDuration) Stores the duration limit between successive responses. |
void |
setEndResult(java.lang.Integer newEndResult) Stores an integer representing the expected outcome of this RFQ. |
void |
setEndTime(java.sql.Timestamp newEndTime) Stores the supplied value for the RFQ closing time. |
void |
setLanguageId(java.lang.Integer languageId) Stores the language identifier. |
void |
setLongdesc(java.lang.String newLongdesc) Stores the long description for the RFQ. |
void |
setMajorVersion(java.lang.Integer majorVersion) Stores the major version number of the RFQ. |
void |
setMarkForDelete(java.lang.Integer markForDelete) Stores the incoming value for the MarkForDelete flag. |
void |
setMinorVersion(java.lang.Integer minorVersion) Stores the minor version number of the RFQ. |
void |
setName(java.lang.String newName) Stores the name of the RFQ. |
void |
setNextOffering(java.lang.Long newNextOffering) Stores the ID of the next offering in the chain, if the RFQ is a part of a multistage business process. |
void |
setNextOfferingType(java.lang.Integer newNextOfferingType) Stores the type of the next offering in the chain, if the RFQ is a part of a multistage business process. |
void |
setNumResponses(java.lang.Integer newNumResponses) Stores the limit for the number of responses. |
void |
setOfferingId(java.lang.Long newOfferingid) Stores the trading agreement ID, which is the RFQ ID. |
void |
setOwnerId(java.lang.Long newOwnerid) Stores the RFQ Owner ID. |
void |
setPreviousOffering(java.lang.Long newPreviousOffering) Stores the ID of the previous offering in the chain, if the RFQ is a part of a multistage business process. |
void |
setPreviousOfferingType(java.lang.Integer newPreviousOfferingType) Stores the type of the previous offering in the chain, if the RFQ is a part of a multistage business process. |
void |
setRoundNumber(java.lang.Integer roundNumber) Stores the current round number of the RFQ. |
void |
setRuleType(java.lang.Integer newRuleType) Store the closing rule of a RFQ |
void |
setShortdesc(java.lang.String newShortdesc) Stores a brief description of the RFQ. |
void |
setStageNumber(java.lang.Integer stageNumber) Stores the stage number. |
void |
setStartTime(java.sql.Timestamp newStartTime) Stores the effective date and time for this RFQ. |
void |
setState(java.lang.Integer newState) Stores an integer representing the RFQ state. |
void |
setTradingEngine(java.lang.Long newTradingengine) Stores the ID of the trading engine that manages the RFQ. |
void |
setVersionflags(java.lang.Integer versionflags)
Store the versionflags of a RFQ |
Field Detail |
---|
public static final java.lang.String COPYRIGHT
public static final java.lang.String NAME
public static final java.lang.String defaultCommandClassName
Method Detail |
---|
public java.lang.Long getOfferingId()
public void setAccountId(java.lang.Long newAccountId)
newAccountId
- The account Id.public void setEndTime(java.sql.Timestamp newEndTime)
newEndTime
- The closing date and time of the
RFQ.public void setLanguageId(java.lang.Integer languageId)
languageId
- The language iudentifier.public void setLongdesc(java.lang.String newLongdesc)
newLongdesc
- The RFQ long description.public void setMajorVersion(java.lang.Integer majorVersion)
majorVersion
- The major version number.public void setMarkForDelete(java.lang.Integer markForDelete)
markForDelete
- The value of the MarkForDelete flag.
"1" implies the RFQ is marked for delete. It will subsequently be
cleaned up by the DBClean utility.public void setMinorVersion(java.lang.Integer minorVersion)
minorVersion
- java.lang.Integerpublic void setName(java.lang.String newName)
newName
- The RFQ name.public void setOfferingId(java.lang.Long newOfferingid)
public void setOwnerId(java.lang.Long newOwnerid)
newOwnerid
- The ID of the RFQ owner.public void setRoundNumber(java.lang.Integer roundNumber)
roundNumber
- The current rounD number of the
RFQ.public void setShortdesc(java.lang.String newShortdesc)
newShortdesc
- The RFQ short description.public void setStageNumber(java.lang.Integer stageNumber)
stageNumber
- The stage this RFQ belongs to within a
multistage business process.public void setStartTime(java.sql.Timestamp newStartTime)
newStartTime
- The RFQ start date and
time.public void setState(java.lang.Integer newState)
newState
- The RFQ state represented by an
integer.public void setTradingEngine(java.lang.Long newTradingengine)
newTradingengine
- The ID of the trading
engine.public void setAccessType(java.lang.Integer newAccessType)
newAccessType
- The access type of the RFQ. The access type
could be private or public.public void setDuration(java.sql.Timestamp newDuration)
newDuration
- The duration limit between successive
responses.public void setEndResult(java.lang.Integer newEndResult)
newEndResult
- The end result of the RFQ.public void setNextOffering(java.lang.Long newNextOffering)
newNextOffering
- The ID of the offering that results from
this RFQ in a multistage process.public void setNextOfferingType(java.lang.Integer newNextOfferingType)
newNextOfferingType
- The type of the offering that follows
this RFQ in a multistage process.public void setNumResponses(java.lang.Integer newNumResponses)
newNumResponses
- The limit for the number of RFQ
responses.public void setPreviousOffering(java.lang.Long newPreviousOffering)
newPreviousOffering
- The ID of the offering that this RFQ
resulted from in a multistage process.public void setPreviousOfferingType(java.lang.Integer newPreviousOfferingType)
public void setRuleType(java.lang.Integer newRuleType)
newRuleType
- The type of closing rule to close an
RFQ.public void setVersionflags(java.lang.Integer versionflags)
versionflags
- The versionflags of an RFQ.