com.ibm.commerce.order.objects
Class TradingPositionContainerAccessBean

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

public class TradingPositionContainerAccessBean
extends com.ibm.ivj.ejb.runtime.AbstractEntityAccessBean
implements TradingPositionContainerAccessBeanData

This bean provides access to the TRADEPOSCN table.

The following is a description of this table:

This table represents a TradingPositionContainer, which can contain TradingPositions and can be make available to all customers, or to only customers in certain groups through the trading agreements or contracts.

See Also:
Serialized Form

Fields inherited from class com.ibm.ivj.ejb.runtime.AbstractAccessBean
DEFAULT_NAMESERVICE_PROVIDER_URL, DEFAULT_NAMESERVICE_TYPE, ejbRef
 
Constructor Summary
TradingPositionContainerAccessBean()
          Default constructor.
TradingPositionContainerAccessBean(javax.ejb.EJBObject object)
          Creates an access bean for the specified EJB
TradingPositionContainerAccessBean(org.w3c.dom.Element aPLElement)
          Maps to a corresponding ejbCreate method in the home interface of the EJB
TradingPositionContainerAccessBean(java.lang.Long anMemberId, java.lang.String astrName)
          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 findAll()
          Retrieves all the Trading Position Containers.
 java.util.Enumeration findByName(java.lang.String aName)
          Retrieves all the Trading Position Containers that is of the specified name.
 java.util.Enumeration findByNameAndMemberId(java.lang.String aName, java.lang.Long aMemberId)
          Retrieves all the Trading Position Containers with the specified name owned by the specified member.
 java.util.Enumeration findByType(java.lang.String aType)
          Retrieves all the Trading Position Containers that is of the specified type.
 java.lang.String getDescription()
          This method provides access to the TRADEPOSCN.DESCRIPTION column of DB2 type VARCHAR(254) NULL.
 java.lang.String getFlags()
          This method provides access to the TRADEPOSCN.FLAGS column of DB2 type INTEGER NOT NULL.
 java.lang.Integer getFlagsInEJBType()
          This method provides access to the TRADEPOSCN.FLAGS column of DB2 type INTEGER NOT NULL.
 java.lang.String getMarkForDelete()
          This method provides access to the TRADEPOSCN.MARKFORDELETE column of DB2 type INTEGER NOT NULL.
 java.lang.Integer getMarkForDeleteInEJBType()
          This method provides access to the TRADEPOSCN.MARKFORDELETE column of DB2 type INTEGER NOT NULL.
 java.lang.String getMemberId()
          This method provides access to the TRADEPOSCN.MEMBER_ID column of DB2 type BIGINT NOT NULL.
 java.lang.Long getMemberIdInEJBType()
          This method provides access to the TRADEPOSCN.MEMBER_ID column of DB2 type BIGINT NOT NULL.
 java.lang.String getName()
          This method provides access to the TRADEPOSCN.NAME column of DB2 type VARCHAR(254) NOT NULL.
 java.lang.String getPrecedence()
          This method provides access to the TRADEPOSCN.PRECEDENCE column of DB2 type FLOAT NOT NULL.
 java.lang.Double getPrecedenceInEJBType()
          This method provides access to the TRADEPOSCN.PRECEDENCE column of DB2 type FLOAT NOT NULL.
 java.lang.String getProductSetId()
          This method provides access to the TRADEPOSCN.PRODUCTSET_ID column of DB2 type INTEGER NULL.
 java.lang.Integer getProductSetIdInEJBType()
          This method provides access to the TRADEPOSCN.PRODUCTSET_ID column of DB2 type INTEGER NULL.
 java.lang.String getTradingPositionContainerId()
          This method provides access to the TRADEPOSCN.TRADEPOSCN_ID column of DB2 type BIGINT NOT NULL.
 java.lang.Long getTradingPositionContainerIdInEJBType()
          This method provides access to the TRADEPOSCN.TRADEPOSCN_ID column of DB2 type BIGINT NOT NULL.
 java.lang.String getType()
          This method provides access to the TRADEPOSCN.TYPE column of DB2 type CHAR(1) NULL.
 java.lang.String getXMLDefinition()
          Retrieves all the XML Definitions for this trading position container.
 void refreshCopyHelper()
          Load data from the EJBObject.
 void setDescription(java.lang.String aDescription)
          This method provides access to the TRADEPOSCN.DESCRIPTION column of DB2 type VARCHAR(254) NULL.
 void setFlags(java.lang.Integer aFlags)
          This method provides access to the TRADEPOSCN.FLAGS column of DB2 type INTEGER NOT NULL.
 void setFlags(java.lang.String aFlags)
          This method provides access to the TRADEPOSCN.FLAGS column of DB2 type INTEGER NOT NULL.
 void setInitKey_tradingPositionContainerId(java.lang.String aInitKey_tradingPositionContainerId)
          Set the primary key for this object
 void setMarkForDelete(java.lang.Integer aMarkForDelete)
          This method provides access to the TRADEPOSCN.MARKFORDELETE column of DB2 type INTEGER NOT NULL.
 void setMarkForDelete(java.lang.String aMarkForDelete)
          This method provides access to the TRADEPOSCN.MARKFORDELETE column of DB2 type INTEGER NOT NULL.
 void setMemberId(java.lang.Long aMemberId)
          This method provides access to the TRADEPOSCN.MEMBER_ID column of DB2 type BIGINT NOT NULL.
 void setMemberId(java.lang.String aMemberId)
          This method provides access to the TRADEPOSCN.MEMBER_ID column of DB2 type BIGINT NOT NULL.
 void setName(java.lang.String aName)
          This method provides access to the TRADEPOSCN.NAME column of DB2 type VARCHAR(254) NOT NULL.
 void setPrecedence(java.lang.Double aPrecedence)
          This method provides access to the TRADEPOSCN.PRECEDENCE column of DB2 type FLOAT NOT NULL.
 void setPrecedence(java.lang.String aPrecedence)
          This method provides access to the TRADEPOSCN.PRECEDENCE column of DB2 type FLOAT NOT NULL.
 void setProductSetId(java.lang.Integer aProductSetId)
          This method provides access to the TRADEPOSCN.PRODUCTSET_ID column of DB2 type INTEGER NULL.
 void setProductSetId(java.lang.String aProductSetId)
          This method provides access to the TRADEPOSCN.PRODUCTSET_ID column of DB2 type INTEGER NULL.
 void setType(java.lang.String aType)
          This method provides access to the TRADEPOSCN.TYPE column of DB2 type CHAR(1) NULL.
 void setXMLDefinition(java.lang.String aXMLDefinition)
          Sets the XML definition String for this Trading Position Container.
 
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

