com.ibm.commerce.order.objects
Class TradingPositionContainerXMLDefinitionAccessBean

java.lang.Object
  |
  +--com.ibm.ivj.ejb.runtime.AbstractAccessBean
        |
        +--com.ibm.ivj.ejb.runtime.AbstractEntityAccessBean
              |
              +--com.ibm.commerce.order.objects.TradingPositionContainerXMLDefinitionAccessBean
All Implemented Interfaces:
java.io.Serializable, TradingPositionContainerXMLDefinitionAccessBeanData

public class TradingPositionContainerXMLDefinitionAccessBean
extends com.ibm.ivj.ejb.runtime.AbstractEntityAccessBean
implements TradingPositionContainerXMLDefinitionAccessBeanData

This bean provides access to the TRDPSCNXML table.

The following is a description of this table:

This table is used to store the XML document for a given trading position container.

See Also:
Serialized Form

Fields inherited from class com.ibm.ivj.ejb.runtime.AbstractAccessBean
DEFAULT_NAMESERVICE_PROVIDER_URL, DEFAULT_NAMESERVICE_TYPE, ejbRef
 
Constructor Summary
TradingPositionContainerXMLDefinitionAccessBean()
          Default constructor.
TradingPositionContainerXMLDefinitionAccessBean(javax.ejb.EJBObject object)
          Creates an access bean for the specified EJB
TradingPositionContainerXMLDefinitionAccessBean(java.lang.Long aTradingPositionContainerId, java.lang.Integer aSequence, java.lang.String aXMLDefinition)
          Maps to a corresponding ejbCreate method in the home interface of the EJB
 
Method Summary
 void commitCopyHelper()
          Update(flush) data to the EJBObject (persistent storage).
 java.util.Enumeration findByTradingPositionContainer(java.lang.Long argTradingPositionContainerId)
          Retrieves all the TradingPositionContainer XML Definitions that correspond to the specified TradingPositionContainer ID in order by sequence.
 java.lang.String getField1()
          This method provides access to the TRDPSCNXML.FIELD1 column of DB2 type INTEGER NULL.
 java.lang.Integer getField1InEJBType()
          This method provides access to the TRDPSCNXML.FIELD1 column of DB2 type INTEGER NULL.
 java.lang.String getField2()
          This method provides access to the TRDPSCNXML.FIELD2 column of DB2 type INTEGER NULL.
 java.lang.Integer getField2InEJBType()
          This method provides access to the TRDPSCNXML.FIELD2 column of DB2 type INTEGER NULL.
 java.lang.String getSequence()
          This method provides access to the TRDPSCNXML.SEQUENCE column of DB2 type INTEGER NOT NULL.
 java.lang.Integer getSequenceInEJBType()
          This method provides access to the TRDPSCNXML.SEQUENCE column of DB2 type INTEGER NOT NULL.
 java.lang.String getTradingPositionContainerId()
          This method provides access to the TRDPSCNXML.TRADEPOSCN_ID column of DB2 type BIGINT NOT NULL.
 java.lang.Long getTradingPositionContainerIdInEJBType()
          This method provides access to the TRDPSCNXML.TRADEPOSCN_ID column of DB2 type BIGINT NOT NULL.
 java.lang.String getXMLDefinition()
          This method provides access to the TRDPSCNXML.XMLDEFINITION column of DB2 type LONG NULL.
 void refreshCopyHelper()
          Load data from the EJBObject.
 void setField1(java.lang.Integer aField1)
          This method provides access to the TRDPSCNXML.FIELD1 column of DB2 type INTEGER NULL.
 void setField1(java.lang.String aField1)
          This method provides access to the TRDPSCNXML.FIELD1 column of DB2 type INTEGER NULL.
 void setField2(java.lang.Integer aField2)
          This method provides access to the TRDPSCNXML.FIELD2 column of DB2 type INTEGER NULL.
 void setField2(java.lang.String aField2)
          This method provides access to the TRDPSCNXML.FIELD2 column of DB2 type INTEGER NULL.
 void setInitKey_iSequence(java.lang.String aInitKey_iSequence)
          Set the primary key for this object
 void setInitKey_iTradingPositionContainerId(java.lang.String aInitKey_iTradingPositionContainerId)
          Set the primary key for this object
 void setSequence(java.lang.Integer aSequence)
          This method provides access to the TRDPSCNXML.SEQUENCE column of DB2 type INTEGER NOT NULL.
 void setSequence(java.lang.String aSequence)
          This method provides access to the TRDPSCNXML.SEQUENCE column of DB2 type INTEGER NOT NULL.
 void setTradingPositionContainerId(java.lang.Long aTradingPositionContainerId)
          This method provides access to the TRDPSCNXML.TRADEPOSCN_ID column of DB2 type BIGINT NOT NULL.
 void setTradingPositionContainerId(java.lang.String aTradingPositionContainerId)
          This method provides access to the TRDPSCNXML.TRADEPOSCN_ID column of DB2 type BIGINT NOT NULL.
 void setXMLDefinition(java.lang.String aXMLDefinition)
          This method provides access to the TRDPSCNXML.XMLDEFINITION column of DB2 type LONG 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

