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. This bean accesses the database table POLICYTC
Modifier and Type | Field and Description |
---|---|
java.lang.Long | policyReferenceNumber |
java.lang.Long | tcReferenceNumber |
Constructor and Description |
---|
PolicyTCRelationBeanBase() |
Modifier and Type | Method and Description |
---|---|
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.
|
void | ejbRemove()
Called by the container when the EJB is removed.
|
void | ejbStore()
Called by the container when the EJB is persisted.
|
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.
|
public java.lang.Long policyReferenceNumber
public java.lang.Long tcReferenceNumber
public void ejbRemove() throws java.rmi.RemoteException, javax.ejb.RemoveException, javax.ejb.EJBException
public void ejbStore()
public com.ibm.commerce.contract.objects.PolicyTCRelationKey ejbCreate(java.lang.Long policyId, java.lang.Long tcId) throws javax.ejb.CreateException
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.
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.
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.
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.