java.lang.Object | +--com.ibm.commerce.base.objects.ECEntityBean | +--com.ibm.commerce.contract.objimpl.PolicyTCRelationBeanBase
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.
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 |
---|
public java.lang.Long policyReferenceNumber
public java.lang.Long tcReferenceNumber
Constructor Detail |
---|
public PolicyTCRelationBeanBase()
Method Detail |
---|
public com.ibm.commerce.contract.objects.PolicyTCRelationKey ejbCreate(java.lang.Long policyId, java.lang.Long tcId) throws javax.ejb.CreateException
policyId
- The ID of the business policy.tcId
- The ID of the terms and conditions.javax.ejb.CreateException
- The javax.ejb.CreateException
exception.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.
newValue
- The ID of the business policy.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.
newValue
- The terms and conditions ID.