TradingPositionContainerXMLDefinitionAccessBean

public TradingPositionContainerXMLDefinitionAccessBean()

Default constructor. Maps to findByPrimaryKey.


TradingPositionContainerXMLDefinitionAccessBean

public TradingPositionContainerXMLDefinitionAccessBean(javax.ejb.EJBObject object)
                                                throws java.rmi.RemoteException

Creates an access bean for the specified EJB

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

TradingPositionContainerXMLDefinitionAccessBean

public TradingPositionContainerXMLDefinitionAccessBean(java.lang.Long aTradingPositionContainerId,
                                                       java.lang.Integer aSequence,
                                                       java.lang.String aXMLDefinition)
                                                throws javax.naming.NamingException,
                                                       javax.ejb.CreateException,
                                                       java.rmi.RemoteException,
                                                       javax.ejb.FinderException

Maps to a corresponding ejbCreate method in the home interface of the EJB

Parameters:
aTradingPositionContainerId - The internal ID of the TradingPositionContainer.
aSequence - The sequence number of the TradingPositionContainer.
aXMLDefinition - The XML definition of the TradingPositionContainer.
Throws:
javax.naming.NamingException - The javax.naming.NamingException exception
javax.ejb.CreateException - The javax.ejb.CreateException exception
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.FinderException - The javax.ejb.FinderException 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
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

findByTradingPositionContainer

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

Retrieves all the TradingPositionContainer XML Definitions that correspond to the specified TradingPositionContainer ID in order by sequence.

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

SELECT * FROM TRDPSCNXML T1 WHERE TRADEPOSCN_ID = ? ORDER BY SEQUENCE

Parameters:
argTradingPositionContainerId - The internal ID of the TradingPositionContainer
Returns:
An Enumeration of all the TradingPositionContainerXMLDefinitionAccessBean objects representing rows that match the search criteria.
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException - The javax.naming.NamingException exception

getField1

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

This method provides access to the TRDPSCNXML.FIELD1 column of DB2 type INTEGER NULL.

The following is a description of this column:

Customizable.

Specified by:
getField1 in interface TradingPositionContainerXMLDefinitionAccessBeanData
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

getField1InEJBType

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

This method provides access to the TRDPSCNXML.FIELD1 column of DB2 type INTEGER NULL.

The following is a description of this column:

Customizable.

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

getField2

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

This method provides access to the TRDPSCNXML.FIELD2 column of DB2 type INTEGER NULL.

The following is a description of this column:

Customizable.

Specified by:
getField2 in interface TradingPositionContainerXMLDefinitionAccessBeanData
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

getField2InEJBType

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

This method provides access to the TRDPSCNXML.FIELD2 column of DB2 type INTEGER NULL.

The following is a description of this column:

Customizable.

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

getSequence

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

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

The following is a description of this column:

Primary key. Sequence number.

Specified by:
getSequence in interface TradingPositionContainerXMLDefinitionAccessBeanData
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

getSequenceInEJBType

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

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

The following is a description of this column:

Primary key. Sequence number.

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

getTradingPositionContainerId

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

