public class ObligationToBuyTCByAmountBeanBase extends TermConditionBean
This bean provides access to the TERMCOND table.
The following is a description of this table:
This table contains terms and conditions used in trading agreements (business accounts, contracts, RFQs). To see how columns are used by different terms and conditions, refer to TERMCOND column mapping in the online help. This bean accesses the database table TERMCOND.
Modifier and Type | Field and Description |
---|---|
java.lang.String | currency
Implementation field for persistent attribute: currency
|
java.lang.Integer | numberOfDays |
java.math.BigDecimal | value |
Constructor and Description |
---|
ObligationToBuyTCByAmountBeanBase() |
Modifier and Type | Method and Description |
---|---|
java.lang.Long | createNewVersion(java.lang.Long argNewTradingId)
This method creates a new version of the terms and conditions.
|
com.ibm.commerce.contract.objects.TermConditionKey | ejbCreate(java.lang.Long argTradingId, org.w3c.dom.Element argElement)
Constructs an ObligationToBuyTCByAmountAccessBean object with the specified trading agreement ID, and the obligation term condition element.
|
void | ejbPostCreate(java.lang.Long argTradingId, org.w3c.dom.Element argElement)
Parses the XML element to construct the terms and conditions.
|
java.lang.String | getCurrency()
This method provides access to the TERMCOND.STRINGFIELD1 column of DB2 type VARCHAR(3200) NULL.
|
java.lang.Integer | getNumberOfDays()
This method provides access to the TERMCOND.INTEGERFIELD1 column of DB2 type INTEGER NULL.
|
java.math.BigDecimal | getValue()
This method provides access to the TERMCOND.DECIMALFIELD1 column of DB2 type DECIMAL(20,5) NULL.
|
java.lang.String | getXMLString()
This method retrieves the XML String associated with the terms and conditions.
|
java.lang.String | getXMLString(boolean tcdata)
This method retrieves the XML String associated with the terms and conditions.
|
void | parseXMLElement(org.w3c.dom.Element argElement)
This method parses the given XML element.
|
void | setCurrency(java.lang.String newValue)
This method provides access to the TERMCOND.STRINGFIELD1 column of DB2 type VARCHAR(3200) NULL.
|
void | setNumberOfDays(java.lang.Integer newValue)
This method provides access to the TERMCOND.INTEGERFIELD1 column of DB2 type INTEGER NULL.
|
void | setValue(java.math.BigDecimal newValue)
This method provides access to the TERMCOND.DECIMALFIELD1 column of DB2 type DECIMAL(20,5) NULL.
|
public java.math.BigDecimal value
public java.lang.Integer numberOfDays
public java.lang.String currency
public java.lang.Long createNewVersion(java.lang.Long argNewTradingId) throws javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException, javax.ejb.RemoveException, org.xml.sax.SAXException, java.io.IOException
public com.ibm.commerce.contract.objects.TermConditionKey ejbCreate(java.lang.Long argTradingId, org.w3c.dom.Element argElement) throws javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException, javax.ejb.RemoveException
public void ejbPostCreate(java.lang.Long argTradingId, org.w3c.dom.Element argElement) throws javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException, javax.ejb.RemoveException
public java.lang.String getCurrency()
This method provides access to the TERMCOND.STRINGFIELD1 column of DB2 type VARCHAR(3200) NULL.
The following is a description of this column:
A STRING field used to store terms and conditions data.
public java.lang.Integer getNumberOfDays()
This method provides access to the TERMCOND.INTEGERFIELD1 column of DB2 type INTEGER NULL.
The following is a description of this column:
An INTEGER field used to store terms and conditions data.
public java.math.BigDecimal getValue()
This method provides access to the TERMCOND.DECIMALFIELD1 column of DB2 type DECIMAL(20,5) NULL.
The following is a description of this column:
A DECIMAL field used to store terms and conditions data.
public java.lang.String getXMLString() throws javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method retrieves the XML String associated with the terms and conditions.
No terms and conditions data will be included in this XML String.
public java.lang.String getXMLString(boolean tcdata) throws javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
public void parseXMLElement(org.w3c.dom.Element argElement) throws javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException, javax.ejb.RemoveException
public void setCurrency(java.lang.String newValue)
This method provides access to the TERMCOND.STRINGFIELD1 column of DB2 type VARCHAR(3200) NULL.
The following is a description of this column:
A STRING field used to store terms and conditions data.
public void setNumberOfDays(java.lang.Integer newValue)
This method provides access to the TERMCOND.INTEGERFIELD1 column of DB2 type INTEGER NULL.
The following is a description of this column:
An INTEGER field used to store terms and conditions data.
public void setValue(java.math.BigDecimal newValue)
This method provides access to the TERMCOND.DECIMALFIELD1 column of DB2 type DECIMAL(20,5) NULL.
The following is a description of this column:
A DECIMAL field used to store terms and conditions data.