com.ibm.commerce.order.objects
Class TradingPositionContainerBean

com.ibm.commerce.order.objects.TradingPositionContainerBean
All Implemented Interfaces:
java.io.Serializable

public class TradingPositionContainerBean
implements java.io.Serializable

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

Constructor Summary
TradingPositionContainerBean()
           
 
Method Summary
 java.lang.String getDescription()
          This method provides access to the TRADEPOSCN.DESCRIPTION column of DB2 type VARCHAR(254) NULL.
 java.lang.Integer getFlags()
          This method provides access to the TRADEPOSCN.FLAGS column of DB2 type INTEGER NOT NULL.
 java.lang.Integer getMarkForDelete()
          This method provides access to the TRADEPOSCN.MARKFORDELETE column of DB2 type INTEGER NOT NULL.
 java.lang.Long getMemberId()
          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.Double getPrecedence()
          This method provides access to the TRADEPOSCN.PRECEDENCE column of DB2 type FLOAT NOT NULL.
 java.lang.Integer getProductSetId()
          This method provides access to the TRADEPOSCN.PRODUCTSET_ID column of DB2 type INTEGER NULL.
 java.lang.Long getTradingPositionContainerId()
          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.
 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 setMarkForDelete(java.lang.Integer 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 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 setProductSetId(java.lang.Integer 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.
 

Constructor Detail

TradingPositionContainerBean

public TradingPositionContainerBean()
Method Detail

getDescription

public java.lang.String getDescription()

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.

Returns:
java.lang.String

getFlags

public java.lang.Integer getFlags()

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

getMarkForDelete

public java.lang.Integer getMarkForDelete()

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

getMemberId

public java.lang.Long getMemberId()

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

getName

public java.lang.String getName()

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.

Returns:
java.lang.String

getPrecedence

public java.lang.Double getPrecedence()

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

getProductSetId

public java.lang.Integer getProductSetId()

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

getTradingPositionContainerId

public java.lang.Long getTradingPositionContainerId()

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

getType

public java.lang.String getType()

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.

Returns:
java.lang.String

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.

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

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

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

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

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.

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

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

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 the specifies the list of products contained in the TradingPositionContainer.

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

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.

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