com.ibm.commerce.order.objects
Class TradingPositionContainerAccessBean

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

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

This table represents a TradingPositionContainer, which can contain TradingPositions and can be made available to all customers, or only to customers in certain groups through

See Also:
Serialized Form

Constructor Summary
TradingPositionContainerAccessBean()
          constructor
TradingPositionContainerAccessBean(javax.ejb.EJBObject o)
          constructor
TradingPositionContainerAccessBean(java.lang.Long arg0, java.lang.String arg1)
          constructor
 
Method Summary
 void commitCopyHelper()
          Update(flush) data to the EJBObject (persistent storage).
protected  java.lang.String defaultJNDIName()
           
 java.util.Enumeration findAll()
          Retrieves all the Trading Position Containers.
 java.util.Enumeration findByName(java.lang.String arg0)
          Retrieves all the Trading Position Containers that is of the specified name.
 java.util.Enumeration findByNameAndMemberId(java.lang.String arg0, java.lang.Long arg1)
          Retrieves all the Trading Position Containers with the specified name owned by the specified member.
 java.util.Enumeration findByType(java.lang.String arg0)
          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).
 java.lang.String getFlags()
          This method provides access to the TRADEPOSCN.FLAGS column of DB2 type INTEGER NOT NULL DEFAULT 0.
 java.lang.Integer getFlagsInEJBType()
          This method provides access to the TRADEPOSCN.FLAGS column of DB2 type INTEGER NOT NULL DEFAULT 0.
 java.lang.String getMarkForDelete()
          This method provides access to the TRADEPOSCN.MARKFORDELETE column of DB2 type INTEGER NOT NULL DEFAULT 0.
 java.lang.Integer getMarkForDeleteInEJBType()
          This method provides access to the TRADEPOSCN.MARKFORDELETE column of DB2 type INTEGER NOT NULL DEFAULT 0.
 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 DEFAULT 0.
 java.lang.Double getPrecedenceInEJBType()
          This method provides access to the TRADEPOSCN.PRECEDENCE column of DB2 type FLOAT NOT NULL DEFAULT 0.
 java.lang.String getProductSetId()
          This method provides access to the TRADEPOSCN.PRODUCTSET_ID column of DB2 type INTEGER.
 java.lang.Integer getProductSetIdInEJBType()
          This method provides access to the TRADEPOSCN.PRODUCTSET_ID column of DB2 type INTEGER.
 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) DEFAULT 'S'.
 java.lang.String getXMLDefinition()
          Retrieves all the XML Definitions for this trading position container.
protected  void instantiateEJB()
           
protected  boolean instantiateEJBByPrimaryKey()
           
 void refreshCopyHelper()
          Load data from the EJBObject.
 void setDescription(java.lang.String newValue)
          This method provides access to the TRADEPOSCN.DESCRIPTION column of DB2 type VARCHAR(254).
 void setFlags(java.lang.Integer newValue)
          This method provides access to the TRADEPOSCN.FLAGS column of DB2 type INTEGER NOT NULL DEFAULT 0.
 void setFlags(java.lang.String newValue)
          This method provides access to the TRADEPOSCN.FLAGS column of DB2 type INTEGER NOT NULL DEFAULT 0.
 void setInitKey_tradingPositionContainerId(java.lang.String newValue)
          Set the primary key for this object
 void setMarkForDelete(java.lang.Integer newValue)
          This method provides access to the TRADEPOSCN.MARKFORDELETE column of DB2 type INTEGER NOT NULL DEFAULT 0.
 void setMarkForDelete(java.lang.String newValue)
          This method provides access to the TRADEPOSCN.MARKFORDELETE column of DB2 type INTEGER NOT NULL DEFAULT 0.
 void setMemberId(java.lang.Long newValue)
          This method provides access to the TRADEPOSCN.MEMBER_ID column of DB2 type BIGINT NOT NULL.
 void setMemberId(java.lang.String newValue)
          This method provides access to the TRADEPOSCN.MEMBER_ID column of DB2 type BIGINT NOT NULL.
 void setName(java.lang.String newValue)
          This method provides access to the TRADEPOSCN.NAME column of DB2 type VARCHAR(254) NOT NULL.
 void setPrecedence(java.lang.Double newValue)
          This method provides access to the TRADEPOSCN.PRECEDENCE column of DB2 type FLOAT NOT NULL DEFAULT 0.
 void setPrecedence(java.lang.String newValue)
          This method provides access to the TRADEPOSCN.PRECEDENCE column of DB2 type FLOAT NOT NULL DEFAULT 0.
 void setProductSetId(java.lang.Integer newValue)
          This method provides access to the TRADEPOSCN.PRODUCTSET_ID column of DB2 type INTEGER.
 void setProductSetId(java.lang.String newValue)
          This method provides access to the TRADEPOSCN.PRODUCTSET_ID column of DB2 type INTEGER.
 void setType(java.lang.String newValue)
          This method provides access to the TRADEPOSCN.TYPE column of DB2 type CHAR(1) DEFAULT 'S'.
 void setXMLDefinition(java.lang.String arg0)
          Sets the XML definition String for this Trading Position Container.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TradingPositionContainerAccessBean

public TradingPositionContainerAccessBean()
constructor

TradingPositionContainerAccessBean

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

TradingPositionContainerAccessBean

public TradingPositionContainerAccessBean(java.lang.Long arg0,
                                          java.lang.String arg1)
                                   throws javax.naming.NamingException,
                                          javax.ejb.CreateException,
                                          java.rmi.RemoteException,
                                          javax.ejb.FinderException
constructor
Parameters:
arg0 - java.lang.Long
arg1 - java.lang.String
Throws:
javax.naming.NamingException
javax.ejb.CreateException
java.rmi.RemoteException
javax.ejb.FinderException
Method Detail

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

findByName

public java.util.Enumeration findByName(java.lang.String arg0)
                                 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 = ?)

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

findByNameAndMemberId

public java.util.Enumeration findByNameAndMemberId(java.lang.String arg0,
                                                   java.lang.Long arg1)
                                            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 = ?)

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

findByType

public java.util.Enumeration findByType(java.lang.String arg0)
                                 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 = ?)

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

setInitKey_tradingPositionContainerId

public void setInitKey_tradingPositionContainerId(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

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

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
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

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

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
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

setDescription

public void setDescription(java.lang.String newValue)

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

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:
newValue - java.lang.String
Returns:
void

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

The following is a description of this column:

Indicates if this TradingPositionContainer is marked for deletion:&l

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

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

The following is a description of this column:

Indicates if this TradingPositionContainer is marked for deletion:&l

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

setMarkForDelete

public void setMarkForDelete(java.lang.String newValue)

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

The following is a description of this column:

Indicates if this TradingPositionContainer is marked for deletion:&l

Specified by:
setMarkForDelete in interface TradingPositionContainerAccessBeanData
Parameters:
newValue - String
Returns:
void

setMarkForDelete

public void setMarkForDelete(java.lang.Integer newValue)

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

The following is a description of this column:

Indicates if this TradingPositionContainer is marked for deletion:&l

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

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.

The following is a description of this column:

The ProductSet the specifies the list of products contained

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

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.

The following is a description of this column:

The ProductSet the specifies the list of products contained

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

setProductSetId

public void setProductSetId(java.lang.String newValue)

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

The following is a description of this column:

The ProductSet the specifies the list of products contained

Specified by:
setProductSetId in interface TradingPositionContainerAccessBeanData
Parameters:
newValue - String
Returns:
void

setProductSetId

public void setProductSetId(java.lang.Integer newValue)

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

The following is a description of this column:

The ProductSet the specifies the list of products contained

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

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

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

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

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
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

setPrecedence

public void setPrecedence(java.lang.String newValue)

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

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:
newValue - String
Returns:
void

setPrecedence

public void setPrecedence(java.lang.Double newValue)

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

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:
newValue - java.lang.Double
Returns:
void

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

The following is a description of this column:

This column contains the following bit flag indicating special processing to be performed by task commands that find prices for customers: 1 = restricted.

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

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

The following is a description of this column:

This column contains the following bit flag indicating special processing to be performed by task commands that find prices for customers: 1 = restricted.

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

setFlags

public void setFlags(java.lang.String newValue)

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

The following is a description of this column:

This column contains the following bit flag indicating special processing to be performed by task commands that find prices for customers: 1 = restricted.

Specified by:
setFlags in interface TradingPositionContainerAccessBeanData
Parameters:
newValue - String
Returns:
void

setFlags

public void setFlags(java.lang.Integer newValue)

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

The following is a description of this column:

This column contains the following bit flag indicating special processing to be performed by task commands that find prices for customers: 1 = restricted.

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

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

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
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

setMemberId

public void setMemberId(java.lang.String newValue)

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:
newValue - String
Returns:
void

setMemberId

public void setMemberId(java.lang.Long newValue)

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

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) DEFAULT 'S'.

The following is a description of this column:

The kind of the Trading Position Container as follows:&l

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

setType

public void setType(java.lang.String newValue)

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

The following is a description of this column:

The kind of the Trading Position Container as follows:&l

Specified by:
setType in interface TradingPositionContainerAccessBeanData
Parameters:
newValue - java.lang.String
Returns:
void

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
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

setName

public void setName(java.lang.String newValue)

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:
newValue - java.lang.String
Returns:
void

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

setXMLDefinition

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

Sets 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