This method provides access to the TRDPSCNXML.TRADEPOSCN_ID column of DB2 type BIGINT NOT NULL.

The following is a description of this column:

Primary key. Trading position container ID.

Specified by:
getTradingPositionContainerId in interface TradingPositionContainerXMLDefinitionAccessBeanData
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

getTradingPositionContainerIdInEJBType

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

This method provides access to the TRDPSCNXML.TRADEPOSCN_ID column of DB2 type BIGINT NOT NULL.

The following is a description of this column:

Primary key. Trading position container ID.

Returns:
java.lang.Long
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

getXMLDefinition

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

This method provides access to the TRDPSCNXML.XMLDEFINITION column of DB2 type LONG NULL.

The following is a description of this column:

XML document.

Specified by:
getXMLDefinition in interface TradingPositionContainerXMLDefinitionAccessBeanData
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

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

setField1

public void setField1(java.lang.Integer aField1)

This method provides access to the TRDPSCNXML.FIELD1 column of DB2 type INTEGER NULL.

The following is a description of this column:

Customizable.

Parameters:
aField1 - java.lang.Integer

setField1

public void setField1(java.lang.String aField1)

This method provides access to the TRDPSCNXML.FIELD1 column of DB2 type INTEGER NULL.

The following is a description of this column:

Customizable.

Specified by:
setField1 in interface TradingPositionContainerXMLDefinitionAccessBeanData
Parameters:
aField1 - java.lang.String

setField2

public void setField2(java.lang.Integer aField2)

This method provides access to the TRDPSCNXML.FIELD2 column of DB2 type INTEGER NULL.

The following is a description of this column:

Customizable.

Parameters:
aField2 - java.lang.Integer

setField2

public void setField2(java.lang.String aField2)

This method provides access to the TRDPSCNXML.FIELD2 column of DB2 type INTEGER NULL.

The following is a description of this column:

Customizable.

Specified by:
setField2 in interface TradingPositionContainerXMLDefinitionAccessBeanData
Parameters:
aField2 - java.lang.String

setInitKey_iSequence

public void setInitKey_iSequence(java.lang.String aInitKey_iSequence)

Set the primary key for this object

Parameters:
aInitKey_iSequence - The sequence number

setInitKey_iTradingPositionContainerId

public void setInitKey_iTradingPositionContainerId(java.lang.String aInitKey_iTradingPositionContainerId)

Set the primary key for this object

Parameters:
aInitKey_iTradingPositionContainerId - The internal ID of the trading position container.

setSequence

public void setSequence(java.lang.Integer aSequence)

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

The following is a description of this column:

Primary key. Sequence number.

Parameters:
aSequence - java.lang.Integer

setSequence

public void setSequence(java.lang.String aSequence)

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

The following is a description of this column:

Primary key. Sequence number.

Specified by:
setSequence in interface TradingPositionContainerXMLDefinitionAccessBeanData
Parameters:
aSequence - java.lang.String

setTradingPositionContainerId

public void setTradingPositionContainerId(java.lang.Long aTradingPositionContainerId)

This method provides access to the TRDPSCNXML.TRADEPOSCN_ID column of DB2 type BIGINT NOT NULL.

The following is a description of this column:

Primary key. Trading position container ID.

Parameters:
aTradingPositionContainerId - java.lang.Long

setTradingPositionContainerId

public void setTradingPositionContainerId(java.lang.String aTradingPositionContainerId)

This method provides access to the TRDPSCNXML.TRADEPOSCN_ID column of DB2 type BIGINT NOT NULL.

The following is a description of this column:

Primary key. Trading position container ID.

Specified by:
setTradingPositionContainerId in interface TradingPositionContainerXMLDefinitionAccessBeanData
Parameters:
aTradingPositionContainerId - java.lang.String

setXMLDefinition

public void setXMLDefinition(java.lang.String aXMLDefinition)

This method provides access to the TRDPSCNXML.XMLDEFINITION column of DB2 type LONG NULL.

The following is a description of this column:

XML document.

Specified by:
setXMLDefinition in interface TradingPositionContainerXMLDefinitionAccessBeanData
Parameters:
aXMLDefinition - java.lang.String