com.ibm.commerce.fulfillment.objects
Class StoreEntityCalculationUsageBean

com.ibm.commerce.fulfillment.objects.StoreEntityCalculationUsageBean
All Implemented Interfaces:
java.io.Serializable

public class StoreEntityCalculationUsageBean
implements java.io.Serializable

This bean provides access to the STENCALUSG table.

The following is a description of this table:

Each row of this table contains information about how a CalculationUsage is used by a StoreEntity. If a column value is NULL for a Store, the Store uses the value specified for its StoreGroup.

See Also:
Serialized Form

Constructor Summary
StoreEntityCalculationUsageBean()
           
 
Method Summary
 java.lang.Integer getActiveCalculationCodeCombineMethodId()
          This method provides access to the STENCALUSG.ACTCC_CALMETHOD_ID column of DB2 type INTEGER NULL.
 java.lang.Integer getActiveCalculationRuleCombineMethodId()
          This method provides access to the STENCALUSG.ACTRC_CALMETHOD_ID column of DB2 type INTEGER NULL.
 java.lang.Integer getApplyCalculationUsageMethodId()
          This method provides access to the STENCALUSG.CALMETHOD_ID_APP column of DB2 type INTEGER NULL.
 java.lang.Integer getCalculationCodeId()
          This method provides access to the STENCALUSG.CALCODE_ID column of DB2 type INTEGER NULL.
 java.lang.Integer getCalculationUsageId()
          This method provides access to the STENCALUSG.CALUSAGE_ID column of DB2 type INTEGER NOT NULL.
 java.lang.Integer getFinalizeCalculationUsageMethodId()
          This method provides access to the STENCALUSG.CALMETHOD_ID_FIN column of DB2 type INTEGER NULL.
 java.lang.Integer getInitializeCalculationUsageMethodId()
          This method provides access to the STENCALUSG.CALMETHOD_ID_INI column of DB2 type INTEGER NULL.
 java.lang.Double getSequence()
          This method provides access to the STENCALUSG.SEQUENCE column of DB2 type DOUBLE NOT NULL.
 java.lang.Integer getStoreEntityId()
          This method provides access to the STENCALUSG.STOREENT_ID column of DB2 type INTEGER NOT NULL.
 java.lang.Integer getSummarizeCalculationUsageMethodId()
          This method provides access to the STENCALUSG.CALMETHOD_ID_SUM column of DB2 type INTEGER NULL.
 java.lang.Integer getUsageFlags()
          This method provides access to the STENCALUSG.USAGEFLAGS column of DB2 type INTEGER NOT NULL.
 void setActiveCalculationCodeCombineMethodId(java.lang.Integer aActiveCalculationCodeCombineMethodId)
          This method provides access to the STENCALUSG.ACTCC_CALMETHOD_ID column of DB2 type INTEGER NULL.
 void setActiveCalculationRuleCombineMethodId(java.lang.Integer aActiveCalculationRuleCombineMethodId)
          This method provides access to the STENCALUSG.ACTRC_CALMETHOD_ID column of DB2 type INTEGER NULL.
 void setApplyCalculationUsageMethodId(java.lang.Integer aApplyCalculationUsageMethodId)
          This method provides access to the STENCALUSG.CALMETHOD_ID_APP column of DB2 type INTEGER NULL.
 void setCalculationCodeId(java.lang.Integer aCalculationCodeId)
          This method provides access to the STENCALUSG.CALCODE_ID column of DB2 type INTEGER NULL.
 void setCalculationUsageId(java.lang.Integer aCalculationUsageId)
          This method provides access to the STENCALUSG.CALUSAGE_ID column of DB2 type INTEGER NOT NULL.
 void setFinalizeCalculationUsageMethodId(java.lang.Integer aFinalizeCalculationUsageMethodId)
          This method provides access to the STENCALUSG.CALMETHOD_ID_FIN column of DB2 type INTEGER NULL.
 void setInitializeCalculationUsageMethodId(java.lang.Integer aInitializeCalculationUsageMethodId)
          This method provides access to the STENCALUSG.CALMETHOD_ID_INI column of DB2 type INTEGER NULL.
 void setSequence(java.lang.Double aSequence)
          This method provides access to the STENCALUSG.SEQUENCE column of DB2 type DOUBLE NOT NULL.
 void setStoreEntityId(java.lang.Integer aStoreEntityId)
          This method provides access to the STENCALUSG.STOREENT_ID column of DB2 type INTEGER NOT NULL.
 void setSummarizeCalculationUsageMethodId(java.lang.Integer aSummarizeCalculationUsageMethodId)
          This method provides access to the STENCALUSG.CALMETHOD_ID_SUM column of DB2 type INTEGER NULL.
 void setUsageFlags(java.lang.Integer aUsageFlags)
          This method provides access to the STENCALUSG.USAGEFLAGS column of DB2 type INTEGER NOT NULL.
 

