com.ibm.commerce.contract.objects
Class PriceTCPriceListWithOptionalAdjustmentAccessBean

java.lang.Object
  |
  +--com.ibm.ivj.ejb.runtime.AbstractAccessBean
        |
        +--com.ibm.ivj.ejb.runtime.AbstractEntityAccessBean
              |
              +--com.ibm.commerce.contract.objects.PriceTCPriceListWithOptionalAdjustmentAccessBean
All Implemented Interfaces:
PriceTCPriceListWithOptionalAdjustmentAccessBeanData, java.io.Serializable

public class PriceTCPriceListWithOptionalAdjustmentAccessBean
extends com.ibm.ivj.ejb.runtime.AbstractEntityAccessBean
implements PriceTCPriceListWithOptionalAdjustmentAccessBeanData

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
PriceTCPriceListWithOptionalAdjustmentAccessBean()
          Default constructor.
PriceTCPriceListWithOptionalAdjustmentAccessBean(javax.ejb.EJBObject anObject)
          Creates an access bean for the specified EJB
PriceTCPriceListWithOptionalAdjustmentAccessBean(java.lang.Long tradingId, org.w3c.dom.Element tcElement)
          Constructs a PriceTCPriceListWithOptionalAdjustmentAccessBean object with the specified trading agreement ID, and the price term condition element.
 
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.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 gets the reference number of the terms and conditions.
 java.lang.Long getReferenceNumberInEJBType()
          This method gets the reference number of the terms and conditions.
 java.lang.String getSignedPercentage()
          This method provides access to the TERMCOND.FLOATFIELD1 column of DB2 type DOUBLE NULL.
 java.lang.Double getSignedPercentageInEJBType()
          This method provides access to the TERMCOND.FLOATFIELD1 column of DB2 type DOUBLE 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 gets the XML String associated with the terms and conditions.
 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 setSignedPercentage(java.lang.Double aSignedPercentage)
          This method provides access to the TERMCOND.FLOATFIELD1 column of DB2 type DOUBLE NULL.
 void setSignedPercentage(java.lang.String aSignedPercentage)
          This method provides access to the TERMCOND.FLOATFIELD1 column of DB2 type DOUBLE 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

PriceTCPriceListWithOptionalAdjustmentAccessBean

public PriceTCPriceListWithOptionalAdjustmentAccessBean()

Default constructor. Maps to findByPrimaryKey.


PriceTCPriceListWithOptionalAdjustmentAccessBean

public PriceTCPriceListWithOptionalAdjustmentAccessBean(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

PriceTCPriceListWithOptionalAdjustmentAccessBean

public PriceTCPriceListWithOptionalAdjustmentAccessBean(java.lang.Long tradingId,
                                                        org.w3c.dom.Element tcElement)
                                                 throws javax.naming.NamingException,
                                                        javax.ejb.CreateException,
                                                        javax.ejb.FinderException,
                                                        java.rmi.RemoteException,
                                                        javax.ejb.RemoveException

Constructs a PriceTCPriceListWithOptionalAdjustmentAccessBean object with the specified trading agreement ID, and the price term condition element.

Parameters:
tradingId - The ID of the trading agreement.
tcElement - The XML Element object representing 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
javax.ejb.RemoveException - The javax.ejb.RemoveException 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

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 PriceTCPriceListWithOptionalAdjustmentAccessBeanData
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 PriceTCPriceListWithOptionalAdjustmentAccessBeanData
Returns:
java.lang.String
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:
java.lang.Integer
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 PriceTCPriceListWithOptionalAdjustmentAccessBeanData
Returns:
The ID of the price list.
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.
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 PriceTCPriceListWithOptionalAdjustmentAccessBeanData
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

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 gets the reference number of the terms and conditions.

Specified by:
getReferenceNumber in interface PriceTCPriceListWithOptionalAdjustmentAccessBeanData
Returns:
The reference number 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 gets the reference number of the terms and conditions.

Returns:
The reference number 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

getSignedPercentage

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

This method provides access to the TERMCOND.FLOATFIELD1 column of DB2 type DOUBLE NULL.

The following is a description of this column:

A DOUBLE field used to store terms and conditions data.

Specified by:
getSignedPercentage in interface PriceTCPriceListWithOptionalAdjustmentAccessBeanData
Returns:
The signed percentage adjustment.
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

getSignedPercentageInEJBType

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

This method provides access to the TERMCOND.FLOATFIELD1 column of DB2 type DOUBLE NULL.

The following is a description of this column:

A DOUBLE field used to store terms and conditions data.

Returns:
The signed percentage adjustment.
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 PriceTCPriceListWithOptionalAdjustmentAccessBeanData
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 PriceTCPriceListWithOptionalAdjustmentAccessBeanData
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 PriceTCPriceListWithOptionalAdjustmentAccessBeanData
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 PriceTCPriceListWithOptionalAdjustmentAccessBeanData
Returns:
java.lang.String
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:
java.sql.Timestamp
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 PriceTCPriceListWithOptionalAdjustmentAccessBeanData
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 gets the XML String associated with the terms and conditions.

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 PriceTCPriceListWithOptionalAdjustmentAccessBeanData
Parameters:
aChangeableFlag - java.lang.String
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 - java.lang.Integer
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 PriceTCPriceListWithOptionalAdjustmentAccessBeanData
Parameters:
aMandatoryFlag - java.lang.String
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.
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 PriceTCPriceListWithOptionalAdjustmentAccessBeanData
Parameters:
aPriceListId - The ID of the price list.
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 PriceTCPriceListWithOptionalAdjustmentAccessBeanData
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 PriceTCPriceListWithOptionalAdjustmentAccessBeanData
Parameters:
tcId - The ID of the terms and conditions.
Returns:
void

setSignedPercentage

public void setSignedPercentage(java.lang.Double aSignedPercentage)

This method provides access to the TERMCOND.FLOATFIELD1 column of DB2 type DOUBLE NULL.

The following is a description of this column:

A DOUBLE field used to store terms and conditions data.

Parameters:
aSignedPercentage - The signed percentage adjustment.
Returns:
void

setSignedPercentage

public void setSignedPercentage(java.lang.String aSignedPercentage)

This method provides access to the TERMCOND.FLOATFIELD1 column of DB2 type DOUBLE NULL.

The following is a description of this column:

A DOUBLE field used to store terms and conditions data.

Specified by:
setSignedPercentage in interface PriceTCPriceListWithOptionalAdjustmentAccessBeanData
Parameters:
aSignedPercentage - The signed percentage adjustment.
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 PriceTCPriceListWithOptionalAdjustmentAccessBeanData
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 PriceTCPriceListWithOptionalAdjustmentAccessBeanData
Parameters:
aTimeCreated - The time when the terms and conditions are 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 PriceTCPriceListWithOptionalAdjustmentAccessBeanData
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 PriceTCPriceListWithOptionalAdjustmentAccessBeanData
Parameters:
tradingId - The ID of the trading agreement this term belongs to.
Returns:
void