com.ibm.commerce.contract.objimpl
Class ContractDisplayBeanBase

java.lang.Object
  |
  +--com.ibm.commerce.base.objects.ECEntityBean
        |
        +--com.ibm.commerce.contract.objimpl.ContractDisplayBeanBase
Direct Known Subclasses:
ContractDisplayBean

public class ContractDisplayBeanBase
extends com.ibm.commerce.base.objects.ECEntityBean

Provides access to the CNTRDISPLY table.

The following is a description of this table:

The contract display table.

See Also:
Serialized Form

Field Summary
 java.lang.Long contractId
           
 java.lang.Integer devicefmtId
           
 java.lang.String displayPageName
           
 java.lang.Integer participantRoleId
           
 java.lang.Long referenceNumber
           
 
Constructor Summary
ContractDisplayBeanBase()
           
 
Method Summary
 com.ibm.commerce.contract.objects.ContractDisplayKey ejbCreate(java.lang.Long argContractId, java.lang.Integer argDevicefmtId, java.lang.Integer argParticipantRoleId)
          Constructs an ContractDisplayAccessBean object with the specified contract ID, device format ID, and the contract participant role ID
 java.lang.Long getContractId()
          Provides access to the CNTRDISPLY.CONTRACT_ID column of DB2 type BIGINT NULL.
 java.lang.Integer getDevicefmtId()
          Provides access to the CNTRDISPLY.DEVICEFMT_ID column of DB2 type INTEGER NOT NULL.
 java.lang.String getDisplayPageName()
          Provides access to the CNTRDISPLY.DISPLAYPAGENAME column of DB2 type VARCHAR(254) NULL.
 java.lang.Integer getParticipantRoleId()
          Provides access to the CNTRDISPLY.PARTROLE_ID column of DB2 type INTEGER NULL.
 java.lang.Long getReferenceNumber()
          Provides access to the CNTRDISPLY.CNTRDISPLY_ID column of DB2 type BIGINT NOT NULL.
 void setDisplayPageName(java.lang.String newValue)
          Provides access to the CNTRDISPLY.DISPLAYPAGENAME column of DB2 type VARCHAR(254) NULL.
 void setParticipantRoleId(java.lang.Integer newValue)
          Provides access to the CNTRDISPLY.PARTROLE_ID column of DB2 type INTEGER NULL.
 void setReferenceNumber(java.lang.Long newValue)
          Provides access to the CNTRDISPLY.CNTRDISPLY_ID column of DB2 type BIGINT NOT NULL.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

referenceNumber

public java.lang.Long referenceNumber

contractId

public java.lang.Long contractId

devicefmtId

public java.lang.Integer devicefmtId

participantRoleId

public java.lang.Integer participantRoleId

displayPageName

public java.lang.String displayPageName
Constructor Detail

ContractDisplayBeanBase

public ContractDisplayBeanBase()
Method Detail

ejbCreate

public com.ibm.commerce.contract.objects.ContractDisplayKey ejbCreate(java.lang.Long argContractId,
                                                                      java.lang.Integer argDevicefmtId,
                                                                      java.lang.Integer argParticipantRoleId)
                                                               throws javax.ejb.CreateException,
                                                                      javax.ejb.FinderException,
                                                                      javax.naming.NamingException

Constructs an ContractDisplayAccessBean object with the specified contract ID, device format ID, and the contract participant role ID

Parameters:
argContractId - The ID of the Contract.
argDevicefmtId - The ID of the device format.
argParticipantRoleId - The ID of the Participant role.
Returns:
The ContractDisplayKey of the new ContractDisplay object.
Throws:
javax.ejb.CreateException - The javax.ejb.CreateException exception.
javax.ejb.FinderException - The javax.ejb.FinderException exception.
javax.naming.NamingException - The javax.naming.NamingException exception.

getContractId

public java.lang.Long getContractId()

Provides access to the CNTRDISPLY.CONTRACT_ID column of DB2 type BIGINT NULL.

The following is a description of this column:

Contract ID. If null, this is the default display page.

Returns:
The ID of the contract.

getDevicefmtId

public java.lang.Integer getDevicefmtId()

Provides access to the CNTRDISPLY.DEVICEFMT_ID column of DB2 type INTEGER NOT NULL.

The following is a description of this column:

Device format identifier.

Returns:
The ID of the device format.

getDisplayPageName

public java.lang.String getDisplayPageName()

Provides access to the CNTRDISPLY.DISPLAYPAGENAME column of DB2 type VARCHAR(254) NULL.

The following is a description of this column:

A display page name.

Returns:
The name of the contract display page.

getParticipantRoleId

public java.lang.Integer getParticipantRoleId()

Provides access to the CNTRDISPLY.PARTROLE_ID column of DB2 type INTEGER NULL.

The following is a description of this column:

Participant role. Allows a display page based on participant role.

Returns:
The ID of the Participant role.

getReferenceNumber

public java.lang.Long getReferenceNumber()

Provides access to the CNTRDISPLY.CNTRDISPLY_ID column of DB2 type BIGINT NOT NULL.

The following is a description of this column:

Internal reference number (Primary key).

Returns:
The ID of the Contract.

setDisplayPageName

public void setDisplayPageName(java.lang.String newValue)

Provides access to the CNTRDISPLY.DISPLAYPAGENAME column of DB2 type VARCHAR(254) NULL.

The following is a description of this column:

A display page name.

Parameters:
newValue - The name of the contract display page.

setParticipantRoleId

public void setParticipantRoleId(java.lang.Integer newValue)

Provides access to the CNTRDISPLY.PARTROLE_ID column of DB2 type INTEGER NULL.

The following is a description of this column:

Participant role. Allows a display page based on participant role.

Parameters:
newValue - The ID of the Participant role.

setReferenceNumber

public void setReferenceNumber(java.lang.Long newValue)

Provides access to the CNTRDISPLY.CNTRDISPLY_ID column of DB2 type BIGINT NOT NULL.

The following is a description of this column:

Internal reference number (Primary key).

Parameters:
newValue - The ID of the Contract.