com.ibm.commerce.contract.objects
Class TermConditionBean

com.ibm.commerce.contract.objects.TermConditionBean
Direct Known Subclasses:
DisplayCustomizationTCBean, FulfillmentTCBean, InvoiceTCBean, ObligationToBuyTCByAmountBean, OrderApprovalTCBean, OrderTCOrderCommentBean, OrderTCOrderItemPAttributeBean, PaymentTCBean, POTCBlanketBean, POTCIndividualBean, POTCLimitedBean, PriceTCCustomPriceListBean, PriceTCMasterCatalogWithOptionalAdjustmentBean, PriceTCPriceListWithOptionalAdjustmentBean, PriceTCPriceListWithSelectiveAdjustmentBean, ProductSetTCCustomExclusionBean, ProductSetTCCustomInclusionBean, ProductSetTCExclusionBean, ProductSetTCInclusionBean, ReturnTCRefundPaymentMethodBean, ReturnTCReturnChargeBean, RightToBuyTCByAmountBean, ShippingTCShippingChargeBean, ShippingTCShippingModeBean, ShippingTCShipToAddressBean

public class 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.


Constructor Summary
TermConditionBean()
           
 
Method Summary
 java.lang.Integer getChangeableFlag()
          This method provides access to the TERMCOND.CHANGEABLE column of DB2 type INTEGER NOT NULL.
 java.lang.Integer getMandatoryFlag()
          This method provides access to the TERMCOND.MANDATORY column of DB2 type INTEGER NOT NULL.
 java.lang.Long getReferenceNumber()
          This method provides access to the TERMCOND.TERMCOND_ID column of DB2 type BIGINT NOT NULL.
 java.lang.Integer getTcSequence()
          This method provides access to the TERMCOND.SEQUENCE column of DB2 type INTEGER NOT NULL.
 java.sql.Timestamp getTimeCreated()
          This method provides access to the TERMCOND.TIMECREATED column of DB2 type TIMESTAMP NULL.
 java.sql.Timestamp getTimeUpdated()
          This method provides access to the TERMCOND.TIMEUPDATED column of DB2 type TIMESTAMP NULL.
 java.lang.Long getTradingId()
          This method provides access to the TERMCOND.TRADING_ID column of DB2 type BIGINT NOT NULL.
 void setChangeableFlag(java.lang.Integer aChangeableFlag)
          This method provides access to the TERMCOND.CHANGEABLE column of DB2 type INTEGER NOT NULL.
 void setMandatoryFlag(java.lang.Integer aMandatoryFlag)
          This method provides access to the TERMCOND.MANDATORY column of DB2 type INTEGER NOT NULL.
 void setReferenceNumber(java.lang.Long aReferenceNumber)
          This method provides access to the TERMCOND.TERMCOND_ID column of DB2 type BIGINT NOT NULL.
 void setTcSequence(java.lang.Integer aTcSequence)
          This method provides access to the TERMCOND.SEQUENCE column of DB2 type INTEGER NOT NULL.
 void setTimeCreated(java.sql.Timestamp aTimeCreated)
          This method provides access to the TERMCOND.TIMECREATED column of DB2 type TIMESTAMP NULL.
 void setTimeUpdated(java.sql.Timestamp aTimeUpdated)
          This method provides access to the TERMCOND.TIMEUPDATED column of DB2 type TIMESTAMP NULL.
 void setTradingId(java.lang.Long aTradingId)
          This method provides access to the TERMCOND.TRADING_ID column of DB2 type BIGINT NOT NULL.
 

Constructor Detail

TermConditionBean

public TermConditionBean()
Method Detail

getChangeableFlag

public java.lang.Integer getChangeableFlag()

This method provides access to the TERMCOND.CHANGEABLE column of DB2 type INTEGER NOT NULL.

The following is a description of this column:

This column indicates if the trading agreement participant can change the term. (0 - no; 1 - yes).

Returns:
java.lang.Integer

getMandatoryFlag

public java.lang.Integer getMandatoryFlag()

This method provides access to the TERMCOND.MANDATORY column of DB2 type INTEGER NOT NULL.