TradingPositionContainerAccessBean

public TradingPositionContainerAccessBean()

Default constructor. Maps to findByPrimaryKey.


TradingPositionContainerAccessBean

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

TradingPositionContainerAccessBean

public TradingPositionContainerAccessBean(org.w3c.dom.Element aPLElement)
                                   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:
aPLElement - The Price List element that makes up 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

TradingPositionContainerAccessBean

public TradingPositionContainerAccessBean(java.lang.Long anMemberId,
                                          java.lang.String astrName)
                                   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:
anMemberId - The member ID of the owner of the TradingPositionContainer.
astrName - The name of the TradingPositionContainer unique to the owner.
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

findAll

public java.util.Enumeration findAll()
                              throws java.rmi.RemoteException,
                                     javax.ejb.FinderException,
                                     javax.naming.NamingException

Retrieves all the Trading Position Containers.

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

SELECT * FROM TRADEPOSCN WHERE 1 = 1

Returns:
An Enumeration of all the TradingPositionContainerAccessBean 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

findByName

public java.util.Enumeration findByName(java.lang.String aName)
                                 throws java.rmi.RemoteException,
                                        javax.ejb.FinderException,
                                        javax.naming.NamingException

Retrieves all the Trading Position Containers that is of the specified name.

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

SELECT * FROM TRADEPOSCN T1 WHERE (T1.NAME = ?)

Parameters:
aName - The name of the Trading Position Container.
Returns:
An Enumeration of all the TradingPositionContainerAccessBean 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

findByNameAndMemberId

public java.util.Enumeration findByNameAndMemberId(java.lang.String aName,
                                                   java.lang.Long aMemberId)
                                            throws java.rmi.RemoteException,
                                                   javax.ejb.FinderException,
                                                   javax.naming.NamingException

Retrieves all the Trading Position Containers with the specified name owned by the specified member.

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

SELECT * FROM TRADEPOSCN T1 WHERE (T1.NAME = ?) AND (T1.MEMBER_ID = ?)

Parameters:
aName - The name of the Trading Position Container unique to the owner.
aMemberId - The member ID of the owner of the Trading Position Container.
Returns:
An Enumeration of all the TradingPositionContainerAccessBean 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

findByType

public java.util.Enumeration findByType(java.lang.String aType)
                                 throws java.rmi.RemoteException,
                                        javax.ejb.FinderException,
                                        javax.naming.NamingException

Retrieves all the Trading Position Containers that is of the specified type.

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

SELECT * FROM TRADEPOSCN T1 WHERE (T1.TYPE = ?)

Parameters:
aType - The type of the Trading Position Container.
Returns:
An Enumeration of all the TradingPositionContainerAccessBean 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

getDescription

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

This method provides access to the TRADEPOSCN.DESCRIPTION column of DB2 type VARCHAR(254) NULL.

The following is a description of this column:

A brief description of the TradingPositionContainer, suitable for display to an administrator managing TradingPositionContainers.

Specified by:
getDescription in interface TradingPositionContainerAccessBeanData
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

getFlags

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

This method provides access to the TRADEPOSCN.FLAGS column of DB2 type INTEGER NOT NULL.

The following is a description of this column:

Bit flag indicating special processing to be performed by task commands that find prices for customers. Refer to TRADEPOSCN table: details for more information.

Specified by:
getFlags in interface TradingPositionContainerAccessBeanData
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

getFlagsInEJBType

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

This method provides access to the TRADEPOSCN.FLAGS column of DB2 type INTEGER NOT NULL.

The following is a description of this column:

Bit flag indicating special processing to be performed by task commands that find prices for customers. Refer to TRADEPOSCN table: details for more information.

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

getMarkForDelete

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

This method provides access to the TRADEPOSCN.MARKFORDELETE column of DB2 type INTEGER NOT NULL.

The following is a description of this column:

Indicates if this TradingPositionContainer is marked for deletion:
0 = No.
1 = Yes, the TradingPositionContainer has been marked for deletion and should not be used.

Specified by:
getMarkForDelete in interface TradingPositionContainerAccessBeanData
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

getMarkForDeleteInEJBType

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

This method provides access to the TRADEPOSCN.MARKFORDELETE column of DB2 type INTEGER NOT NULL.

The following is a description of this column:

Indicates if this TradingPositionContainer is marked for deletion:
0 = No.
1 = Yes, the TradingPositionContainer has been marked for deletion and should not be used.

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

getMemberId

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

This method provides access to the TRADEPOSCN.MEMBER_ID column of DB2 type BIGINT NOT NULL.

The following is a description of this column:

The owner of the TradingPositionContainer.

Specified by:
getMemberId in interface TradingPositionContainerAccessBeanData
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

getMemberIdInEJBType

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

This method provides access to the TRADEPOSCN.MEMBER_ID column of DB2 type BIGINT NOT NULL.

The following is a description of this column:

The owner of the TradingPositionContainer.

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

getName

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

This method provides access to the TRADEPOSCN.NAME column of DB2 type VARCHAR(254) NOT NULL.

The following is a description of this column:

A mnemonic name for the TradingPositionContainer, unique for a particular owner.

Specified by:
getName in interface TradingPositionContainerAccessBeanData
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

getPrecedence

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

This method provides access to the TRADEPOSCN.PRECEDENCE column of DB2 type FLOAT NOT NULL.

The following is a description of this column:

When more than one Trading Position Containers are qualified at a particular time, the one with the highest precedence is used.

Specified by:
getPrecedence in interface TradingPositionContainerAccessBeanData
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

getPrecedenceInEJBType

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

This method provides access to the TRADEPOSCN.PRECEDENCE column of DB2 type FLOAT NOT NULL.

The following is a description of this column:

When more than one Trading Position Containers are qualified at a particular time, the one with the highest precedence is used.

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

getProductSetId

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

This method provides access to the TRADEPOSCN.PRODUCTSET_ID column of DB2 type INTEGER NULL.

The following is a description of this column:

The ProductSet that specifies the list of products contained in the TradingPositionContainer.

Specified by:
getProductSetId in interface TradingPositionContainerAccessBeanData
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

getProductSetIdInEJBType

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

This method provides access to the TRADEPOSCN.PRODUCTSET_ID column of DB2 type INTEGER NULL.

The following is a description of this column:

The ProductSet the specifies the list of products contained in the TradingPositionContainer.

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 TRADEPOSCN.TRADEPOSCN_ID column of DB2 type BIGINT NOT NULL.

The following is a description of this column:

Generated unique key.

Specified by:
getTradingPositionContainerId in interface TradingPositionContainerAccessBeanData
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 TRADEPOSCN.TRADEPOSCN_ID column of DB2 type BIGINT NOT NULL.

The following is a description of this column:

Generated unique key.

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

getType

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

This method provides access to the TRADEPOSCN.TYPE column of DB2 type CHAR(1) NULL.

The following is a description of this column:

The kind of the Trading Position Container.
S = standard price list which contains the base prices for the products in the store catalog.
C = custom price list which specifies the list of products and their customized prices.

Specified by:
getType in interface TradingPositionContainerAccessBeanData
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

getXMLDefinition

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

Retrieves all the XML Definitions for this trading position container.

Returns:
All the XML Definitions for this trading position container concatenated into a single String.
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

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

setDescription

public void setDescription(java.lang.String aDescription)

This method provides access to the TRADEPOSCN.DESCRIPTION column of DB2 type VARCHAR(254) NULL.

The following is a description of this column:

A brief description of the TradingPositionContainer, suitable for display to an administrator managing TradingPositionContainers.

Specified by:
setDescription in interface TradingPositionContainerAccessBeanData
Parameters:
aDescription - java.lang.String

setFlags

public void setFlags(java.lang.Integer aFlags)

This method provides access to the TRADEPOSCN.FLAGS column of DB2 type INTEGER NOT NULL.

The following is a description of this column:

Bit flag indicating special processing to be performed by task commands that find prices for customers. Refer to TRADEPOSCN table: details for more information.

Parameters:
aFlags - java.lang.Integer

setFlags

public void setFlags(java.lang.String aFlags)

This method provides access to the TRADEPOSCN.FLAGS column of DB2 type INTEGER NOT NULL.

The following is a description of this column:

Bit flag indicating special processing to be performed by task commands that find prices for customers. Refer to TRADEPOSCN table: details for more information.

Specified by:
setFlags in interface TradingPositionContainerAccessBeanData
Parameters:
aFlags - java.lang.String

setInitKey_tradingPositionContainerId

public void setInitKey_tradingPositionContainerId(java.lang.String aInitKey_tradingPositionContainerId)

Set the primary key for this object

Parameters:
aInitKey_tradingPositionContainerId - The internal ID of the Trading Position Container.

setMarkForDelete

public void setMarkForDelete(java.lang.Integer aMarkForDelete)

This method provides access to the TRADEPOSCN.MARKFORDELETE column of DB2 type INTEGER NOT NULL.

The following is a description of this column:

Indicates if this TradingPositionContainer is marked for deletion:
0 = No.
1 = Yes, the TradingPositionContainer has been marked for deletion and should not be used.

Parameters:
aMarkForDelete - java.lang.Integer

setMarkForDelete

public void setMarkForDelete(java.lang.String aMarkForDelete)

This method provides access to the TRADEPOSCN.MARKFORDELETE column of DB2 type INTEGER NOT NULL.

The following is a description of this column:

Indicates if this TradingPositionContainer is marked for deletion:
0 = No.
1 = Yes, the TradingPositionContainer has been marked for deletion and should not be used.

Specified by:
setMarkForDelete in interface TradingPositionContainerAccessBeanData
Parameters:
aMarkForDelete - java.lang.String

setMemberId

public void setMemberId(java.lang.Long aMemberId)

This method provides access to the TRADEPOSCN.MEMBER_ID column of DB2 type BIGINT NOT NULL.

The following is a description of this column:

The owner of the TradingPositionContainer.

Parameters:
aMemberId - java.lang.Long

setMemberId

public void setMemberId(java.lang.String aMemberId)

This method provides access to the TRADEPOSCN.MEMBER_ID column of DB2 type BIGINT NOT NULL.

The following is a description of this column:

The owner of the TradingPositionContainer.

Specified by:
setMemberId in interface TradingPositionContainerAccessBeanData
Parameters:
aMemberId - java.lang.String

setName

public void setName(java.lang.String aName)

This method provides access to the TRADEPOSCN.NAME column of DB2 type VARCHAR(254) NOT NULL.

The following is a description of this column:

A mnemonic name for the TradingPositionContainer, unique for a particular owner.

Specified by:
setName in interface TradingPositionContainerAccessBeanData
Parameters:
aName - java.lang.String

setPrecedence

public void setPrecedence(java.lang.Double aPrecedence)

This method provides access to the TRADEPOSCN.PRECEDENCE column of DB2 type FLOAT NOT NULL.

The following is a description of this column:

When more than one Trading Position Containers are qualified at a particular time, the one with the highest precedence is used.

Parameters:
aPrecedence - java.lang.Double

setPrecedence

public void setPrecedence(java.lang.String aPrecedence)

This method provides access to the TRADEPOSCN.PRECEDENCE column of DB2 type FLOAT NOT NULL.

The following is a description of this column:

When more than one Trading Position Containers are qualified at a particular time, the one with the highest precedence is used.

Specified by:
setPrecedence in interface TradingPositionContainerAccessBeanData
Parameters:
aPrecedence - java.lang.String

setProductSetId

public void setProductSetId(java.lang.Integer aProductSetId)

This method provides access to the TRADEPOSCN.PRODUCTSET_ID column of DB2 type INTEGER NULL.

The following is a description of this column:

The ProductSet that specifies the list of products contained in the TradingPositionContainer.

Parameters:
aProductSetId - java.lang.Integer

setProductSetId

public void setProductSetId(java.lang.String aProductSetId)

This method provides access to the TRADEPOSCN.PRODUCTSET_ID column of DB2 type INTEGER NULL.

The following is a description of this column:

The ProductSet the specifies the list of products contained in the TradingPositionContainer.

Specified by:
setProductSetId in interface TradingPositionContainerAccessBeanData
Parameters:
aProductSetId - java.lang.String

setType

public void setType(java.lang.String aType)

This method provides access to the TRADEPOSCN.TYPE column of DB2 type CHAR(1) NULL.

The following is a description of this column:

The kind of the Trading Position Container.
S = standard price list which contains the base prices for the products in the store catalog.
C = custom price list which specifies the list of products and their customized prices.

Specified by:
setType in interface TradingPositionContainerAccessBeanData
Parameters:
aType - java.lang.String

setXMLDefinition

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

Sets the XML definition String for this Trading Position Container.

Parameters:
aXMLDefinition - The XML definition String for this Trading Position Container.
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