Constructor Detail

StoreEntityCalculationUsageBean

public StoreEntityCalculationUsageBean()
Method Detail

getActiveCalculationCodeCombineMethodId

public java.lang.Integer getActiveCalculationCodeCombineMethodId()

This method provides access to the STENCALUSG.ACTCC_CALMETHOD_ID column of DB2 type INTEGER NULL.

The following is a description of this column:

The CalculationCodeCombineMethod for the StoreEntity and CalculationUsage.

Returns:
java.lang.Integer

getActiveCalculationRuleCombineMethodId

public java.lang.Integer getActiveCalculationRuleCombineMethodId()

This method provides access to the STENCALUSG.ACTRC_CALMETHOD_ID column of DB2 type INTEGER NULL.

The following is a description of this column:

The CalculationRuleCombineMethod for the StoreEntity and CalculationUsage.

Returns:
java.lang.Integer

getApplyCalculationUsageMethodId

public java.lang.Integer getApplyCalculationUsageMethodId()

This method provides access to the STENCALUSG.CALMETHOD_ID_APP column of DB2 type INTEGER NULL.

The following is a description of this column:

The ApplyCalculationUsageMethod for the StoreEntity and CalculationUsage.

Returns:
java.lang.Integer

getCalculationCodeId

public java.lang.Integer getCalculationCodeId()

This method provides access to the STENCALUSG.CALCODE_ID column of DB2 type INTEGER NULL.

The following is a description of this column:

The default CalculationCode, of the specified CalculationUsage, for the StoreEntity.

Returns:
java.lang.Integer

getCalculationUsageId

public java.lang.Integer getCalculationUsageId()

This method provides access to the STENCALUSG.CALUSAGE_ID column of DB2 type INTEGER NOT NULL.

The following is a description of this column:

The CalculationUsage.

Returns:
java.lang.Integer

getFinalizeCalculationUsageMethodId

public java.lang.Integer getFinalizeCalculationUsageMethodId()

This method provides access to the STENCALUSG.CALMETHOD_ID_FIN column of DB2 type INTEGER NULL.

The following is a description of this column:

The FinalizeCalculationUsageMethod for the StoreEntity and CalculationUsage.

Returns:
java.lang.Integer

getInitializeCalculationUsageMethodId

public java.lang.Integer getInitializeCalculationUsageMethodId()

This method provides access to the STENCALUSG.CALMETHOD_ID_INI column of DB2 type INTEGER NULL.

The following is a description of this column:

The InitializeCalculationUsageMethod for the StoreEntity and CalculationUsage.

Returns:
java.lang.Integer

getSequence

public java.lang.Double getSequence()

This method provides access to the STENCALUSG.SEQUENCE column of DB2 type DOUBLE NOT NULL.

The following is a description of this column:

The OrderPrepare and OrderPrepare commands use CalculationUsages in ascending order of this Sequence attribute.

Returns:
java.lang.Double

getStoreEntityId

public java.lang.Integer getStoreEntityId()

This method provides access to the STENCALUSG.STOREENT_ID column of DB2 type INTEGER NOT NULL.

The following is a description of this column:

The StoreEntity.

Returns:
java.lang.Integer

getSummarizeCalculationUsageMethodId

public java.lang.Integer getSummarizeCalculationUsageMethodId()

This method provides access to the STENCALUSG.CALMETHOD_ID_SUM column of DB2 type INTEGER NULL.

The following is a description of this column:

The SummarizeCalculationUsageMethod for the StoreEntity and CalculationUsage.

Returns:
java.lang.Integer

getUsageFlags

public java.lang.Integer getUsageFlags()

This method provides access to the STENCALUSG.USAGEFLAGS column of DB2 type INTEGER NOT NULL.

The following is a description of this column:

Bit flags to control how the OrderPrepare command uses this CalculationUsage:
1 = use - use this CalculationUsage.
2 = check - throw an ECApplicationException if this CalculationUsage does not calculate a value for an OrderItem.

Returns:
java.lang.Integer

setActiveCalculationCodeCombineMethodId

public void setActiveCalculationCodeCombineMethodId(java.lang.Integer aActiveCalculationCodeCombineMethodId)

This method provides access to the STENCALUSG.ACTCC_CALMETHOD_ID column of DB2 type INTEGER NULL.

The following is a description of this column:

The CalculationCodeCombineMethod for the StoreEntity and CalculationUsage.

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

setActiveCalculationRuleCombineMethodId

public void setActiveCalculationRuleCombineMethodId(java.lang.Integer aActiveCalculationRuleCombineMethodId)

This method provides access to the STENCALUSG.ACTRC_CALMETHOD_ID column of DB2 type INTEGER NULL.

The following is a description of this column:

The CalculationRuleCombineMethod for the StoreEntity and CalculationUsage.

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

setApplyCalculationUsageMethodId

public void setApplyCalculationUsageMethodId(java.lang.Integer aApplyCalculationUsageMethodId)

This method provides access to the STENCALUSG.CALMETHOD_ID_APP column of DB2 type INTEGER NULL.

The following is a description of this column:

The ApplyCalculationUsageMethod for the StoreEntity and CalculationUsage.

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

setCalculationCodeId

public void setCalculationCodeId(java.lang.Integer aCalculationCodeId)

This method provides access to the STENCALUSG.CALCODE_ID column of DB2 type INTEGER NULL.

The following is a description of this column:

The default CalculationCode, of the specified CalculationUsage, for the StoreEntity.

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

setCalculationUsageId

public void setCalculationUsageId(java.lang.Integer aCalculationUsageId)

This method provides access to the STENCALUSG.CALUSAGE_ID column of DB2 type INTEGER NOT NULL.

The following is a description of this column:

The CalculationUsage.

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

setFinalizeCalculationUsageMethodId

public void setFinalizeCalculationUsageMethodId(java.lang.Integer aFinalizeCalculationUsageMethodId)

This method provides access to the STENCALUSG.CALMETHOD_ID_FIN column of DB2 type INTEGER NULL.

The following is a description of this column:

The FinalizeCalculationUsageMethod for the StoreEntity and CalculationUsage.

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

setInitializeCalculationUsageMethodId

public void setInitializeCalculationUsageMethodId(java.lang.Integer aInitializeCalculationUsageMethodId)

This method provides access to the STENCALUSG.CALMETHOD_ID_INI column of DB2 type INTEGER NULL.

The following is a description of this column:

The InitializeCalculationUsageMethod for the StoreEntity and CalculationUsage.

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

setSequence

public void setSequence(java.lang.Double aSequence)

This method provides access to the STENCALUSG.SEQUENCE column of DB2 type DOUBLE NOT NULL.

The following is a description of this column:

The OrderPrepare and OrderPrepare commands use CalculationUsages in ascending order of this Sequence attribute.

Parameters:
aSequence - java.lang.Double
Returns:
void

setStoreEntityId

public void setStoreEntityId(java.lang.Integer aStoreEntityId)

This method provides access to the STENCALUSG.STOREENT_ID column of DB2 type INTEGER NOT NULL.

The following is a description of this column:

The StoreEntity.

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

setSummarizeCalculationUsageMethodId

public void setSummarizeCalculationUsageMethodId(java.lang.Integer aSummarizeCalculationUsageMethodId)

This method provides access to the STENCALUSG.CALMETHOD_ID_SUM column of DB2 type INTEGER NULL.

The following is a description of this column:

The SummarizeCalculationUsageMethod for the StoreEntity and CalculationUsage.

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

setUsageFlags

public void setUsageFlags(java.lang.Integer aUsageFlags)

This method provides access to the STENCALUSG.USAGEFLAGS column of DB2 type INTEGER NOT NULL.

The following is a description of this column:

Bit flags to control how the OrderPrepare command uses this CalculationUsage:
1 = use - use this CalculationUsage.
2 = check - throw an ECApplicationException if this CalculationUsage does not calculate a value for an OrderItem.

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