com.ibm.commerce.contract.objects
Interface ContractAccessBeanData

All Known Implementing Classes:
ContractAccessBean

public interface ContractAccessBeanData

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

getTimeApproved

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.

Returns:
The time the contract was approved.
Throws:
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.

setTimeApproved

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.

Parameters:
newValue - The time the contract was approved.

getTimeActivated

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.

Returns:
The time the contract was activated.
Throws:
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.

setTimeActivated

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.

Parameters:
newValue - The time the contract was activated.

getState

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.

Throws:
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.

setState

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.

Parameters:
newValue - The state of the contract.

getTimeUpdated

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.

Returns:
The time the contract was most recently updated.
Throws:
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.

setTimeUpdated

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.

Parameters:
newValue - The time the contract was most recently updated.

getMajorVersion

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.

Returns:
The major version number of the contract.
Throws:
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.

setMajorVersion

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.

Parameters:
newValue - The major version number of the contract.

getMarkForDelete

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.

Returns:
The indication flag representating whether this contract has been marked for deletion.
Throws:
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.

setMarkForDelete

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.

Parameters:
newValue - The indication flag representating whether this contract has been marked for deletion.

getOwnerReferenceNumber

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.

Returns:
The ID of the contract owner.
Throws:
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.

setOwnerReferenceNumber

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.

Parameters:
newValue - The ID of the contract owner.

getTimeDeployed

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.

Returns:
The time the contract was deployed.
Throws:
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.

setTimeDeployed

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.

Parameters:
newValue - The time the contract was deployed.

getUsage

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.

Returns:
The usage of the contract.
Throws:
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.

setUsage

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.

Parameters:
newValue - The usage of the contract.

getOrigin

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.

Returns:
The origin of the contract.
Throws:
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.

setOrigin

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.

Parameters:
newValue - The origin of the contract.

getComments

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.

Returns:
The comments of the contract.
Throws:
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.

setComments

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.

Parameters:
newValue - The comments of the contract.

getTimeCreated

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.

Returns:
The time the contract was created.
Throws:
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.

setTimeCreated

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.

Parameters:
newValue - The time the contract was created.

getName

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.

Returns:
The name of the contract.
Throws:
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.

setName

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.

Parameters:
newValue - The name of the contract.

getReferenceNumber

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.

Returns:
The ID of the contract.
Throws:
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.

setReferenceNumber

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.

Parameters:
newValue - The ID of the contract.

getMinorVersion

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.

Returns:
The minor version number of the contract.
Throws:
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.

setMinorVersion

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.

Parameters:
newValue - The minor version number of the contract.