The following is a description of this column:

This column is used to indicate if the trading agreement participant must respond to this term during negotiation. (0 - no; 1 - yes).

Returns:
java.lang.Integer

getReferenceNumber

public java.lang.Long getReferenceNumber()

This method provides access to the TERMCOND.TERMCOND_ID column of DB2 type BIGINT NOT NULL.

The following is a description of this column:

Primary key and internal reference number for this term.

Returns:
java.lang.Long

getTcSequence

public java.lang.Integer getTcSequence()

This method provides access to the TERMCOND.SEQUENCE column of DB2 type INTEGER NOT NULL.

The following is a description of this column:

This column contains a number indicating the sequence of the term within a trading agreement. This number must be unique within a trading agreement.

Returns:
java.lang.Integer

getTimeCreated

public java.sql.Timestamp getTimeCreated()

This method provides access to the TERMCOND.TIMECREATED column of DB2 type TIMESTAMP NULL.

The following is a description of this column:

Time created.

Returns:
java.sql.Timestamp

getTimeUpdated

public java.sql.Timestamp getTimeUpdated()

This method provides access to the TERMCOND.TIMEUPDATED column of DB2 type TIMESTAMP NULL.

The following is a description of this column:

Time updated.

Returns:
java.sql.Timestamp

getTradingId

public java.lang.Long getTradingId()

This method provides access to the TERMCOND.TRADING_ID column of DB2 type BIGINT NOT NULL.

The following is a description of this column:

Foreign key to TRADING table. This column indicates the trading agreement this term belongs to.

Returns:
java.lang.Long

setChangeableFlag

public void setChangeableFlag(java.lang.Integer aChangeableFlag)

This method provides access to the TERMCOND.CHANGEABLE column of DB2 type INTEGER NOT NULL.

The following is a description of this column:

This column indicates if the trading agreement participant can change the term. (0 - no; 1 - yes).

Parameters:
aChangeableFlag - java.lang.Integer
Returns:
void

setMandatoryFlag

public void setMandatoryFlag(java.lang.Integer aMandatoryFlag)

This method provides access to the TERMCOND.MANDATORY column of DB2 type INTEGER NOT NULL.

The following is a description of this column:

This column is used to indicate if the trading agreement participant must respond to this term during negotiation. (0 - no; 1 - yes).

Parameters:
aMandatoryFlag - java.lang.Integer
Returns:
void

setReferenceNumber

public void setReferenceNumber(java.lang.Long aReferenceNumber)

This method provides access to the TERMCOND.TERMCOND_ID column of DB2 type BIGINT NOT NULL.

The following is a description of this column:

Primary key and internal reference number for this term.

Parameters:
aReferenceNumber - java.lang.Long
Returns:
void

setTcSequence

public void setTcSequence(java.lang.Integer aTcSequence)

This method provides access to the TERMCOND.SEQUENCE column of DB2 type INTEGER NOT NULL.

The following is a description of this column:

This column contains a number indicating the sequence of the term within a trading agreement. This number must be unique within a trading agreement.

Parameters:
aTcSequence - java.lang.Integer
Returns:
void

setTimeCreated

public void setTimeCreated(java.sql.Timestamp aTimeCreated)

This method provides access to the TERMCOND.TIMECREATED column of DB2 type TIMESTAMP NULL.

The following is a description of this column:

Time created.

Parameters:
aTimeCreated - java.sql.Timestamp
Returns:
void

setTimeUpdated

public void setTimeUpdated(java.sql.Timestamp aTimeUpdated)

This method provides access to the TERMCOND.TIMEUPDATED column of DB2 type TIMESTAMP NULL.

The following is a description of this column:

Time updated.

Parameters:
aTimeUpdated - java.sql.Timestamp
Returns:
void

setTradingId

public void setTradingId(java.lang.Long aTradingId)

This method provides access to the TERMCOND.TRADING_ID column of DB2 type BIGINT NOT NULL.

The following is a description of this column:

Foreign key to TRADING table. This column indicates the trading agreement this term belongs to.

Parameters:
aTradingId - java.lang.Long
Returns:
void