|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
com.ibm.commerce.contract.objects.TradingAgreementBean
This bean provides access to the TRADING table.
The following is a description of this table:
Each row in this table represents a trading agreement.
Constructor Summary | |
TradingAgreementBean()
|
Method Summary | |
java.lang.Long |
getAccountId()
This method provides access to the TRADING.ACCOUNT_ID column of DB2 type BIGINT NULL. |
java.lang.Integer |
getCreditAllowedFlag()
This method provides access to the TRADING.CREDITALLOWED column of DB2 type INTEGER NOT NULL. |
java.sql.Timestamp |
getEndTime()
This method provides access to the TRADING.ENDTIME column of DB2 type TIMESTAMP NULL. |
java.lang.Integer |
getMarkForDelete()
This method provides access to the TRADING.MARKFORDELETE column of DB2 type INTEGER NOT NULL. |
java.lang.Integer |
getReferenceCount()
This method provides access to the TRADING.REFERENCECOUNT column of DB2 type INTEGER NOT NULL. |
java.sql.Timestamp |
getStartTime()
This method provides access to the TRADING.STARTTIME column of DB2 type TIMESTAMP NULL. |
java.lang.Integer |
getState()
This method provides access to the TRADING.STATE column of DB2 type INTEGER NOT NULL. |
java.lang.Long |
getTradingId()
This method provides access to the TRADING.TRADING_ID column of DB2 type BIGINT NOT NULL. |
java.lang.Integer |
getTradingType()
This method provides access to the TRADING.TRDTYPE_ID column of DB2 type INTEGER NOT NULL. |
void |
setAccountId(java.lang.Long aAccountId)
This method provides access to the TRADING.ACCOUNT_ID column of DB2 type BIGINT NULL. |
void |
setCreditAllowedFlag(java.lang.Integer aCreditAllowedFlag)
This method provides access to the TRADING.CREDITALLOWED column of DB2 type INTEGER NOT NULL. |
void |
setEndTime(java.sql.Timestamp aEndTime)
This method provides access to the TRADING.ENDTIME column of DB2 type TIMESTAMP NULL. |
void |
setMarkForDelete(java.lang.Integer aMarkForDelete)
This method provides access to the TRADING.MARKFORDELETE column of DB2 type INTEGER NOT NULL. |
void |
setReferenceCount(java.lang.Integer aReferenceCount)
This method provides access to the TRADING.REFERENCECOUNT column of DB2 type INTEGER NOT NULL. |
void |
setStartTime(java.sql.Timestamp aStartTime)
This method provides access to the TRADING.STARTTIME column of DB2 type TIMESTAMP NULL. |
void |
setState(java.lang.Integer aState)
This method provides access to the TRADING.STATE column of DB2 type INTEGER NOT NULL. |
void |
setTradingId(java.lang.Long aTradingId)
This method provides access to the TRADING.TRADING_ID column of DB2 type BIGINT NOT NULL. |
void |
setTradingType(java.lang.Integer aTradingType)
This method provides access to the TRADING.TRDTYPE_ID column of DB2 type INTEGER NOT NULL. |
Constructor Detail |
public TradingAgreementBean()
Method Detail |
public java.lang.Long getAccountId()
This method provides access to the TRADING.ACCOUNT_ID column of DB2 type BIGINT NULL.
The following is a description of this column:
Account associated with this trading agreement. (No foreign key to the account table to prevent deadlock for the Database Cleanup utility.)
public java.lang.Integer getCreditAllowedFlag()
This method provides access to the TRADING.CREDITALLOWED column of DB2 type INTEGER NOT NULL.
The following is a description of this column:
This column indicates whether or not credit is allowed:
0 = No.
1 = Yes.
public java.sql.Timestamp getEndTime()
This method provides access to the TRADING.ENDTIME column of DB2 type TIMESTAMP NULL.
The following is a description of this column:
End time for the Trading Agreement. If null, no end time.
public java.lang.Integer getMarkForDelete()
This method provides access to the TRADING.MARKFORDELETE column of DB2 type INTEGER NOT NULL.
The following is a description of this column:
Indicates if this TradingAgreement has been marked for deletion:
0 = No.
1 = Yes, this TradingAgreement has been marked for deletion.
public java.lang.Integer getReferenceCount()
This method provides access to the TRADING.REFERENCECOUNT column of DB2 type INTEGER NOT NULL.
The following is a description of this column:
Number of trading mechanisms associated with this TradingAgreement
public java.sql.Timestamp getStartTime()
This method provides access to the TRADING.STARTTIME column of DB2 type TIMESTAMP NULL.
The following is a description of this column:
Start time for the Trading Agreement. If null, start immediately.
public java.lang.Integer getState()
This method provides access to the TRADING.STATE column of DB2 type INTEGER NOT NULL.
The following is a description of this column:
0=inactive, 1= active. During negotiation, this flag must be set to inactive. When an one time order from RFQ is completed, this flag should be marked inactive.
public java.lang.Long getTradingId()
This method provides access to the TRADING.TRADING_ID column of DB2 type BIGINT NOT NULL.
The following is a description of this column:
Trading agreement ID (primary key). A Trading Agreement object can be shared by more than one trading mechanism such as RFQ and Contract.
public java.lang.Integer getTradingType()
This method provides access to the TRADING.TRDTYPE_ID column of DB2 type INTEGER NOT NULL.
The following is a description of this column:
Foreign key to the trading type table.
public void setAccountId(java.lang.Long aAccountId)
This method provides access to the TRADING.ACCOUNT_ID column of DB2 type BIGINT NULL.
The following is a description of this column:
Account associated with this trading agreement. (No foreign key to the account table to prevent deadlock for the Database Cleanup utility.)
aAccountId
- java.lang.Longpublic void setCreditAllowedFlag(java.lang.Integer aCreditAllowedFlag)
This method provides access to the TRADING.CREDITALLOWED column of DB2 type INTEGER NOT NULL.
The following is a description of this column:
This column indicates whether or not credit is allowed:
0 = No.
1 = Yes.
aCreditAllowedFlag
- java.lang.Integerpublic void setEndTime(java.sql.Timestamp aEndTime)
This method provides access to the TRADING.ENDTIME column of DB2 type TIMESTAMP NULL.
The following is a description of this column:
End time for the Trading Agreement. If null, no end time.
aEndTime
- java.sql.Timestamppublic void setMarkForDelete(java.lang.Integer aMarkForDelete)
This method provides access to the TRADING.MARKFORDELETE column of DB2 type INTEGER NOT NULL.
The following is a description of this column:
Indicates if this TradingAgreement has been marked for deletion:
0 = No.
1 = Yes, this TradingAgreement has been marked for deletion.
aMarkForDelete
- java.lang.Integerpublic void setReferenceCount(java.lang.Integer aReferenceCount)
This method provides access to the TRADING.REFERENCECOUNT column of DB2 type INTEGER NOT NULL.
The following is a description of this column:
Number of trading mechanisms associated with this TradingAgreement
aReferenceCount
- java.lang.Integerpublic void setStartTime(java.sql.Timestamp aStartTime)
This method provides access to the TRADING.STARTTIME column of DB2 type TIMESTAMP NULL.
The following is a description of this column:
Start time for the Trading Agreement. If null, start immediately.
aStartTime
- java.sql.Timestamppublic void setState(java.lang.Integer aState)
This method provides access to the TRADING.STATE column of DB2 type INTEGER NOT NULL.
The following is a description of this column:
0=inactive, 1= active. During negotiation, this flag must be set to inactive. When an one time order from RFQ is completed, this flag should be marked inactive.
aState
- java.lang.Integerpublic void setTradingId(java.lang.Long aTradingId)
This method provides access to the TRADING.TRADING_ID column of DB2 type BIGINT NOT NULL.
The following is a description of this column:
Trading agreement ID (primary key). A Trading Agreement object can be shared by more than one trading mechanism such as RFQ and Contract.
aTradingId
- java.lang.Longpublic void setTradingType(java.lang.Integer aTradingType)
This method provides access to the TRADING.TRDTYPE_ID column of DB2 type INTEGER NOT NULL.
The following is a description of this column:
Foreign key to the trading type table.
aTradingType
- java.lang.Integer
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |