com.ibm.commerce.contract.objects
Class TermConditionAccessBean

java.lang.Object
  |
  +--com.ibm.ivj.ejb.runtime.AbstractAccessBean
        |
        +--com.ibm.ivj.ejb.runtime.AbstractEntityAccessBean
              |
              +--com.ibm.commerce.contract.objects.TermConditionAccessBean
All Implemented Interfaces:
java.io.Serializable, TermConditionAccessBeanData
Direct Known Subclasses:
TermConditionCopy

public class TermConditionAccessBean
extends com.ibm.ivj.ejb.runtime.AbstractEntityAccessBean
implements TermConditionAccessBeanData

This bean provides access to the TERMCOND table.

The following is a description of this table:

This table contains terms and conditions used in trading agreements (business accounts, contracts, RFQs). To see how columns are used by different terms and conditions, refer to TERMCOND column mapping in the online help.

See Also:
Serialized Form

Fields inherited from class com.ibm.ivj.ejb.runtime.AbstractAccessBean
DEFAULT_NAMESERVICE_PROVIDER_URL, DEFAULT_NAMESERVICE_TYPE, ejbRef
 
Constructor Summary
TermConditionAccessBean()
          Default constructor.
TermConditionAccessBean(javax.ejb.EJBObject anObject)
          Creates an access bean for the specified EJB
 
Method Summary
 void commitCopyHelper()
          Update(flush) data to the EJBObject (persistent storage).
 java.lang.Long createNewVersion(java.lang.Long aNewVersion)
          This method creates a new version of the terms and conditions.
 java.util.Enumeration findAllTCWithTCLevelParticipantByTrading(java.lang.Long tradingId)
          Retrieves an Enumeration of TermConditionAccessBeans representing all terms and conditions with the specified trading agreement ID.
 java.util.Enumeration findByTrading(java.lang.Long tradingId)
          Retrieves an Enumeration of TermConditionAccessBeans representing all terms and conditions with the specified trading agreement ID.
 TermConditionAccessBean findByTradingAndSequence(java.lang.Long tradingId, java.lang.Integer tcSequence)
          Retrieves the TermConditionAccessBean representing the term condition with the specified trading agreement ID, and the term condition sequence number.
 java.util.Enumeration findByTradingAndTCSubType(java.lang.Long tradingId, java.lang.String tcSubType)
          Retrieves an Enumeration of TermConditionAccessBeans representing all terms and conditions with the specified trading agreement ID, and the term condition sub-type.
 java.util.Enumeration findByTradingAndTCSubTypeForBuyer(java.lang.Long tradingId, java.lang.String tcSubType, java.lang.Long buyerMemberId)
          Retrieves an Enumeration of TermConditionAccessBeans representing all terms and conditions with the specified trading agreement ID, term condition sub-type, and the buyer member ID.
 java.util.Enumeration findByTradingAndTCSubTypeWithoutTCParticipant(java.lang.Long tradingId, java.lang.String tcSubType)
          Retrieves an Enumeration of TermConditionAccessBeans representing all terms and conditions with the specified trading agreement ID and tcSubType, but without the terms and conditions which have tc level participant(s).
 java.util.Enumeration findByTradingAndTCType(java.lang.Long tradingId, java.lang.String tcType)
          Retrieves an Enumeration of TermConditionAccessBeans representing all terms and conditions with the specified trading agreement ID, and the term condition type.
 java.util.Enumeration findByTradingAndTCTypeForBuyer(java.lang.Long tradingId, java.lang.String tcType, java.lang.Long buyerMemberId)
          Retrieves an Enumeration of TermConditionAccessBeans representing all terms and conditions with the specified trading agreement ID, term condition type, and the buyer member ID.
 java.util.Enumeration findByTradingAndTCTypeWithoutTCParticipant(java.lang.Long aDByTradingAndTCTypeWithoutTCParticipant, java.lang.String aDByTradingAndTCTypeWithoutTCParticipant)
          Retrieves an Enumeration of TermConditionAccessBeans representing all terms and conditions with the specified trading agreement ID and tcType, but without the terms and conditions which have tc level participant(s).
 java.util.Enumeration findByTradingForBuyer(java.lang.Long tradingId, java.lang.Long buyerMemberId)
          Retrieves an Enumeration of TermConditionAccessBeans representing all terms and conditions with the specified trading agreement ID, and the buyer member ID.
 java.lang.String getChangeableFlag()
          This method provides access to the TERMCOND.CHANGEABLE column of DB2 type INTEGER NOT NULL.
 java.lang.Integer getChangeableFlagInEJBType()
          This method provides access to the TERMCOND.CHANGEABLE column of DB2 type INTEGER NOT NULL.
 TermConditionDescriptionAccessBean getDescription(java.lang.Integer langId)
          Retrieves the TermConditionDescriptionAccessBean representing the term condition description with the specified language ID.
 TermConditionDescriptionAccessBean getDescription(java.lang.Integer langId, java.lang.Integer storeId)
          Retrieves the TermConditionDescriptionAccessBean representing the term condition description with the specified language ID.
 java.lang.String getMandatoryFlag()
          This method provides access to the TERMCOND.MANDATORY column of DB2 type INTEGER NOT NULL.
 java.lang.Integer getMandatoryFlagInEJBType()
          This method provides access to the TERMCOND.MANDATORY column of DB2 type INTEGER NOT NULL.
 ParticipantAccessBean[] getParticipants()
          The method returns an array of ParticipantAccessBeans representing all the participants that the term condition has.
 BusinessPolicyAccessBean[] getPolicies()
          The method returns an array of BusinessPolicyAccessBean objects representing the business policies that the term condition has.
 BusinessPolicyAccessBean[] getPoliciesByType(java.lang.String businessPolicyType)
          The method returns an array of BusinessPolicyAccessBean representing the specified type of business policies that the term condition has.
 java.lang.String getPriceListId()
          This method provides access to the TERMCOND.BIGINTFIELD1 column of DB2 type BIGINT NULL.
 java.lang.Long getPriceListIdInEJBType()
          This method provides access to the TERMCOND.BIGINTFIELD1 column of DB2 type BIGINT NULL.
 java.lang.String getProductSetId()
          This method provides access to the TERMCOND.INTEGERFIELD1 column of DB2 type INTEGER NULL.
 java.lang.Integer getProductSetIdInEJBType()
          This method provides access to the TERMCOND.INTEGERFIELD1 column of DB2 type INTEGER NULL.
 java.lang.String getReferenceNumber()
          This method provides access to the TERMCOND.TERMCOND_ID column of DB2 type BIGINT NOT NULL.
 java.lang.Long getReferenceNumberInEJBType()
          This method provides access to the TERMCOND.TERMCOND_ID column of DB2 type BIGINT NOT NULL.
 java.lang.String getTcSequence()
          This method provides access to the TERMCOND.SEQUENCE column of DB2 type INTEGER NOT NULL.
 java.lang.Integer getTcSequenceInEJBType()
          This method provides access to the TERMCOND.SEQUENCE column of DB2 type INTEGER NOT NULL.
 java.lang.String getTcSubType()
          This method provides access to the TERMCOND.TCSUBTYPE_ID column of DB2 type CHARACTER(64) NOT NULL.
 java.lang.String getTimeCreated()
          This method provides access to the TERMCOND.TIMECREATED column of DB2 type TIMESTAMP NULL.
 java.sql.Timestamp getTimeCreatedInEJBType()
          This method provides access to the TERMCOND.TIMECREATED column of DB2 type TIMESTAMP NULL.
 java.lang.String getTimeUpdated()
          This method provides access to the TERMCOND.TIMEUPDATED column of DB2 type TIMESTAMP NULL.
 java.sql.Timestamp getTimeUpdatedInEJBType()
          This method provides access to the TERMCOND.TIMEUPDATED column of DB2 type TIMESTAMP NULL.
 java.lang.String getTradingId()
          This method provides access to the TERMCOND.TRADING_ID column of DB2 type BIGINT NOT NULL.
 java.lang.Long getTradingIdInEJBType()
          This method provides access to the TERMCOND.TRADING_ID column of DB2 type BIGINT NOT NULL.
 java.lang.String getXMLString()
          This method returns a String object representing the term condition in XML Element format.
 void markForDelete()
          This method marks the trading agreement for deletion.
 void parseXMLElement(org.w3c.dom.Element aXMLElement)
          This method parses the given XML element.
 void refreshCopyHelper()
          Load data from the EJBObject.
 void setChangeableFlag(java.lang.Integer aChangeableFlag)
          This method provides access to the TERMCOND.CHANGEABLE column of DB2 type INTEGER NOT NULL.
 void setChangeableFlag(java.lang.String aChangeableFlag)
          This method provides access to the TERMCOND.CHANGEABLE column of DB2 type INTEGER NOT NULL.
 void setInitKey_referenceNumber(java.lang.String aInitKey_referenceNumber)
          Set the primary key for this object
 void setMandatoryFlag(java.lang.Integer aMandatoryFlag)
          This method provides access to the TERMCOND.MANDATORY column of DB2 type INTEGER NOT NULL.
 void setMandatoryFlag(java.lang.String aMandatoryFlag)
          This method provides access to the TERMCOND.MANDATORY column of DB2 type INTEGER NOT NULL.
 void setPriceListId(java.lang.Long aPriceListId)
          This method provides access to the TERMCOND.BIGINTFIELD1 column of DB2 type BIGINT NULL.
 void setPriceListId(java.lang.String aPriceListId)
          This method provides access to the TERMCOND.BIGINTFIELD1 column of DB2 type BIGINT NULL.
 void setProductSetId(java.lang.Integer aProductSetId)
          This method provides access to the TERMCOND.INTEGERFIELD1 column of DB2 type INTEGER NULL.
 void setProductSetId(java.lang.String aProductSetId)
          This method provides access to the TERMCOND.INTEGERFIELD1 column of DB2 type INTEGER NULL.
 void setReferenceNumber(java.lang.Long tcId)
          This method provides access to the TERMCOND.TERMCOND_ID column of DB2 type BIGINT NOT NULL.
 void setReferenceNumber(java.lang.String tcId)
          This method provides access to the TERMCOND.TERMCOND_ID column of DB2 type BIGINT NOT NULL.
 void setTcSequence(java.lang.Integer aTcSequence)
          This method provides access to the TERMCOND.SEQUENCE column of DB2 type INTEGER NOT NULL.
 void setTcSequence(java.lang.String aTcSequence)
          This method provides access to the TERMCOND.SEQUENCE column of DB2 type INTEGER NOT NULL.
 void setTimeCreated(java.lang.String aTimeCreated)
          This method provides access to the TERMCOND.TIMECREATED column of DB2 type TIMESTAMP NULL.
 void setTimeCreated(java.sql.Timestamp aTimeCreated)
          This method provides access to the TERMCOND.TIMECREATED column of DB2 type TIMESTAMP NULL.
 void setTimeUpdated(java.lang.String aTimeUpdated)
          This method provides access to the TERMCOND.TIMEUPDATED column of DB2 type TIMESTAMP NULL.
 void setTimeUpdated(java.sql.Timestamp aTimeUpdated)
          This method provides access to the TERMCOND.TIMEUPDATED column of DB2 type TIMESTAMP NULL.
 void setTradingId(java.lang.Long tradingId)
          This method provides access to the TERMCOND.TRADING_ID column of DB2 type BIGINT NOT NULL.
 void setTradingId(java.lang.String tradingId)
          This method provides access to the TERMCOND.TRADING_ID column of DB2 type BIGINT NOT NULL.
 
Methods inherited from class com.ibm.ivj.ejb.runtime.AbstractEntityAccessBean
__getCache, __getCache, __getKey, __setCache, __setCache, __setKey, commitCopyHelper, createAccessBeans, createAccessBeans, instantiateEJBByPrimaryKey, refreshCopyHelper, setEJBRef
 
Methods inherited from class com.ibm.ivj.ejb.runtime.AbstractAccessBean
defaultJNDIName, defaultNameServiceType, defaultNameServiceURL, getEJBRef, getGlobalHome, getHome, getInit_GlobalNameServiceTypeName, getInit_GlobalNameServiceURLName, getInit_JNDIName, getInit_NameServiceTypeName, getInit_NameServiceURLName, getInitContext, getInitContext, instantiateEJB, resetEJBRef, resetHomeCache, setInit_GlobalNameServiceTypeName, setInit_GlobalNameServiceURLName, setInit_JNDIName, setInit_NameServiceTypeName, setInit_NameServiceURLName
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TermConditionAccessBean

public TermConditionAccessBean()

Default constructor. Maps to findByPrimaryKey.


TermConditionAccessBean

public TermConditionAccessBean(javax.ejb.EJBObject anObject)
                        throws java.rmi.RemoteException

Creates an access bean for the specified EJB

Parameters:
anObject - The EJB Object used for the access bean construction.
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
Method Detail

commitCopyHelper

public void commitCopyHelper()
                      throws java.rmi.RemoteException,
                             javax.ejb.CreateException,
                             javax.ejb.FinderException,
                             javax.naming.NamingException

Update(flush) data to the EJBObject (persistent storage).

Overrides:
commitCopyHelper in class com.ibm.ivj.ejb.runtime.AbstractEntityAccessBean
Returns:
void
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

createNewVersion

public java.lang.Long createNewVersion(java.lang.Long aNewVersion)
                                throws org.xml.sax.SAXException,
                                       java.io.IOException,
                                       javax.ejb.CreateException,
                                       javax.ejb.FinderException,
                                       javax.ejb.RemoveException,
                                       javax.naming.NamingException,
                                       java.rmi.RemoteException

This method creates a new version of the terms and conditions.

Parameters:
aNewVersion - The ID of the terms and conditions.
Returns:
The ID of the terms and conditions.
Throws:
org.xml.sax.SAXException - The org.xml.sax.SAXException exception
java.io.IOException - The java.io.IOException exception
javax.ejb.CreateException - The javax.ejb.CreateException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.ejb.RemoveException - The javax.ejb.RemoveException exception
javax.naming.NamingException - The javax.naming.NamingException exception
java.rmi.RemoteException - The java.rmi.RemoteException exception

findAllTCWithTCLevelParticipantByTrading

public java.util.Enumeration findAllTCWithTCLevelParticipantByTrading(java.lang.Long tradingId)
                                                               throws java.rmi.RemoteException,
                                                                      javax.ejb.FinderException,
                                                                      javax.naming.NamingException

Retrieves an Enumeration of TermConditionAccessBeans representing all terms and conditions with the specified trading agreement ID. The terms and conditions should have tc level participant(s).

The SQL query used to fetch the required rows from the TERMCOND table is:

select * from termcond T1 where T1.trading_id=? and (termcond_id in (select termcond_id from participant where trading_id is null and termcond_id is not null))

Parameters:
tradingId - The ID of the trading agreement.
Returns:
An Enumeration of all the TermConditionAccessBeans representing rows that match the search criteria.
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException - The javax.naming.NamingException exception

findByTrading

public java.util.Enumeration findByTrading(java.lang.Long tradingId)
                                    throws java.rmi.RemoteException,
                                           javax.ejb.FinderException,
                                           javax.naming.NamingException

Retrieves an Enumeration of TermConditionAccessBeans representing all terms and conditions with the specified trading agreement ID.

The SQL query used to fetch the required rows from the TERMCOND table is:

select * from termcond T1 where T1.trading_id = ?

Parameters:
tradingId - The ID of the trading agreement.
Returns:
An Enumeration of all the TermConditionAccessBeans representing rows that match the search criteria.
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException - The javax.naming.NamingException exception

findByTradingAndSequence

public TermConditionAccessBean findByTradingAndSequence(java.lang.Long tradingId,
                                                        java.lang.Integer tcSequence)
                                                 throws java.rmi.RemoteException,
                                                        javax.ejb.FinderException,
                                                        javax.naming.NamingException

Retrieves the TermConditionAccessBean representing the term condition with the specified trading agreement ID, and the term condition sequence number.

The SQL query used to fetch the required rows from the TERMCOND table is:

select * from termcond T1 where T1.trading_id = ? and sequence = ?

Parameters:
tradingId - The ID of the trading agreement.
tcSequence - The term condition sequence number.
Returns:
The TermConditionAccessBean representing the row that matches the search criteria.
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException - The javax.naming.NamingException exception

findByTradingAndTCSubType

public java.util.Enumeration findByTradingAndTCSubType(java.lang.Long tradingId,
                                                       java.lang.String tcSubType)
                                                throws java.rmi.RemoteException,
                                                       javax.ejb.FinderException,
                                                       javax.naming.NamingException

Retrieves an Enumeration of TermConditionAccessBeans representing all terms and conditions with the specified trading agreement ID, and the term condition sub-type.

The SQL query used to fetch the required rows from the TERMCOND table is:

select * from termcond T1 where T1.trading_id = ? and tcsubtype_id = ?

Parameters:
tradingId - The ID of the specified trading agreement.
tcSubType - The sub-type of the terms and conditions.
Returns:
An Enumeration of all the TermConditionAccessBeans representing rows that match the search criteria.
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException - The javax.naming.NamingException exception

findByTradingAndTCSubTypeForBuyer

public java.util.Enumeration findByTradingAndTCSubTypeForBuyer(java.lang.Long tradingId,
                                                               java.lang.String tcSubType,
                                                               java.lang.Long buyerMemberId)
                                                        throws java.rmi.RemoteException,
                                                               javax.ejb.FinderException,
                                                               javax.naming.NamingException

Retrieves an Enumeration of TermConditionAccessBeans representing all terms and conditions with the specified trading agreement ID, term condition sub-type, and the buyer member ID.

The SQL query used to fetch the required rows from the TERMCOND table is:

select * from termcond T1 where T1.trading_id=? and tcsubtype_id = ? and (termcond_id not in (select termcond_id from participant where trading_id is null and termcond_id is not null and partrole_id=2) or termcond_id in (select termcond_id from participant where trading_id is null and termcond_id is not null and partrole_id=2 and (member_id is null or member_id = ? or member_id in (select ancestor_id from mbrrel where descendant_id = ?) or member_id in (select mbrgrp_id from mbrgrpmbr where member_id = ?))))

Parameters:
tradingId - The ID of the trading agreement.
tcSubType - The sub-type of the terms and conditions.
buyerMemberId - The ID of the buyer member.
Returns:
An Enumeration of all the TermConditionAccessBeans representing rows that match the search criteria.
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException - The javax.naming.NamingException exception

findByTradingAndTCSubTypeWithoutTCParticipant

public java.util.Enumeration findByTradingAndTCSubTypeWithoutTCParticipant(java.lang.Long tradingId,
                                                                           java.lang.String tcSubType)
                                                                    throws java.rmi.RemoteException,
                                                                           javax.ejb.FinderException,
                                                                           javax.naming.NamingException

Retrieves an Enumeration of TermConditionAccessBeans representing all terms and conditions with the specified trading agreement ID and tcSubType, but without the terms and conditions which have tc level participant(s).

The SQL query used to fetch the required rows from the TERMCOND table is:

select * from termcond T1 where T1.trading_id=? and tcsubtype_id = ? and termcond_id not in (select termcond_id from participnt where trading_id is null and termcond_id is not null and partrole_id=2)

Parameters:
tradingId - The ID of the trading agreement.
tcSubType - The sub-type of the terms and conditions.
Returns:
An Enumeration of all the TermConditionAccessBeans representing rows that match the search criteria.
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException - The javax.naming.NamingException exception

findByTradingAndTCType

public java.util.Enumeration findByTradingAndTCType(java.lang.Long tradingId,
                                                    java.lang.String tcType)
                                             throws java.rmi.RemoteException,
                                                    javax.ejb.FinderException,
                                                    javax.naming.NamingException

Retrieves an Enumeration of TermConditionAccessBeans representing all terms and conditions with the specified trading agreement ID, and the term condition type.

The SQL query used to fetch the required rows from the TERMCOND table is:

select * from termcond T1 where T1.trading_id = ? and tcsubtype_id in (select tcsubtype_id from tcsubtype where tctype_id = ?)

Parameters:
tradingId - The ID of the trading agreement.
tcType - The type of the terms and conditions.
Returns:
An Enumeration of all the TermConditionAccessBeans representing rows that match the search criteria.
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException - The javax.naming.NamingException exception

findByTradingAndTCTypeForBuyer

public java.util.Enumeration findByTradingAndTCTypeForBuyer(java.lang.Long tradingId,
                                                            java.lang.String tcType,
                                                            java.lang.Long buyerMemberId)
                                                     throws java.rmi.RemoteException,
                                                            javax.ejb.FinderException,
                                                            javax.naming.NamingException

Retrieves an Enumeration of TermConditionAccessBeans representing all terms and conditions with the specified trading agreement ID, term condition type, and the buyer member ID.

The SQL query used to fetch the required rows from the TERMCOND table is:

select * from termcond T1 where T1.trading_id=? and tcsubtype_id in (select tcsubtype_id from tcsubtype where tctype_id = ?) and (termcond_id not in (select termcond_id from participnt where trading_id is null and termcond_id is not null and partrole_id=2) or termcond_id in (select termcond_id from participnt where trading_id is null and termcond_id is not null and partrole_id=2 and (member_id is null or member_id = ? or member_id in (select ancestor_id from mbrrel where descendant_id = ?) or member_id in (select mbrgrp_id from mbrgrpmbr where member_id = ?))))

Parameters:
tradingId - The ID of the trading agreement.
tcType - The type of the terms and conditions.
buyerMemberId - The ID of the buyer member.
Returns:
An Enumeration of all the TermConditionAccessBeans representing rows that match the search criteria.
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException - The javax.naming.NamingException exception

findByTradingAndTCTypeWithoutTCParticipant

public java.util.Enumeration findByTradingAndTCTypeWithoutTCParticipant(java.lang.Long aDByTradingAndTCTypeWithoutTCParticipant,
                                                                        java.lang.String aDByTradingAndTCTypeWithoutTCParticipant)
                                                                 throws java.rmi.RemoteException,
                                                                        javax.ejb.FinderException,
                                                                        javax.naming.NamingException

Retrieves an Enumeration of TermConditionAccessBeans representing all terms and conditions with the specified trading agreement ID and tcType, but without the terms and conditions which have tc level participant(s).

The SQL query used to fetch the required rows from the TERMCOND table is:

select * from termcond T1 where T1.trading_id=? and tcsubtype_id in (select tcsubtype_id from tcsubtype where tctype_id = ?) and termcond_id not in (select termcond_id from participant where trading_id is null and termcond_id is not null and partrole_id=2)

Parameters:
tradingId - The ID of the trading agreement.
tcType - The type of the terms and conditions.
Returns:
The number indicating the sequence of the term within a trading agreement.
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException - The javax.naming.NamingException exception

findByTradingForBuyer

public java.util.Enumeration findByTradingForBuyer(java.lang.Long tradingId,
                                                   java.lang.Long buyerMemberId)
                                            throws java.rmi.RemoteException,
                                                   javax.ejb.FinderException,
                                                   javax.naming.NamingException

Retrieves an Enumeration of TermConditionAccessBeans representing all terms and conditions with the specified trading agreement ID, and the buyer member ID.

The SQL query used to fetch the required rows from the TERMCOND table is:

select * from termcond T1 where T1.trading_id=? and (termcond_id not in (select termcond_id from participnt where trading_id is null and termcond_id is not null and partrole_id=2) or termcond_id in (select termcond_id from participnt where trading_id is null and termcond_id is not null and partrole_id=2 and (member_id is null or member_id = ? or member_id in (select ancestor_id from mbrrel where descendant_id = ?) or member_id in (select mbrgrp_id from mbrgrpmbr where member_id = ?))))

Parameters:
tradingId - The ID of the trading agreement.
buyerMemberId - The ID of the buyer member.
Returns:
An Enumeration of all the TermConditionAccessBeans representing rows that match the search criteria.
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException - The javax.naming.NamingException exception

getChangeableFlag

public java.lang.String getChangeableFlag()
                                   throws java.rmi.RemoteException,
                                          javax.ejb.CreateException,
                                          javax.ejb.FinderException,
                                          javax.naming.NamingException

This method provides access to the TERMCOND.CHANGEABLE column of DB2 type INTEGER NOT NULL.

The following is a description of this column:

This column indicates if the trading agreement participant can change the term. (0 - no; 1 - yes).

Specified by:
getChangeableFlag in interface TermConditionAccessBeanData
Returns:
The flag indicating whether the trading agreement participant can change the term.
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

getChangeableFlagInEJBType

public java.lang.Integer getChangeableFlagInEJBType()
                                             throws java.rmi.RemoteException,
                                                    javax.ejb.CreateException,
                                                    javax.ejb.FinderException,
                                                    javax.naming.NamingException

This method provides access to the TERMCOND.CHANGEABLE column of DB2 type INTEGER NOT NULL.

The following is a description of this column:

This column indicates if the trading agreement participant can change the term. (0 - no; 1 - yes).

Returns:
The flag indicating whether the trading agreement participant can change the term.
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

getDescription

public TermConditionDescriptionAccessBean getDescription(java.lang.Integer langId)
                                                  throws javax.naming.NamingException,
                                                         javax.ejb.CreateException,
                                                         javax.ejb.FinderException,
                                                         java.rmi.RemoteException

Retrieves the TermConditionDescriptionAccessBean representing the term condition description with the specified language ID.

Parameters:
langId - The ID of the specified language.
Returns:
The description of the terms and conditions.
Throws:
javax.naming.NamingException - The javax.naming.NamingException exception
javax.ejb.CreateException - The javax.ejb.CreateException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
java.rmi.RemoteException - The java.rmi.RemoteException exception

getDescription

public TermConditionDescriptionAccessBean getDescription(java.lang.Integer langId,
                                                         java.lang.Integer storeId)
                                                  throws javax.naming.NamingException,
                                                         javax.ejb.CreateException,
                                                         javax.ejb.FinderException,
                                                         java.rmi.RemoteException

Retrieves the TermConditionDescriptionAccessBean representing the term condition description with the specified language ID. If the description for the specified language is not available for the specified store, An alternate language description will be returned.

Parameters:
langId - The ID of the specified language.
storeId - The ID of the specified store.
Returns:
The TermConditionDescriptionAccessBean representing the row that matches the search criteria.
Throws:
javax.naming.NamingException - The javax.naming.NamingException exception
javax.ejb.CreateException - The javax.ejb.CreateException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
java.rmi.RemoteException - The java.rmi.RemoteException exception

getMandatoryFlag

public java.lang.String getMandatoryFlag()
                                  throws java.rmi.RemoteException,
                                         javax.ejb.CreateException,
                                         javax.ejb.FinderException,
                                         javax.naming.NamingException

This method provides access to the TERMCOND.MANDATORY column of DB2 type INTEGER NOT NULL.

The following is a description of this column:

This column is used to indicate if the trading agreement participant must respond to this term during negotiation. (0 - no; 1 - yes).

Specified by:
getMandatoryFlag in interface TermConditionAccessBeanData
Returns:
The flag indicating whether the trading agreement participant must respond to this term during negotiation.
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

getMandatoryFlagInEJBType

public java.lang.Integer getMandatoryFlagInEJBType()
                                            throws java.rmi.RemoteException,
                                                   javax.ejb.CreateException,
                                                   javax.ejb.FinderException,
                                                   javax.naming.NamingException

This method provides access to the TERMCOND.MANDATORY column of DB2 type INTEGER NOT NULL.

The following is a description of this column:

This column is used to indicate if the trading agreement participant must respond to this term during negotiation. (0 - no; 1 - yes).

Returns:
The flag indicating whether the trading agreement participant must respond to this term during negotiation.
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

getParticipants

public ParticipantAccessBean[] getParticipants()
                                        throws javax.naming.NamingException,
                                               javax.ejb.CreateException,
                                               javax.ejb.FinderException,
                                               java.rmi.RemoteException

The method returns an array of ParticipantAccessBeans representing all the participants that the term condition has.

Returns:
An array of ParticipantAccessBean objects representing all the participants that belongs to the terms and conditions.
Throws:
javax.naming.NamingException - The javax.naming.NamingException exception
javax.ejb.CreateException - The javax.ejb.CreateException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
java.rmi.RemoteException - The java.rmi.RemoteException exception

getPolicies

public BusinessPolicyAccessBean[] getPolicies()
                                       throws javax.naming.NamingException,
                                              javax.ejb.CreateException,
                                              javax.ejb.FinderException,
                                              java.rmi.RemoteException

The method returns an array of BusinessPolicyAccessBean objects representing the business policies that the term condition has.

Returns:
An array of BusinessPolicyAccessBeans representing the business policies belonging to the terms and conditions.
Throws:
javax.naming.NamingException - The javax.naming.NamingException exception
javax.ejb.CreateException - The javax.ejb.CreateException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
java.rmi.RemoteException - The java.rmi.RemoteException exception

getPoliciesByType

public BusinessPolicyAccessBean[] getPoliciesByType(java.lang.String businessPolicyType)
                                             throws javax.naming.NamingException,
                                                    javax.ejb.CreateException,
                                                    javax.ejb.FinderException,
                                                    java.rmi.RemoteException

The method returns an array of BusinessPolicyAccessBean representing the specified type of business policies that the term condition has.

Parameters:
businessPolicyType - The type of business policy.
Returns:
An array of BusinessPolicyAccessBean representing the specified type of business policies that the term condition has.
Throws:
javax.naming.NamingException - The javax.naming.NamingException exception
javax.ejb.CreateException - The javax.ejb.CreateException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
java.rmi.RemoteException - The java.rmi.RemoteException exception

getPriceListId

public java.lang.String getPriceListId()
                                throws java.rmi.RemoteException,
                                       javax.ejb.CreateException,
                                       javax.ejb.FinderException,
                                       javax.naming.NamingException

This method provides access to the TERMCOND.BIGINTFIELD1 column of DB2 type BIGINT NULL.

The following is a description of this column:

A BIGINT field used to store terms and conditions data.

Specified by:
getPriceListId in interface TermConditionAccessBeanData
Returns:
The ID of the price list of the terms and conditions.
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

getPriceListIdInEJBType

public java.lang.Long getPriceListIdInEJBType()
                                       throws java.rmi.RemoteException,
                                              javax.ejb.CreateException,
                                              javax.ejb.FinderException,
                                              javax.naming.NamingException

This method provides access to the TERMCOND.BIGINTFIELD1 column of DB2 type BIGINT NULL.

The following is a description of this column:

A BIGINT field used to store terms and conditions data.

Returns:
The ID of the price list in the terms and conditions.
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

getProductSetId

public java.lang.String getProductSetId()
                                 throws java.rmi.RemoteException,
                                        javax.ejb.CreateException,
                                        javax.ejb.FinderException,
                                        javax.naming.NamingException

This method provides access to the TERMCOND.INTEGERFIELD1 column of DB2 type INTEGER NULL.

The following is a description of this column:

An INTEGER field used to store terms and conditions data.

Specified by:
getProductSetId in interface TermConditionAccessBeanData
Returns:
The ID of the product set this term referred to.
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

getProductSetIdInEJBType

public java.lang.Integer getProductSetIdInEJBType()
                                           throws java.rmi.RemoteException,
                                                  javax.ejb.CreateException,
                                                  javax.ejb.FinderException,
                                                  javax.naming.NamingException

This method provides access to the TERMCOND.INTEGERFIELD1 column of DB2 type INTEGER NULL.

The following is a description of this column:

An INTEGER field used to store terms and conditions data.

Returns:
The ID of the product set.
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

getReferenceNumber

public java.lang.String getReferenceNumber()
                                    throws java.rmi.RemoteException,
                                           javax.ejb.CreateException,
                                           javax.ejb.FinderException,
                                           javax.naming.NamingException

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

The following is a description of this column:

Primary key and internal reference number for this term.

Specified by:
getReferenceNumber in interface TermConditionAccessBeanData
Returns:
The ID of the terms and conditions.
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

getReferenceNumberInEJBType

public java.lang.Long getReferenceNumberInEJBType()
                                           throws java.rmi.RemoteException,
                                                  javax.ejb.CreateException,
                                                  javax.ejb.FinderException,
                                                  javax.naming.NamingException

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

The following is a description of this column:

Primary key and internal reference number for this term.

Returns:
The ID of the terms and conditions.
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

getTcSequence

public java.lang.String getTcSequence()
                               throws java.rmi.RemoteException,
                                      javax.ejb.CreateException,
                                      javax.ejb.FinderException,
                                      javax.naming.NamingException

This method provides access to the TERMCOND.SEQUENCE column of DB2 type INTEGER NOT NULL.

The following is a description of this column:

This column contains a number indicating the sequence of the term within a trading agreement. This number must be unique within a trading agreement.

Specified by:
getTcSequence in interface TermConditionAccessBeanData
Returns:
The number indicating the sequence of the term within a trading agreement.
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

getTcSequenceInEJBType

public java.lang.Integer getTcSequenceInEJBType()
                                         throws java.rmi.RemoteException,
                                                javax.ejb.CreateException,
                                                javax.ejb.FinderException,
                                                javax.naming.NamingException

This method provides access to the TERMCOND.SEQUENCE column of DB2 type INTEGER NOT NULL.

The following is a description of this column:

This column contains a number indicating the sequence of the term within a trading agreement. This number must be unique within a trading agreement.

Returns:
The number indicating the sequence of the term within a trading agreement.
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

getTcSubType

public java.lang.String getTcSubType()
                              throws java.rmi.RemoteException,
                                     javax.ejb.CreateException,
                                     javax.ejb.FinderException,
                                     javax.naming.NamingException

This method provides access to the TERMCOND.TCSUBTYPE_ID column of DB2 type CHARACTER(64) NOT NULL.

The following is a description of this column:

A CHARACTER field used to terms and conditions subtype.

Specified by:
getTcSubType in interface TermConditionAccessBeanData
Returns:
The sub-type of the terms and conditions.
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

getTimeCreated

public java.lang.String getTimeCreated()
                                throws java.rmi.RemoteException,
                                       javax.ejb.CreateException,
                                       javax.ejb.FinderException,
                                       javax.naming.NamingException

This method provides access to the TERMCOND.TIMECREATED column of DB2 type TIMESTAMP NULL.

The following is a description of this column:

Time created.

Specified by:
getTimeCreated in interface TermConditionAccessBeanData
Returns:
The time the terms and conditions 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

getTimeCreatedInEJBType

public java.sql.Timestamp getTimeCreatedInEJBType()
                                           throws java.rmi.RemoteException,
                                                  javax.ejb.CreateException,
                                                  javax.ejb.FinderException,
                                                  javax.naming.NamingException

This method provides access to the TERMCOND.TIMECREATED column of DB2 type TIMESTAMP NULL.

The following is a description of this column:

Time created.

Returns:
The time the terms and conditions 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

getTimeUpdated

public java.lang.String getTimeUpdated()
                                throws java.rmi.RemoteException,
                                       javax.ejb.CreateException,
                                       javax.ejb.FinderException,
                                       javax.naming.NamingException

This method provides access to the TERMCOND.TIMEUPDATED column of DB2 type TIMESTAMP NULL.

The following is a description of this column:

Time updated.

Specified by:
getTimeUpdated in interface TermConditionAccessBeanData
Returns:
The last updated time of the terms and conditions.
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

getTimeUpdatedInEJBType

public java.sql.Timestamp getTimeUpdatedInEJBType()
                                           throws java.rmi.RemoteException,
                                                  javax.ejb.CreateException,
                                                  javax.ejb.FinderException,
                                                  javax.naming.NamingException

This method provides access to the TERMCOND.TIMEUPDATED column of DB2 type TIMESTAMP NULL.

The following is a description of this column:

Time updated.

Returns:
The last updated time of the terms and conditions.
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

getTradingId

public java.lang.String getTradingId()
                              throws java.rmi.RemoteException,
                                     javax.ejb.CreateException,
                                     javax.ejb.FinderException,
                                     javax.naming.NamingException

This method provides access to the TERMCOND.TRADING_ID column of DB2 type BIGINT NOT NULL.

The following is a description of this column:

Foreign key to TRADING table. This column indicates the trading agreement this term belongs to.

Specified by:
getTradingId in interface TermConditionAccessBeanData
Returns:
The ID of the trading agreement this term belongs to.
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

getTradingIdInEJBType

public java.lang.Long getTradingIdInEJBType()
                                     throws java.rmi.RemoteException,
                                            javax.ejb.CreateException,
                                            javax.ejb.FinderException,
                                            javax.naming.NamingException

This method provides access to the TERMCOND.TRADING_ID column of DB2 type BIGINT NOT NULL.

The following is a description of this column:

Foreign key to TRADING table. This column indicates the trading agreement this term belongs to.

Returns:
The ID of the trading agreement this term belongs to.
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

getXMLString

public java.lang.String getXMLString()
                              throws javax.naming.NamingException,
                                     javax.ejb.CreateException,
                                     javax.ejb.FinderException,
                                     java.rmi.RemoteException

This method returns a String object representing the term condition in XML Element format.

Returns:
The String object representing the terms and conditions in XML Element format.
Throws:
javax.naming.NamingException - The javax.naming.NamingException exception
javax.ejb.CreateException - The javax.ejb.CreateException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
java.rmi.RemoteException - The java.rmi.RemoteException exception

markForDelete

public void markForDelete()
                   throws javax.naming.NamingException,
                          javax.ejb.CreateException,
                          javax.ejb.FinderException,
                          java.rmi.RemoteException

This method marks the trading agreement for deletion.

Returns:
void
Throws:
javax.naming.NamingException - The javax.naming.NamingException exception
javax.ejb.CreateException - The javax.ejb.CreateException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
java.rmi.RemoteException - The java.rmi.RemoteException exception

parseXMLElement

public void parseXMLElement(org.w3c.dom.Element aXMLElement)
                     throws javax.naming.NamingException,
                            javax.ejb.CreateException,
                            javax.ejb.FinderException,
                            java.rmi.RemoteException,
                            javax.ejb.RemoveException

This method parses the given XML element.

Parameters:
aXMLElement - The XML element associated with the terms and conditions.
Returns:
void
Throws:
javax.naming.NamingException - The javax.naming.NamingException exception
javax.ejb.CreateException - The javax.ejb.CreateException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.RemoveException - The javax.ejb.RemoveException exception

refreshCopyHelper

public void refreshCopyHelper()
                       throws java.rmi.RemoteException,
                              javax.ejb.CreateException,
                              javax.ejb.FinderException,
                              javax.naming.NamingException

Load data from the EJBObject.

Overrides:
refreshCopyHelper in class com.ibm.ivj.ejb.runtime.AbstractEntityAccessBean
Returns:
void
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

setChangeableFlag

public void setChangeableFlag(java.lang.Integer aChangeableFlag)

This method provides access to the TERMCOND.CHANGEABLE column of DB2 type INTEGER NOT NULL.

The following is a description of this column:

This column indicates if the trading agreement participant can change the term. (0 - no; 1 - yes).

Parameters:
aChangeableFlag - The flag indicating whether the trading agreement participant can change the term.
Returns:
void

setChangeableFlag

public void setChangeableFlag(java.lang.String aChangeableFlag)

This method provides access to the TERMCOND.CHANGEABLE column of DB2 type INTEGER NOT NULL.

The following is a description of this column:

This column indicates if the trading agreement participant can change the term. (0 - no; 1 - yes).

Specified by:
setChangeableFlag in interface TermConditionAccessBeanData
Parameters:
aChangeableFlag - The flag indicating whether the trading agreement participant can change the term.
Returns:
void

setInitKey_referenceNumber

public void setInitKey_referenceNumber(java.lang.String aInitKey_referenceNumber)

Set the primary key for this object

Parameters:
aInitKey_referenceNumber - The ID of the terms and conditions.
Returns:
void

setMandatoryFlag

public void setMandatoryFlag(java.lang.Integer aMandatoryFlag)

This method provides access to the TERMCOND.MANDATORY column of DB2 type INTEGER NOT NULL.

The following is a description of this column:

This column is used to indicate if the trading agreement participant must respond to this term during negotiation. (0 - no; 1 - yes).

Parameters:
aMandatoryFlag - The flag indicating whether the trading agreement participant must respond to this term during negotiation.
Returns:
void

setMandatoryFlag

public void setMandatoryFlag(java.lang.String aMandatoryFlag)

This method provides access to the TERMCOND.MANDATORY column of DB2 type INTEGER NOT NULL.

The following is a description of this column:

This column is used to indicate if the trading agreement participant must respond to this term during negotiation. (0 - no; 1 - yes).

Specified by:
setMandatoryFlag in interface TermConditionAccessBeanData
Parameters:
aMandatoryFlag - The flag indicating whether the trading agreement participant must respond to this term during negotiation.
Returns:
void

setPriceListId

public void setPriceListId(java.lang.Long aPriceListId)

This method provides access to the TERMCOND.BIGINTFIELD1 column of DB2 type BIGINT NULL.

The following is a description of this column:

A BIGINT field used to store terms and conditions data.

Parameters:
aPriceListId - The ID of the price list in the terms and conditions.
Returns:
void

setPriceListId

public void setPriceListId(java.lang.String aPriceListId)

This method provides access to the TERMCOND.BIGINTFIELD1 column of DB2 type BIGINT NULL.

The following is a description of this column:

A BIGINT field used to store terms and conditions data.

Specified by:
setPriceListId in interface TermConditionAccessBeanData
Parameters:
aPriceListId - The ID of the price list in the terms and conditions.
Returns:
void

setProductSetId

public void setProductSetId(java.lang.Integer aProductSetId)

This method provides access to the TERMCOND.INTEGERFIELD1 column of DB2 type INTEGER NULL.

The following is a description of this column:

An INTEGER field used to store terms and conditions data.

Parameters:
aProductSetId - The ID of the product set.
Returns:
void

setProductSetId

public void setProductSetId(java.lang.String aProductSetId)

This method provides access to the TERMCOND.INTEGERFIELD1 column of DB2 type INTEGER NULL.

The following is a description of this column:

An INTEGER field used to store terms and conditions data.

Specified by:
setProductSetId in interface TermConditionAccessBeanData
Parameters:
aProductSetId - The ID of the product set.
Returns:
void

setReferenceNumber

public void setReferenceNumber(java.lang.Long tcId)

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

The following is a description of this column:

Primary key and internal reference number for this term.

Parameters:
tcId - The ID of the terms and conditions.
Returns:
void

setReferenceNumber

public void setReferenceNumber(java.lang.String tcId)

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

The following is a description of this column:

Primary key and internal reference number for this term.

Specified by:
setReferenceNumber in interface TermConditionAccessBeanData
Parameters:
tcId - The ID of the terms and conditions.
Returns:
void

setTcSequence

public void setTcSequence(java.lang.Integer aTcSequence)

This method provides access to the TERMCOND.SEQUENCE column of DB2 type INTEGER NOT NULL.

The following is a description of this column:

This column contains a number indicating the sequence of the term within a trading agreement. This number must be unique within a trading agreement.

Parameters:
aTcSequence - The number indicating the sequence of the term within a trading agreement.
Returns:
void

setTcSequence

public void setTcSequence(java.lang.String aTcSequence)

This method provides access to the TERMCOND.SEQUENCE column of DB2 type INTEGER NOT NULL.

The following is a description of this column:

This column contains a number indicating the sequence of the term within a trading agreement. This number must be unique within a trading agreement.

Specified by:
setTcSequence in interface TermConditionAccessBeanData
Parameters:
aTcSequence - The number indicating the sequence of the term within a trading agreement.
Returns:
void

setTimeCreated

public void setTimeCreated(java.lang.String aTimeCreated)

This method provides access to the TERMCOND.TIMECREATED column of DB2 type TIMESTAMP NULL.

The following is a description of this column:

Time created.

Specified by:
setTimeCreated in interface TermConditionAccessBeanData
Parameters:
aTimeCreated - The time when the terms and conditions is created.
Returns:
void

setTimeCreated

public void setTimeCreated(java.sql.Timestamp aTimeCreated)

This method provides access to the TERMCOND.TIMECREATED column of DB2 type TIMESTAMP NULL.

The following is a description of this column:

Time created.

Parameters:
aTimeCreated - The time when the terms and conditions are created.
Returns:
void

setTimeUpdated

public void setTimeUpdated(java.lang.String aTimeUpdated)

This method provides access to the TERMCOND.TIMEUPDATED column of DB2 type TIMESTAMP NULL.

The following is a description of this column:

Time updated.

Specified by:
setTimeUpdated in interface TermConditionAccessBeanData
Parameters:
aTimeUpdated - The last updated time of the terms and conditions.
Returns:
void

setTimeUpdated

public void setTimeUpdated(java.sql.Timestamp aTimeUpdated)

This method provides access to the TERMCOND.TIMEUPDATED column of DB2 type TIMESTAMP NULL.

The following is a description of this column:

Time updated.

Parameters:
aTimeUpdated - The last updated time of the terms and conditions.
Returns:
void

setTradingId

public void setTradingId(java.lang.Long tradingId)

This method provides access to the TERMCOND.TRADING_ID column of DB2 type BIGINT NOT NULL.

The following is a description of this column:

Foreign key to TRADING table. This column indicates the trading agreement this term belongs to.

Parameters:
tradingId - The ID of the trading agreement this term belongs to.
Returns:
void

setTradingId

public void setTradingId(java.lang.String tradingId)

This method provides access to the TERMCOND.TRADING_ID column of DB2 type BIGINT NOT NULL.

The following is a description of this column:

Foreign key to TRADING table. This column indicates the trading agreement this term belongs to.

Specified by:
setTradingId in interface TermConditionAccessBeanData
Parameters:
tradingId - The ID of the trading agreement this term belongs to.
Returns:
void