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.
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.
Method Summary | |
---|---|
java.lang.String |
getComments() Provides access to the CONTRACT.COMMENTS column of DB2 type LONG NULL. |
java.lang.String |
getMajorVersion() Provides access to the CONTRACT.MAJORVERSION column of DB2 type INTEGER NOT NULL. |
java.lang.String |
getMarkForDelete() Provides access to the CONTRACT.MARKFORDELETE column of DB2 type INTEGER NOT NULL. |
java.lang.String |
getMinorVersion() Provides access to the CONTRACT.MINORVERSION column of DB2 type INTEGER NOT NULL. |
java.lang.String |
getName() Provides access to the CONTRACT.NAME column of DB2 type VARCHAR(200) NOT NULL. |
java.lang.String |
getOrigin() Provides access to the CONTRACT.ORIGIN column of DB2 type INTEGER NOT NULL. |
java.lang.String |
getOwnerReferenceNumber() Provides access to the CONTRACT.MEMBER_ID column of DB2 type BIGINT NOT NULL. |
java.lang.String |
getReferenceNumber() Provides access to the CONTRACT.CONTRACT_ID column of DB2 type BIGINT NOT NULL. |
java.lang.String |
getState() Provides access to the CONTRACT.STATE column of DB2 type INTEGER NOT NULL. |
java.lang.String |
getTimeActivated() Provides access to the CONTRACT.TIMEACTIVATED column of DB2 type TIMESTAMP NULL. |
java.lang.String |
getTimeApproved() Provides access to the CONTRACT.TIMEAPPROVED column of DB2 type TIMESTAMP NULL. |
java.lang.String |
getTimeCreated() Provides access to the CONTRACT.TIMECREATED column of DB2 type TIMESTAMP NULL. |
java.lang.String |
getTimeDeployed() Provides access to the CONTRACT.TIMEDEPLOYED column of DB2 type TIMESTAMP NULL. |
java.lang.String |
getTimeUpdated() Provides access to the CONTRACT.TIMEUPDATED column of DB2 type TIMESTAMP NULL. |
java.lang.String |
getUsage() Provides access to the CONTRACT.USAGE column of DB2 type INTEGER NOT NULL. |
void |
setComments(java.lang.String newValue) Provides access to the CONTRACT.COMMENTS column of DB2 type LONG NULL. |
void |
setMajorVersion(java.lang.String newValue) Provides access to the CONTRACT.MAJORVERSION column of DB2 type INTEGER NOT NULL. |
void |
setMarkForDelete(java.lang.String newValue) Provides access to the CONTRACT.MARKFORDELETE column of DB2 type INTEGER NOT NULL. |
void |
setMinorVersion(java.lang.String newValue) Provides access to the CONTRACT.MINORVERSION column of DB2 type INTEGER NOT NULL. |
void |
setName(java.lang.String newValue) Provides access to the CONTRACT.NAME column of DB2 type VARCHAR(200) NOT NULL. |
void |
setOrigin(java.lang.String newValue) Provides access to the CONTRACT.ORIGIN column of DB2 type INTEGER NOT NULL. |
void |
setOwnerReferenceNumber(java.lang.String newValue) Provides access to the CONTRACT.MEMBER_ID column of DB2 type BIGINT NOT NULL. |
void |
setReferenceNumber(java.lang.String newValue) Provides access to the CONTRACT.CONTRACT_ID column of DB2 type BIGINT NOT NULL. |
void |
setState(java.lang.String newValue) Provides access to the CONTRACT.STATE column of DB2 type INTEGER NOT NULL. |
void |
setTimeActivated(java.lang.String newValue) Provides access to the CONTRACT.TIMEACTIVATED column of DB2 type TIMESTAMP NULL. |
void |
setTimeApproved(java.lang.String newValue) Provides access to the CONTRACT.TIMEAPPROVED column of DB2 type TIMESTAMP NULL. |
void |
setTimeCreated(java.lang.String newValue) Provides access to the CONTRACT.TIMECREATED column of DB2 type TIMESTAMP NULL. |
void |
setTimeDeployed(java.lang.String newValue) Provides access to the CONTRACT.TIMEDEPLOYED column of DB2 type TIMESTAMP NULL. |
void |
setTimeUpdated(java.lang.String newValue) Provides access to the CONTRACT.TIMEUPDATED column of DB2 type TIMESTAMP NULL. |
void |
setUsage(java.lang.String newValue)
Provides access to the CONTRACT.USAGE column of DB2 type INTEGER NOT
NULL. |
Method Detail |
---|
public java.lang.String getTimeApproved() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
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.
java.rmi.RemoteException
- The java.rmi.RemoteException
exception.javax.ejb.CreateException
- The javax.ejb.CreateException
exception.javax.ejb.FinderException
- The javax.ejb.FinderException
exception.javax.naming.NamingException
- The
javax.naming.NamingException exception.public void setTimeApproved(java.lang.String newValue)
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.
newValue
- The time the contract was
approved.public java.lang.String getTimeActivated() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
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.
java.rmi.RemoteException
- The java.rmi.RemoteException
exception.javax.ejb.CreateException
- The javax.ejb.CreateException
exception.javax.ejb.FinderException
- The javax.ejb.FinderException
exception.javax.naming.NamingException
- The
javax.naming.NamingException exception.public void setTimeActivated(java.lang.String newValue)
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.
newValue
- The time the contract was
activated.public java.lang.String getState() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
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.
java.rmi.RemoteException
- The java.rmi.RemoteException
exception.javax.ejb.CreateException
- The javax.ejb.CreateException
exception.javax.ejb.FinderException
- The javax.ejb.FinderException
exception.javax.naming.NamingException
- The
javax.naming.NamingException exception.public void setState(java.lang.String newValue)
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.
newValue
- The state of the contract.public java.lang.String getTimeUpdated() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
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.
java.rmi.RemoteException
- The java.rmi.RemoteException
exception.javax.ejb.CreateException
- The javax.ejb.CreateException
exception.javax.ejb.FinderException
- The javax.ejb.FinderException
exception.javax.naming.NamingException
- The
javax.naming.NamingException exception.public void setTimeUpdated(java.lang.String newValue)
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.
newValue
- The time the contract was most recently
updated.public java.lang.String getMajorVersion() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
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.
java.rmi.RemoteException
- The java.rmi.RemoteException
exception.javax.ejb.CreateException
- The javax.ejb.CreateException
exception.javax.ejb.FinderException
- The javax.ejb.FinderException
exception.javax.naming.NamingException
- The
javax.naming.NamingException exception.public void setMajorVersion(java.lang.String newValue)
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.
newValue
- The major version number of the
contract.public java.lang.String getMarkForDelete() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
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.
java.rmi.RemoteException
- The java.rmi.RemoteException
exception.javax.ejb.CreateException
- The javax.ejb.CreateException
exception.javax.ejb.FinderException
- The javax.ejb.FinderException
exception.javax.naming.NamingException
- The
javax.naming.NamingException exception.public void setMarkForDelete(java.lang.String newValue)
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.
newValue
- The indication flag representating whether this
contract has been marked for deletion.public java.lang.String getOwnerReferenceNumber() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
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.
java.rmi.RemoteException
- The java.rmi.RemoteException
exception.javax.ejb.CreateException
- The javax.ejb.CreateException
exception.javax.ejb.FinderException
- The javax.ejb.FinderException
exception.javax.naming.NamingException
- The
javax.naming.NamingException exception.public void setOwnerReferenceNumber(java.lang.String newValue)
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.
newValue
- The ID of the contract owner.public java.lang.String getTimeDeployed() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
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.
java.rmi.RemoteException
- The java.rmi.RemoteException
exception.javax.ejb.CreateException
- The javax.ejb.CreateException
exception.javax.ejb.FinderException
- The javax.ejb.FinderException
exception.javax.naming.NamingException
- The
javax.naming.NamingException exception.public void setTimeDeployed(java.lang.String newValue)
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.
newValue
- The time the contract was
deployed.public java.lang.String getUsage() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
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 = organization buyer.
2 = reseller.
3 = special bid.
4 = referral.
java.rmi.RemoteException
- The java.rmi.RemoteException
exception.javax.ejb.CreateException
- The javax.ejb.CreateException
exception.javax.ejb.FinderException
- The javax.ejb.FinderException
exception.javax.naming.NamingException
- The
javax.naming.NamingException exception.public void setUsage(java.lang.String newValue)
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 = organization buyer.
2 = reseller.
3 = special bid.
4 = referral.
newValue
- The usage of the contract.public java.lang.String getOrigin() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
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.
java.rmi.RemoteException
- The java.rmi.RemoteException
exception.javax.ejb.CreateException
- The javax.ejb.CreateException
exception.javax.ejb.FinderException
- The javax.ejb.FinderException
exception.javax.naming.NamingException
- The
javax.naming.NamingException exception.public void setOrigin(java.lang.String newValue)
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.
newValue
- The origin of the contract.public java.lang.String getComments() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
Provides access to the CONTRACT.COMMENTS column of DB2 type LONG NULL.
The following is a description of this column:
A comment associated with the Contract.
java.rmi.RemoteException
- The java.rmi.RemoteException
exception.javax.ejb.CreateException
- The javax.ejb.CreateException
exception.javax.ejb.FinderException
- The javax.ejb.FinderException
exception.javax.naming.NamingException
- The
javax.naming.NamingException exception.public void setComments(java.lang.String newValue)
Provides access to the CONTRACT.COMMENTS column of DB2 type LONG NULL.
The following is a description of this column:
A comment associated with the Contract.
newValue
- The comments of the contract.public java.lang.String getTimeCreated() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
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.
java.rmi.RemoteException
- The java.rmi.RemoteException
exception.javax.ejb.CreateException
- The javax.ejb.CreateException
exception.javax.ejb.FinderException
- The javax.ejb.FinderException
exception.javax.naming.NamingException
- The
javax.naming.NamingException exception.public void setTimeCreated(java.lang.String newValue)
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.
newValue
- The time the contract was
created.public java.lang.String getName() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
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.
java.rmi.RemoteException
- The java.rmi.RemoteException
exception.javax.ejb.CreateException
- The javax.ejb.CreateException
exception.javax.ejb.FinderException
- The javax.ejb.FinderException
exception.javax.naming.NamingException
- The
javax.naming.NamingException exception.public void setName(java.lang.String newValue)
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.
newValue
- The name of the contract.public java.lang.String getReferenceNumber() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
Provides access to the CONTRACT.CONTRACT_ID column of DB2 type BIGINT NOT NULL.
The following is a description of this column:
Unique identifier for a contract. Foreign key to TRADING_ID in the TRADING database table.
java.rmi.RemoteException
- The java.rmi.RemoteException
exception.javax.ejb.CreateException
- The javax.ejb.CreateException
exception.javax.ejb.FinderException
- The javax.ejb.FinderException
exception.javax.naming.NamingException
- The
javax.naming.NamingException exception.public void setReferenceNumber(java.lang.String newValue)
Provides access to the CONTRACT.CONTRACT_ID column of DB2 type BIGINT NOT NULL.
The following is a description of this column:
Unique identifier for a contract. Foreign key to TRADING_ID in the TRADING database table.
newValue
- The ID of the contract.public java.lang.String getMinorVersion() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
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.
java.rmi.RemoteException
- The java.rmi.RemoteException
exception.javax.ejb.CreateException
- The javax.ejb.CreateException
exception.javax.ejb.FinderException
- The javax.ejb.FinderException
exception.javax.naming.NamingException
- The
javax.naming.NamingException exception.public void setMinorVersion(java.lang.String newValue)
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.
newValue
- The minor version number of the
contract.