com.ibm.commerce.contract.objects
Class ObligationToBuyTCByAmountAccessBean

java.lang.Object
  com.ibm.ivj.ejb.runtime.AbstractEntityAccessBean
      com.ibm.commerce.contract.objects.ObligationToBuyTCByAmountAccessBean
All Implemented Interfaces:
ObligationToBuyTCByAmountAccessBeanData

public class ObligationToBuyTCByAmountAccessBean
extends com.ibm.ivj.ejb.runtime.AbstractEntityAccessBean
implements ObligationToBuyTCByAmountAccessBeanData

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 &l This access bean corresponds to the database table 'TERMCOND'.

See Also:
Serialized Form

Constructor Summary
ObligationToBuyTCByAmountAccessBean()
Zero argument constructor used to initialize the access bean.
ObligationToBuyTCByAmountAccessBean(javax.ejb.EJBObject o)
constructor
ObligationToBuyTCByAmountAccessBean(java.lang.Long argTradingId, org.w3c.dom.Element argElement)
Constructs an ObligationToBuyTCByAmount object with the specified trading agreement ID, and the obligation term condition element.
Method Summary
void commitCopyHelper()
Update(flush) data to the EJBObject (persistent storage).
java.lang.Long createNewVersion(java.lang.Long arg0)
protected java.lang.String defaultJNDIName()
java.lang.String getChangeableFlag()
This method provides access to the TERMCOND.CHANGEABLE column of DB2 type INTEGER NOT NULL DEFAULT 0.
java.lang.Integer getChangeableFlagInEJBType()
This method provides access to the TERMCOND.CHANGEABLE column of DB2 type INTEGER NOT NULL DEFAULT 0.
java.lang.String getCurrency()
This method provides access to the TERMCOND.STRINGFIELD2 column of DB2 type VARCHAR(254).
TermConditionDescriptionAccessBean getDescription(java.lang.Integer arg0)
This method accesses a non-CMP field
TermConditionDescriptionAccessBean getDescription(java.lang.Integer arg0, java.lang.Integer arg1)
This method accesses a non-CMP field
java.lang.String getMandatoryFlag()
This method provides access to the TERMCOND.MANDATORY column of DB2 type INTEGER NOT NULL DEFAULT 0.
java.lang.Integer getMandatoryFlagInEJBType()
This method provides access to the TERMCOND.MANDATORY column of DB2 type INTEGER NOT NULL DEFAULT 0.
java.lang.String getNumberOfDays()
This method provides access to the TERMCOND.INTEGERFIELD1 column of DB2 type INTEGER.
java.lang.Integer getNumberOfDaysInEJBType()
This method provides access to the TERMCOND.INTEGERFIELD1 column of DB2 type INTEGER.
ParticipantAccessBean[] getParticipants()
This method accesses a non-CMP field
BusinessPolicyAccessBean[] getPolicies()
This method accesses a non-CMP field
BusinessPolicyAccessBean[] getPoliciesByType(java.lang.String arg0)
This method accesses a non-CMP field
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 accesses a non-CMP field
java.lang.String getTimeCreated()
This method provides access to the TERMCOND.TIMECREATED column of DB2 type TIMESTAMP.
java.sql.Timestamp getTimeCreatedInEJBType()
This method provides access to the TERMCOND.TIMECREATED column of DB2 type TIMESTAMP.
java.lang.String getTimeUpdated()
This method provides access to the TERMCOND.TIMEUPDATED column of DB2 type TIMESTAMP.
java.sql.Timestamp getTimeUpdatedInEJBType()
This method provides access to the TERMCOND.TIMEUPDATED column of DB2 type TIMESTAMP.
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 getValue()
This method provides access to the TERMCOND.DECIMALFIELD1 column of DB2 type DECIMAL(20 5).
java.math.BigDecimal getValueInEJBType()
This method provides access to the TERMCOND.DECIMALFIELD1 column of DB2 type DECIMAL(20 5).
java.lang.String getXMLString()
This method accesses a non-CMP field
java.lang.String getXMLString(boolean arg)
This method accesses a non-CMP field
protected void instantiateEJB()
protected boolean instantiateEJBByPrimaryKey()
void markForDelete()
void parseXMLElement(org.w3c.dom.Element arg0)
void refreshCopyHelper()
Load data from the EJBObject.
void setChangeableFlag(java.lang.Integer newValue)
This method accesses a non-CMP field
void setChangeableFlag(java.lang.String newValue)
This method accesses a non-CMP field
void setCurrency(java.lang.String newValue)
This method accesses a non-CMP field
void setInitKey_referenceNumber(java.lang.String newValue)
Set the primary key for this object
void setMandatoryFlag(java.lang.Integer newValue)
This method accesses a non-CMP field
void setMandatoryFlag(java.lang.String newValue)
This method accesses a non-CMP field
void setNumberOfDays(java.lang.Integer newValue)
This method accesses a non-CMP field
void setNumberOfDays(java.lang.String newValue)
This method accesses a non-CMP field
void setReferenceNumber(java.lang.Long newValue)
This method accesses a non-CMP field
void setReferenceNumber(java.lang.String newValue)
This method accesses a non-CMP field
void setTcSequence(java.lang.Integer newValue)
This method accesses a non-CMP field
void setTcSequence(java.lang.String newValue)
This method accesses a non-CMP field
void setTimeCreated(java.lang.String newValue)
This method accesses a non-CMP field
void setTimeCreated(java.sql.Timestamp newValue)
This method accesses a non-CMP field
void setTimeUpdated(java.lang.String newValue)
This method accesses a non-CMP field
void setTimeUpdated(java.sql.Timestamp newValue)
This method accesses a non-CMP field
void setTradingId(java.lang.Long newValue)
This method accesses a non-CMP field
void setTradingId(java.lang.String newValue)
This method accesses a non-CMP field
void setValue(java.math.BigDecimal newValue)
This method accesses a non-CMP field
void setValue(java.lang.String newValue)
This method accesses a non-CMP field
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Constructor Detail

ObligationToBuyTCByAmountAccessBean

public ObligationToBuyTCByAmountAccessBean()
Zero argument constructor used to initialize the access bean. This constructor corresponds to the following home interface method: public abstract com.ibm.commerce.contract.objects.ObligationToBuyTCByAmount com.ibm.commerce.contract.objimpl.ObligationToBuyTCByAmountHomeBase.findByPrimaryKey(com.ibm.commerce.contract.objects.TermConditionKey) throws java.rmi.RemoteException,javax.ejb.FinderException The home interface method properties need to be set by calling the following setter methods before calling any business methods: setInitKey_referenceNumber( java.lang.Long )

ObligationToBuyTCByAmountAccessBean

public ObligationToBuyTCByAmountAccessBean(javax.ejb.EJBObject o)
                                    throws java.rmi.RemoteException
constructor
Parameters:
o - javax.ejb.EJBObject
Throws:
java.rmi.RemoteException

ObligationToBuyTCByAmountAccessBean

public ObligationToBuyTCByAmountAccessBean(java.lang.Long argTradingId,
                                           org.w3c.dom.Element argElement)
                                    throws javax.naming.NamingException,
                                           javax.ejb.CreateException,
                                           javax.ejb.FinderException,
                                           java.rmi.RemoteException,
                                           javax.ejb.RemoveException

Constructs an ObligationToBuyTCByAmount object with the specified trading agreement ID, and the obligation term condition element.

Parameters:
argTradingId - The ID of the trading agreement the terms and conditions will be associated with.
argElement - The XML Elment object represeting 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

setInitKey_referenceNumber

public void setInitKey_referenceNumber(java.lang.String newValue)

Set the primary key for this object

Parameters:
newValue - java.lang.String
Returns:
void

defaultJNDIName

protected java.lang.String defaultJNDIName()
Returns:
String

instantiateEJB

protected void instantiateEJB()
                       throws java.rmi.RemoteException,
                              javax.ejb.FinderException,
                              javax.naming.NamingException
Returns:
void
Throws:
java.rmi.RemoteException
javax.ejb.FinderException
javax.naming.NamingException

instantiateEJBByPrimaryKey

protected boolean instantiateEJBByPrimaryKey()
                                      throws java.rmi.RemoteException,
                                             javax.ejb.CreateException,
                                             javax.naming.NamingException
Returns:
boolean
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.naming.NamingException

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).

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

refreshCopyHelper

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

Load data from the EJBObject.

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

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 DEFAULT 0.

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. Valid values are as follows:&l

Specified by:
getMandatoryFlag in interface ObligationToBuyTCByAmountAccessBeanData
Returns:
String
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

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 DEFAULT 0.

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. Valid values are as follows:&l

Returns:
java.lang.Integer
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

setMandatoryFlag

public void setMandatoryFlag(java.lang.String newValue)
This method accesses a non-CMP field
Specified by:
setMandatoryFlag in interface ObligationToBuyTCByAmountAccessBeanData
Parameters:
newValue - The flag indicating whether the trading agreement participant must respond to this term during negotiation.

setMandatoryFlag

public void setMandatoryFlag(java.lang.Integer newValue)
This method accesses a non-CMP field

getValue

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

This method provides access to the TERMCOND.DECIMALFIELD1 column of DB2 type DECIMAL(20 5).

The following is a description of this column:

A DECIMAL field used to store terms and conditions data.

Specified by:
getValue in interface ObligationToBuyTCByAmountAccessBeanData
Returns:
String
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

getValueInEJBType

public java.math.BigDecimal getValueInEJBType()
                                       throws java.rmi.RemoteException,
                                              javax.ejb.CreateException,
                                              javax.ejb.FinderException,
                                              javax.naming.NamingException

This method provides access to the TERMCOND.DECIMALFIELD1 column of DB2 type DECIMAL(20 5).

The following is a description of this column:

A DECIMAL field used to store terms and conditions data.

Returns:
java.math.BigDecimal
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

setValue

public void setValue(java.lang.String newValue)
This method accesses a non-CMP field
Specified by:
setValue in interface ObligationToBuyTCByAmountAccessBeanData
Parameters:
newValue - The value of the amount.

setValue

public void setValue(java.math.BigDecimal newValue)
This method accesses a non-CMP field

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 ObligationToBuyTCByAmountAccessBeanData
Returns:
String
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

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:
java.lang.Long
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

setTradingId

public void setTradingId(java.lang.String newValue)
This method accesses a non-CMP field
Specified by:
setTradingId in interface ObligationToBuyTCByAmountAccessBeanData
Parameters:
newValue - The ID of the trading agreement.

setTradingId

public void setTradingId(java.lang.Long newValue)
This method accesses a non-CMP field

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.

The following is a description of this column:

Time that this term and condition was last updated.

Specified by:
getTimeUpdated in interface ObligationToBuyTCByAmountAccessBeanData
Returns:
String
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

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.

The following is a description of this column:

Time that this term and condition was last updated.

Returns:
java.sql.Timestamp
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

setTimeUpdated

public void setTimeUpdated(java.lang.String newValue)
This method accesses a non-CMP field
Specified by:
setTimeUpdated in interface ObligationToBuyTCByAmountAccessBeanData
Parameters:
newValue - The last updated time of the terms and conditions.

setTimeUpdated

public void setTimeUpdated(java.sql.Timestamp newValue)
This method accesses a non-CMP field

getNumberOfDays

public java.lang.String getNumberOfDays()
                                 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.

The following is a description of this column:

An INTEGER field used to store terms and conditions data.

Specified by:
getNumberOfDays in interface ObligationToBuyTCByAmountAccessBeanData
Returns:
String
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

getNumberOfDaysInEJBType

public java.lang.Integer getNumberOfDaysInEJBType()
                                           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.

The following is a description of this column:

An INTEGER field used to store terms and conditions data.

Returns:
java.lang.Integer
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

setNumberOfDays

public void setNumberOfDays(java.lang.String newValue)
This method accesses a non-CMP field
Specified by:
setNumberOfDays in interface ObligationToBuyTCByAmountAccessBeanData
Parameters:
newValue - The number of days.

setNumberOfDays

public void setNumberOfDays(java.lang.Integer newValue)
This method accesses a non-CMP field

getCurrency

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

This method provides access to the TERMCOND.STRINGFIELD2 column of DB2 type VARCHAR(254).

The following is a description of this column:

A STRING field used to store terms and conditions data.

Specified by:
getCurrency in interface ObligationToBuyTCByAmountAccessBeanData
Returns:
java.lang.String
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

setCurrency

public void setCurrency(java.lang.String newValue)
This method accesses a non-CMP field
Specified by:
setCurrency in interface ObligationToBuyTCByAmountAccessBeanData
Parameters:
newValue - The currency type.

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 DEFAULT 0.

The following is a description of this column:

This column indicates if the trading agreement participant can change the term. Valid values are as follows:&l

Specified by:
getChangeableFlag in interface ObligationToBuyTCByAmountAccessBeanData
Returns:
String
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

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 DEFAULT 0.

The following is a description of this column:

This column indicates if the trading agreement participant can change the term. Valid values are as follows:&l

Returns:
java.lang.Integer
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

setChangeableFlag

public void setChangeableFlag(java.lang.String newValue)
This method accesses a non-CMP field
Specified by:
setChangeableFlag in interface ObligationToBuyTCByAmountAccessBeanData
Parameters:
newValue - The flag indicating whether the trading agreement participant can change the terms and conditions.

setChangeableFlag

public void setChangeableFlag(java.lang.Integer newValue)
This method accesses a non-CMP field

getTcSubType

public java.lang.String getTcSubType()
                              throws java.rmi.RemoteException,
                                     javax.ejb.CreateException,
                                     javax.ejb.FinderException,
                                     javax.naming.NamingException
This method accesses a non-CMP field
Specified by:
getTcSubType in interface ObligationToBuyTCByAmountAccessBeanData
Returns:
The sub-type of the terms and conditions.
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception.
javax.naming.NamingException - The javax.naming.NamingException exception.
javax.ejb.CreateException
javax.ejb.FinderException

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.

The following is a description of this column:

Time that this term and condition was created.

Specified by:
getTimeCreated in interface ObligationToBuyTCByAmountAccessBeanData
Returns:
String
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

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.

The following is a description of this column:

Time that this term and condition was created.

Returns:
java.sql.Timestamp
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

setTimeCreated

public void setTimeCreated(java.lang.String newValue)
This method accesses a non-CMP field
Specified by:
setTimeCreated in interface ObligationToBuyTCByAmountAccessBeanData
Parameters:
newValue - The time the terms and conditions were created.

setTimeCreated

public void setTimeCreated(java.sql.Timestamp newValue)
This method accesses a non-CMP field

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 ObligationToBuyTCByAmountAccessBeanData
Returns:
String
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

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:
java.lang.Integer
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

setTcSequence

public void setTcSequence(java.lang.String newValue)
This method accesses a non-CMP field
Specified by:
setTcSequence in interface ObligationToBuyTCByAmountAccessBeanData
Parameters:
newValue - The number indicating the sequence of the term within a trading agreement.

setTcSequence

public void setTcSequence(java.lang.Integer newValue)
This method accesses a non-CMP field

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 ObligationToBuyTCByAmountAccessBeanData
Returns:
String
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

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:
java.lang.Long
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

setReferenceNumber

public void setReferenceNumber(java.lang.String newValue)
This method accesses a non-CMP field
Specified by:
setReferenceNumber in interface ObligationToBuyTCByAmountAccessBeanData
Parameters:
newValue - The ID of the terms and conditions.

setReferenceNumber

public void setReferenceNumber(java.lang.Long newValue)
This method accesses a non-CMP field

getPolicies

public BusinessPolicyAccessBean[] getPolicies()
                                       throws javax.naming.NamingException,
                                              javax.ejb.CreateException,
                                              javax.ejb.FinderException,
                                              java.rmi.RemoteException
This method accesses a non-CMP field
Throws:
javax.naming.NamingException
javax.ejb.CreateException
javax.ejb.FinderException
java.rmi.RemoteException

getPoliciesByType

public BusinessPolicyAccessBean[] getPoliciesByType(java.lang.String arg0)
                                             throws javax.naming.NamingException,
                                                    javax.ejb.CreateException,
                                                    javax.ejb.FinderException,
                                                    java.rmi.RemoteException
This method accesses a non-CMP field
Throws:
javax.naming.NamingException
javax.ejb.CreateException
javax.ejb.FinderException
java.rmi.RemoteException

getParticipants

public ParticipantAccessBean[] getParticipants()
                                        throws javax.naming.NamingException,
                                               javax.ejb.CreateException,
                                               javax.ejb.FinderException,
                                               java.rmi.RemoteException
This method accesses a non-CMP field
Throws:
javax.naming.NamingException
javax.ejb.CreateException
javax.ejb.FinderException
java.rmi.RemoteException

getDescription

public TermConditionDescriptionAccessBean getDescription(java.lang.Integer arg0)
                                                  throws javax.naming.NamingException,
                                                         javax.ejb.CreateException,
                                                         javax.ejb.FinderException,
                                                         java.rmi.RemoteException
This method accesses a non-CMP field
Throws:
javax.naming.NamingException
javax.ejb.CreateException
javax.ejb.FinderException
java.rmi.RemoteException

getDescription

public TermConditionDescriptionAccessBean getDescription(java.lang.Integer arg0,
                                                         java.lang.Integer arg1)
                                                  throws javax.naming.NamingException,
                                                         javax.ejb.CreateException,
                                                         javax.ejb.FinderException,
                                                         java.rmi.RemoteException
This method accesses a non-CMP field
Throws:
javax.naming.NamingException
javax.ejb.CreateException
javax.ejb.FinderException
java.rmi.RemoteException

createNewVersion

public java.lang.Long createNewVersion(java.lang.Long arg0)
                                throws org.xml.sax.SAXException,
                                       java.io.IOException,
                                       javax.ejb.CreateException,
                                       javax.ejb.FinderException,
                                       javax.ejb.RemoveException,
                                       javax.naming.NamingException,
                                       java.rmi.RemoteException
Parameters:
arg0 - java.lang.Long
Returns:
java.lang.Long
Throws:
org.xml.sax.SAXException
java.io.IOException
javax.ejb.CreateException
javax.ejb.FinderException
javax.ejb.RemoveException
javax.naming.NamingException
java.rmi.RemoteException

getXMLString

public java.lang.String getXMLString()
                              throws javax.naming.NamingException,
                                     javax.ejb.CreateException,
                                     javax.ejb.FinderException,
                                     java.rmi.RemoteException
This method accesses a non-CMP field
Throws:
javax.naming.NamingException
javax.ejb.CreateException
javax.ejb.FinderException
java.rmi.RemoteException

getXMLString

public java.lang.String getXMLString(boolean arg)
                              throws javax.naming.NamingException,
                                     javax.ejb.CreateException,
                                     javax.ejb.FinderException,
                                     java.rmi.RemoteException
This method accesses a non-CMP field
Throws:
javax.naming.NamingException
javax.ejb.CreateException
javax.ejb.FinderException
java.rmi.RemoteException

markForDelete

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

parseXMLElement

public void parseXMLElement(org.w3c.dom.Element arg0)
                     throws javax.naming.NamingException,
                            javax.ejb.CreateException,
                            javax.ejb.FinderException,
                            java.rmi.RemoteException,
                            javax.ejb.RemoveException
Parameters:
arg0 - org.w3c.dom.Element
Returns:
void
Throws:
javax.naming.NamingException
javax.ejb.CreateException
javax.ejb.FinderException
java.rmi.RemoteException
javax.ejb.RemoveException

Feedback