com.ibm.commerce.contract.objects
Class OrderTCOrderItemPAttributeAccessBean

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

public class OrderTCOrderItemPAttributeAccessBean
extends com.ibm.ivj.ejb.runtime.AbstractEntityAccessBean
implements OrderTCOrderItemPAttributeAccessBeanData

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
OrderTCOrderItemPAttributeAccessBean()
Zero argument constructor used to initialize the access bean.
OrderTCOrderItemPAttributeAccessBean(javax.ejb.EJBObject o)
constructor
OrderTCOrderItemPAttributeAccessBean(java.lang.Long argTradingId, org.w3c.dom.Element argElement)
Constructs an OrderTCOrderItemPAttribute object with the specified trading agreement ID, and the order term condition element.
OrderTCOrderItemPAttributeAccessBean(java.lang.Long argTradingId, java.lang.Long argCatEntryId, java.lang.Integer argMandatoryFlag, java.lang.Integer argChangeableFlag)
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.util.Enumeration findByTradingAndCatEntryId(java.lang.Long argTradingId, java.lang.Long argCatEntryId)
Retrieves an Enumeration of OrderTCOrderItemPAttributeAccessBean representing rows that match the search criteria.
java.util.Enumeration findByTradingAndCatEntryIdForBuyer(java.lang.Long argTradingId, java.lang.Long argCatEntryId, java.lang.Long argMemberId)
Retrieves an Enumeration of OrderTCOrderItemPAttributeAccessBean representing rows that match the search criteria.
java.lang.String getCatEntryId()
This method provides access to the TERMCOND.BIGINTFIELD1 column of DB2 type BIGINT.
java.lang.Long getCatEntryIdInEJBType()
This method provides access to the TERMCOND.BIGINTFIELD1 column of DB2 type BIGINT.
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.
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.
ParticipantAccessBean[] getParticipants()
This method accesses a non-CMP field
PAttrValueAccessBean[] getPAttrValues()
This method returns all personalization attribute values.
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 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 setCatEntryId(java.lang.Long newValue)
This method accesses a non-CMP field
void setCatEntryId(java.lang.String newValue)
This method accesses a non-CMP field
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 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 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
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Constructor Detail

OrderTCOrderItemPAttributeAccessBean

public OrderTCOrderItemPAttributeAccessBean()
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.OrderTCOrderItemPAttribute com.ibm.commerce.contract.objimpl.OrderTCOrderItemPAttributeHomeBase.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 )

OrderTCOrderItemPAttributeAccessBean

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

OrderTCOrderItemPAttributeAccessBean

public OrderTCOrderItemPAttributeAccessBean(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 OrderTCOrderItemPAttribute object with the specified trading agreement ID, and the order term condition element.

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

OrderTCOrderItemPAttributeAccessBean

public OrderTCOrderItemPAttributeAccessBean(java.lang.Long argTradingId,
                                            java.lang.Long argCatEntryId,
                                            java.lang.Integer argMandatoryFlag,
                                            java.lang.Integer argChangeableFlag)
                                     throws javax.naming.NamingException,
                                            javax.ejb.CreateException,
                                            javax.ejb.FinderException,
                                            java.rmi.RemoteException,
                                            javax.ejb.RemoveException
Parameters:
argTradingId - java.lang.Long
Throws:
java.lang.String - The exception description.
java.lang.String - The exception description.
java.lang.String - The exception description.
java.lang.String - The exception description.
java.lang.String - The exception description.
javax.naming.NamingException
javax.ejb.CreateException
javax.ejb.FinderException
java.rmi.RemoteException
javax.ejb.RemoveException
Method Detail

findByTradingAndCatEntryId

public java.util.Enumeration findByTradingAndCatEntryId(java.lang.Long argTradingId,
                                                        java.lang.Long argCatEntryId)
                                                 throws java.rmi.RemoteException,
                                                        javax.ejb.FinderException,
                                                        javax.naming.NamingException

Retrieves an Enumeration of OrderTCOrderItemPAttributeAccessBean representing rows that match the search criteria.

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

select * from policycmd T1 where T1.trading_id = ? and bigintfield1 = ? and tcsubtype_id = 'OrderTCOrderItemPAttribute'"

Parameters:
argTradingId - The ID of the trading agreement.
argCatEntryId - The ID of the catalog entry.
Returns:
An Enumeration of all the OrderTCOrderItemPAttributeAccessBeans 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

findByTradingAndCatEntryIdForBuyer

public java.util.Enumeration findByTradingAndCatEntryIdForBuyer(java.lang.Long argTradingId,
                                                                java.lang.Long argCatEntryId,
                                                                java.lang.Long argMemberId)
                                                         throws java.rmi.RemoteException,
                                                                javax.ejb.FinderException,
                                                                javax.naming.NamingException

Retrieves an Enumeration of OrderTCOrderItemPAttributeAccessBean representing rows that match the search criteria.

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

select * from policycmd T1 where T1.trading_id=? and bigintfield1 = ? and tcsubtype_id = 'OrderTCOrderItemPAttribute' 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:
argTradingId - The ID of the trading agreement.
argCatEntryId - The ID of the catalog entry.
argMemberId - The member ID of the buyer.
Returns:
An Enumeration of all the OrderTCOrderItemPAttributeAccessBeans 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

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 OrderTCOrderItemPAttributeAccessBeanData
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 OrderTCOrderItemPAttributeAccessBeanData

setMandatoryFlag

public void setMandatoryFlag(java.lang.Integer 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 OrderTCOrderItemPAttributeAccessBeanData
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 OrderTCOrderItemPAttributeAccessBeanData

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 OrderTCOrderItemPAttributeAccessBeanData
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 OrderTCOrderItemPAttributeAccessBeanData

setTimeUpdated

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

getCatEntryId

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

The following is a description of this column:

A BIGINT field used to store terms and conditions data.

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

getCatEntryIdInEJBType

public java.lang.Long getCatEntryIdInEJBType()
                                      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.

The following is a description of this column:

A BIGINT field used to store terms and conditions data.

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

setCatEntryId

public void setCatEntryId(java.lang.String newValue)
This method accesses a non-CMP field
Specified by:
setCatEntryId in interface OrderTCOrderItemPAttributeAccessBeanData

setCatEntryId

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

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 OrderTCOrderItemPAttributeAccessBeanData
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 OrderTCOrderItemPAttributeAccessBeanData

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

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 OrderTCOrderItemPAttributeAccessBeanData
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 OrderTCOrderItemPAttributeAccessBeanData

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 OrderTCOrderItemPAttributeAccessBeanData
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 OrderTCOrderItemPAttributeAccessBeanData

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 OrderTCOrderItemPAttributeAccessBeanData
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 OrderTCOrderItemPAttributeAccessBeanData

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

getPAttrValues

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

This method returns all personalization attribute values.

Returns:
An array of the PAttrValueAccessBean objects representing the PAttrValues.
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

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