com.ibm.commerce.contract.objimpl
Class PolicyTCRelationBeanBase

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

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

This bean provides access to the POLICYTC table.

The following is a description of this table:

The table shows which business policy is referenced by a term or condition.

See Also:
Serialized Form

Field Summary
 java.lang.Long policyReferenceNumber
           
 java.lang.Long tcReferenceNumber
           
 
Constructor Summary
PolicyTCRelationBeanBase()
           
 
Method Summary
 com.ibm.commerce.contract.objects.PolicyTCRelationKey ejbCreate(java.lang.Long policyId, java.lang.Long tcId)
          Constructs an PolicyTCRelationAccessBean object with the specified business policy ID, and the term condition ID.
 java.lang.Long getPolicyReferenceNumber()
          This method provides access to the POLICYTC.POLICY_ID column of DB2 type BIGINT NOT NULL.
 java.lang.Long getTcReferenceNumber()
          This method provides access to the POLICYTC.TERMCOND_ID column of DB2 type BIGINT NOT NULL.
 void setPolicyReferenceNumber(java.lang.Long newValue)
          This method provides access to the POLICYTC.POLICY_ID column of DB2 type BIGINT NOT NULL.
 void setTcReferenceNumber(java.lang.Long newValue)
          This method provides access to the POLICYTC.TERMCOND_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

policyReferenceNumber

public java.lang.Long policyReferenceNumber

tcReferenceNumber

public java.lang.Long tcReferenceNumber
Constructor Detail

PolicyTCRelationBeanBase

public PolicyTCRelationBeanBase()
Method Detail

ejbCreate

public com.ibm.commerce.contract.objects.PolicyTCRelationKey ejbCreate(java.lang.Long policyId,
                                                                       java.lang.Long tcId)
                                                                throws javax.ejb.CreateException
Constructs an PolicyTCRelationAccessBean object with the specified business policy ID, and the term condition ID.
Parameters:
policyId - The ID of the business policy.
tcId - The ID of the terms and conditions.
Throws:
javax.ejb.CreateException - The javax.ejb.CreateException exception.

getPolicyReferenceNumber

public java.lang.Long getPolicyReferenceNumber()

This method provides access to the POLICYTC.POLICY_ID column of DB2 type BIGINT NOT NULL.

The following is a description of this column:

The policy ID.

Returns:
The ID of the business policy.

getTcReferenceNumber

public java.lang.Long getTcReferenceNumber()

This method provides access to the POLICYTC.TERMCOND_ID column of DB2 type BIGINT NOT NULL.

The following is a description of this column:

The terms and conditions ID.

Returns:
The terms and conditions ID.

setPolicyReferenceNumber

public void setPolicyReferenceNumber(java.lang.Long newValue)

This method provides access to the POLICYTC.POLICY_ID column of DB2 type BIGINT NOT NULL.

The following is a description of this column:

The policy ID.

Parameters:
newValue - The ID of the business policy.

setTcReferenceNumber

public void setTcReferenceNumber(java.lang.Long newValue)

This method provides access to the POLICYTC.TERMCOND_ID column of DB2 type BIGINT NOT NULL.

The following is a description of this column:

The terms and conditions ID.

Parameters:
newValue - The terms and conditions ID.