|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
com.ibm.commerce.contract.objects.ContractBean
This bean provides access to the CONTRACT table.
The following is a description of this table:
Each row of this table represents a Contract. A Contract is part of a Store, and represents terms and conditions that may be associated with OrderItems, such as prices, minimum quantities, and who can use the Contract.
Constructor Summary | |
ContractBean()
|
Method Summary | |
java.lang.Integer |
getMajorVersion()
This method provides access to the CONTRACT.MAJORVERSION column of DB2 type INTEGER NOT NULL. |
java.lang.Integer |
getMarkForDelete()
This method provides access to the CONTRACT.MARKFORDELETE column of DB2 type INTEGER NOT NULL. |
java.lang.Integer |
getMinorVersion()
This method provides access to the CONTRACT.MINORVERSION column of DB2 type INTEGER NOT NULL. |
java.lang.String |
getName()
This method provides access to the CONTRACT.NAME column of DB2 type VARCHAR(200) NOT NULL. |
java.lang.Integer |
getOrigin()
This method provides access to the CONTRACT.ORIGIN column of DB2 type INTEGER NOT NULL. |
java.lang.Long |
getOwnerReferenceNumber()
This method provides access to the CONTRACT.MEMBER_ID column of DB2 type BIGINT NOT NULL. |
java.lang.Long |
getReferenceNumber()
This method provides access to the CONTRACT.MEMBER_ID column of DB2 type BIGINT NOT NULL. |
java.lang.Integer |
getState()
This method provides access to the CONTRACT.STATE column of DB2 type INTEGER NOT NULL. |
java.sql.Timestamp |
getTimeActivated()
This method provides access to the CONTRACT.TIMEACTIVATED column of DB2 type TIMESTAMP NULL. |
java.sql.Timestamp |
getTimeApproved()
This method provides access to the CONTRACT.TIMEAPPROVED column of DB2 type TIMESTAMP NULL. |
java.sql.Timestamp |
getTimeCreated()
This method provides access to the CONTRACT.TIMECREATED column of DB2 type TIMESTAMP NULL. |
java.sql.Timestamp |
getTimeDeployed()
This method provides access to the CONTRACT.TIMEDEPLOYED column of DB2 type TIMESTAMP NULL. |
java.sql.Timestamp |
getTimeUpdated()
This method provides access to the CONTRACT.TIMEUPDATED column of DB2 type TIMESTAMP NULL. |
java.lang.Integer |
getUsage()
This method provides access to the CONTRACT.USAGE column of DB2 type INTEGER NOT NULL. |
void |
setMajorVersion(java.lang.Integer aMajorVersion)
This method provides access to the CONTRACT.MAJORVERSION column of DB2 type INTEGER NOT NULL. |
void |
setMarkForDelete(java.lang.Integer aMarkForDelete)
This method provides access to the CONTRACT.MARKFORDELETE column of DB2 type INTEGER NOT NULL. |
void |
setMinorVersion(java.lang.Integer aMinorVersion)
This method provides access to the CONTRACT.MINORVERSION column of DB2 type INTEGER NOT NULL. |
void |
setName(java.lang.String aName)
This method provides access to the CONTRACT.NAME column of DB2 type VARCHAR(200) NOT NULL. |
void |
setOrigin(java.lang.Integer aOrigin)
This method provides access to the CONTRACT.ORIGIN column of DB2 type INTEGER NOT NULL. |
void |
setOwnerReferenceNumber(java.lang.Long aOwnerReferenceNumber)
This method provides access to the CONTRACT.MEMBER_ID column of DB2 type BIGINT NOT NULL. |
void |
setReferenceNumber(java.lang.Long aReferenceNumber)
This method provides access to the CONTRACT.MEMBER_ID column of DB2 type BIGINT NOT NULL. |
void |
setState(java.lang.Integer aState)
This method provides access to the CONTRACT.STATE column of DB2 type INTEGER NOT NULL. |
void |
setTimeActivated(java.sql.Timestamp aTimeActivated)
This method provides access to the CONTRACT.TIMEACTIVATED column of DB2 type TIMESTAMP NULL. |
void |
setTimeApproved(java.sql.Timestamp aTimeApproved)
This method provides access to the CONTRACT.TIMEAPPROVED column of DB2 type TIMESTAMP NULL. |
void |
setTimeCreated(java.sql.Timestamp aTimeCreated)
This method provides access to the CONTRACT.TIMECREATED column of DB2 type TIMESTAMP NULL. |
void |
setTimeDeployed(java.sql.Timestamp aTimeDeployed)
This method provides access to the CONTRACT.TIMEDEPLOYED column of DB2 type TIMESTAMP NULL. |
void |
setTimeUpdated(java.sql.Timestamp aTimeUpdated)
This method provides access to the CONTRACT.TIMEUPDATED column of DB2 type TIMESTAMP NULL. |
void |
setUsage(java.lang.Integer aUsage)
This method provides access to the CONTRACT.USAGE column of DB2 type INTEGER NOT NULL. |
Constructor Detail |
public ContractBean()
Method Detail |
public java.lang.Integer getMajorVersion()
This method provides access to the CONTRACT.MAJORVERSION column of DB2 type INTEGER NOT NULL.
The following is a description of this column:
Major version number of the Contract.
public java.lang.Integer getMarkForDelete()
This method provides access to the CONTRACT.MARKFORDELETE column of DB2 type INTEGER NOT NULL.
The following is a description of this column:
Indicates if this Contract has been marked for deletion:
0 = No.
1 = Yes, this Contract has been marked for deletion.
public java.lang.Integer getMinorVersion()
This method provides access to the CONTRACT.MINORVERSION column of DB2 type INTEGER NOT NULL.
The following is a description of this column:
Minor version number of the Contract.
public java.lang.String getName()
This method provides access to the CONTRACT.NAME column of DB2 type VARCHAR(200) NOT NULL.
The following is a description of this column:
Uniquely identifies a version of a Contract of a particular Origin for a particular owner.
public java.lang.Integer getOrigin()
This method provides access to the CONTRACT.ORIGIN column of DB2 type INTEGER NOT NULL.
The following is a description of this column:
How the Contract was created:
0 = manual.
1 = imported.
2 = RFQ.
3 = exchange.
4 = auction.
5 = reverse auction.
6 = 2-party negotiation.
public java.lang.Long getOwnerReferenceNumber()
This method provides access to the CONTRACT.MEMBER_ID column of DB2 type BIGINT NOT NULL.
The following is a description of this column:
Owner of the Contract.
public java.lang.Long getReferenceNumber()
This method provides access to the CONTRACT.MEMBER_ID column of DB2 type BIGINT NOT NULL.
The following is a description of this column:
Owner of the Contract.
public java.lang.Integer getState()
This method provides access to the CONTRACT.STATE column of DB2 type INTEGER NOT NULL.
The following is a description of this column:
Contract state:
0 = draft.
1 = pending approval.
2 = approved.
3 = active.
4 = rejected.
5 = canceled.
6 = closed.
7 = suspended.
-1 = deployment in progress.
-2 = deployment failed.
public java.sql.Timestamp getTimeActivated()
This method provides access to the CONTRACT.TIMEACTIVATED column of DB2 type TIMESTAMP NULL.
The following is a description of this column:
The time the Contract was activated.
public java.sql.Timestamp getTimeApproved()
This method provides access to the CONTRACT.TIMEAPPROVED column of DB2 type TIMESTAMP NULL.
The following is a description of this column:
The time the Contract was approved.
public java.sql.Timestamp getTimeCreated()
This method provides access to the CONTRACT.TIMECREATED column of DB2 type TIMESTAMP NULL.
The following is a description of this column:
The time the Contract was created.
public java.sql.Timestamp getTimeDeployed()
This method provides access to the CONTRACT.TIMEDEPLOYED column of DB2 type TIMESTAMP NULL.
The following is a description of this column:
The time the Contract was deployed.
public java.sql.Timestamp getTimeUpdated()
This method provides access to the CONTRACT.TIMEUPDATED column of DB2 type TIMESTAMP NULL.
The following is a description of this column:
The time the Contract was most recently updated.
public java.lang.Integer getUsage()
This method provides access to the CONTRACT.USAGE column of DB2 type INTEGER NOT NULL.
The following is a description of this column:
Contract usage:
0 = default.
1 = reseller.
2 = organization buyer.
3 = special bid.
public void setMajorVersion(java.lang.Integer aMajorVersion)
This method provides access to the CONTRACT.MAJORVERSION column of DB2 type INTEGER NOT NULL.
The following is a description of this column:
Major version number of the Contract.
aMajorVersion
- java.lang.Integerpublic void setMarkForDelete(java.lang.Integer aMarkForDelete)
This method provides access to the CONTRACT.MARKFORDELETE column of DB2 type INTEGER NOT NULL.
The following is a description of this column:
Indicates if this Contract has been marked for deletion:
0 = No.
1 = Yes, this Contract has been marked for deletion.
aMarkForDelete
- java.lang.Integerpublic void setMinorVersion(java.lang.Integer aMinorVersion)
This method provides access to the CONTRACT.MINORVERSION column of DB2 type INTEGER NOT NULL.
The following is a description of this column:
Minor version number of the Contract.
aMinorVersion
- java.lang.Integerpublic void setName(java.lang.String aName)
This method provides access to the CONTRACT.NAME column of DB2 type VARCHAR(200) NOT NULL.
The following is a description of this column:
Uniquely identifies a version of a Contract of a particular Origin for a particular owner.
aName
- java.lang.Stringpublic void setOrigin(java.lang.Integer aOrigin)
This method provides access to the CONTRACT.ORIGIN column of DB2 type INTEGER NOT NULL.
The following is a description of this column:
How the Contract was created:
0 = manual.
1 = imported.
2 = RFQ.
3 = exchange.
4 = auction.
5 = reverse auction.
6 = 2-party negotiation.
aOrigin
- java.lang.Integerpublic void setOwnerReferenceNumber(java.lang.Long aOwnerReferenceNumber)
This method provides access to the CONTRACT.MEMBER_ID column of DB2 type BIGINT NOT NULL.
The following is a description of this column:
Owner of the Contract.
aOwnerReferenceNumber
- java.lang.Longpublic void setReferenceNumber(java.lang.Long aReferenceNumber)
This method provides access to the CONTRACT.MEMBER_ID column of DB2 type BIGINT NOT NULL.
The following is a description of this column:
Owner of the Contract.
aReferenceNumber
- java.lang.Longpublic void setState(java.lang.Integer aState)
This method provides access to the CONTRACT.STATE column of DB2 type INTEGER NOT NULL.
The following is a description of this column:
Contract state:
0 = draft.
1 = pending approval.
2 = approved.
3 = active.
4 = rejected.
5 = canceled.
6 = closed.
7 = suspended.
-1 = deployment in progress.
-2 = deployment failed.
aState
- java.lang.Integerpublic void setTimeActivated(java.sql.Timestamp aTimeActivated)
This method provides access to the CONTRACT.TIMEACTIVATED column of DB2 type TIMESTAMP NULL.
The following is a description of this column:
The time the Contract was activated.
aTimeActivated
- java.sql.Timestamppublic void setTimeApproved(java.sql.Timestamp aTimeApproved)
This method provides access to the CONTRACT.TIMEAPPROVED column of DB2 type TIMESTAMP NULL.
The following is a description of this column:
The time the Contract was approved.
aTimeApproved
- java.sql.Timestamppublic void setTimeCreated(java.sql.Timestamp aTimeCreated)
This method provides access to the CONTRACT.TIMECREATED column of DB2 type TIMESTAMP NULL.
The following is a description of this column:
The time the Contract was created.
aTimeCreated
- java.sql.Timestamppublic void setTimeDeployed(java.sql.Timestamp aTimeDeployed)
This method provides access to the CONTRACT.TIMEDEPLOYED column of DB2 type TIMESTAMP NULL.
The following is a description of this column:
The time the Contract was deployed.
aTimeDeployed
- java.sql.Timestamppublic void setTimeUpdated(java.sql.Timestamp aTimeUpdated)
This method provides access to the CONTRACT.TIMEUPDATED column of DB2 type TIMESTAMP NULL.
The following is a description of this column:
The time the Contract was most recently updated.
aTimeUpdated
- java.sql.Timestamppublic void setUsage(java.lang.Integer aUsage)
This method provides access to the CONTRACT.USAGE column of DB2 type INTEGER NOT NULL.
The following is a description of this column:
Contract usage:
0 = default.
1 = reseller.
2 = organization buyer.
3 = special bid.
aUsage
- java.lang.Integer
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |