|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
com.ibm.commerce.fulfillment.objects.CalculationCodeBean
This bean provides access to the CALCODE table.
The following is a description of this table:
A row in this table represents a CalculationCode. CalculationCodes represent ways of determining monetary amounts associated with OrderItems. They are used to calculate discounts, shipping charges, sales tax, and shipping tax.
Constructor Summary | |
CalculationCodeBean()
|
Method Summary | |
java.lang.Integer |
getCalculationCodeApplyMethodId()
This method provides access to the CALCODE.CALMETHOD_ID_APP column of DB2 type INTEGER NOT NULL. |
java.lang.Integer |
getCalculationCodeId()
This method provides access to the CALCODE.CALCODE_ID column of DB2 type INTEGER NOT NULL. |
java.lang.Integer |
getCalculationCodeQualifyMethodId()
This method provides access to the CALCODE.CALMETHOD_ID_QFY column of DB2 type INTEGER NOT NULL. |
java.lang.Integer |
getCalculationMethodId()
This method provides access to the CALCODE.CALMETHOD_ID column of DB2 type INTEGER NOT NULL. |
java.lang.Integer |
getCalculationUsageId()
This method provides access to the CALCODE.CALUSAGE_ID column of DB2 type INTEGER NOT NULL. |
java.lang.String |
getCode()
This method provides access to the CALCODE.CODE column of DB2 type CHAR(128) NOT NULL. |
java.lang.Integer |
getCombination()
This method provides access to the CALCODE.COMBINATION column of DB2 type INTEGER NULL. |
CalculationCodeDescriptionAccessBean |
getDescription(java.lang.Integer aDescription,
java.lang.Integer aDescription)
This method provides access to the CALCODE.DESCRIPTION column of DB2 type VARCHAR(254) NULL. |
java.lang.Integer |
getDisplayLevel()
This method provides access to the CALCODE.DISPLAYLEVEL column of DB2 type INTEGER NOT NULL. |
java.sql.Timestamp |
getEndDate()
This method provides access to the CALCODE.ENDDATE column of DB2 type TIMESTAMP NULL. |
java.lang.String |
getField1()
This method provides access to the CALCODE.FIELD1 column of DB2 type VARCHAR(254) NULL. |
java.lang.Integer |
getFlags()
This method provides access to the CALCODE.FLAGS column of DB2 type INTEGER NOT NULL. |
java.lang.Integer |
getGroupBy()
This method provides access to the CALCODE.GROUPBY column of DB2 type INTEGER NOT NULL. |
java.sql.Timestamp |
getLastUpdate()
This method provides access to the CALCODE.LASTUPDATE column of DB2 type TIMESTAMP NULL. |
java.lang.Double |
getPrecedence()
This method provides access to the CALCODE.PRECEDENCE column of DB2 type DOUBLE NOT NULL. |
java.lang.Integer |
getPublished()
This method provides access to the CALCODE.PUBLISHED column of DB2 type INTEGER NOT NULL. |
java.lang.Double |
getSequence()
This method provides access to the CALCODE.SEQUENCE column of DB2 type FLOAT NOT NULL. |
java.sql.Timestamp |
getStartDate()
This method provides access to the CALCODE.STARTDATE column of DB2 type TIMESTAMP NULL. |
java.lang.Integer |
getStoreEntityId()
This method provides access to the CALCODE.STOREENT_ID column of DB2 type INTEGER NOT NULL. |
java.lang.Integer |
getTaxCodeClassId()
This method provides access to the CALCODE.TXCDCLASS_ID column of DB2 type INTEGER NULL. |
void |
setCalculationCodeApplyMethodId(java.lang.Integer aCalculationCodeApplyMethodId)
This method provides access to the CALCODE.CALMETHOD_ID_APP column of DB2 type INTEGER NOT NULL. |
void |
setCalculationCodeQualifyMethodId(java.lang.Integer aCalculationCodeQualifyMethodId)
This method provides access to the CALCODE.CALMETHOD_ID_QFY column of DB2 type INTEGER NOT NULL. |
void |
setCalculationMethodId(java.lang.Integer aCalculationMethodId)
This method provides access to the CALCODE.CALMETHOD_ID column of DB2 type INTEGER NOT NULL. |
void |
setCalculationUsageId(java.lang.Integer aCalculationUsageId)
This method provides access to the CALCODE.CALUSAGE_ID column of DB2 type INTEGER NOT NULL. |
void |
setCode(java.lang.String aCode)
This method provides access to the CALCODE.CODE column of DB2 type CHAR(128) NOT NULL. |
void |
setCombination(java.lang.Integer aCombination)
This method provides access to the CALCODE.COMBINATION column of DB2 type INTEGER NULL. |
void |
setDescription(java.lang.String aDescription)
This method provides access to the CALCODE.DESCRIPTION column of DB2 type VARCHAR(254) NULL. |
void |
setDisplayLevel(java.lang.Integer aDisplayLevel)
This method provides access to the CALCODE.DISPLAYLEVEL column of DB2 type INTEGER NOT NULL. |
void |
setEndDate(java.sql.Timestamp aEndDate)
This method provides access to the CALCODE.ENDDATE column of DB2 type TIMESTAMP NULL. |
void |
setField1(java.lang.String aField1)
This method provides access to the CALCODE.FIELD1 column of DB2 type VARCHAR(254) NULL. |
void |
setFlags(java.lang.Integer aFlags)
This method provides access to the CALCODE.FLAGS column of DB2 type INTEGER NOT NULL. |
void |
setGroupBy(java.lang.Integer aGroupBy)
This method provides access to the CALCODE.GROUPBY column of DB2 type INTEGER NOT NULL. |
void |
setLastUpdate(java.sql.Timestamp aLastUpdate)
This method provides access to the CALCODE.LASTUPDATE column of DB2 type TIMESTAMP NULL. |
void |
setPrecedence(java.lang.Double aPrecedence)
This method provides access to the CALCODE.PRECEDENCE column of DB2 type DOUBLE NOT NULL. |
void |
setPublished(java.lang.Integer aPublished)
This method provides access to the CALCODE.PUBLISHED column of DB2 type INTEGER NOT NULL. |
void |
setSequence(java.lang.Double aSequence)
This method provides access to the CALCODE.SEQUENCE column of DB2 type FLOAT NOT NULL. |
void |
setStartDate(java.sql.Timestamp aStartDate)
This method provides access to the CALCODE.STARTDATE column of DB2 type TIMESTAMP NULL. |
void |
setStoreEntityId(java.lang.Integer aStoreEntityId)
This method provides access to the CALCODE.STOREENT_ID column of DB2 type INTEGER NOT NULL. |
void |
setTaxCodeClassId(java.lang.Integer aTaxCodeClassId)
This method provides access to the CALCODE.TXCDCLASS_ID column of DB2 type INTEGER NULL. |
Constructor Detail |
public CalculationCodeBean()
Method Detail |
public java.lang.Integer getCalculationCodeApplyMethodId()
This method provides access to the CALCODE.CALMETHOD_ID_APP column of DB2 type INTEGER NOT NULL.
The following is a description of this column:
The CalculationCodeApplyMethod that stores the calculated amount for the associated OrderItems.
public java.lang.Integer getCalculationCodeId()
This method provides access to the CALCODE.CALCODE_ID column of DB2 type INTEGER NOT NULL.
The following is a description of this column:
Generated unique identifier.
public java.lang.Integer getCalculationCodeQualifyMethodId()
This method provides access to the CALCODE.CALMETHOD_ID_QFY column of DB2 type INTEGER NOT NULL.
The following is a description of this column:
The CalculationCodeQualifyMethod that defines which OrderItems are associated with this CalculationCode.
public java.lang.Integer getCalculationMethodId()
This method provides access to the CALCODE.CALMETHOD_ID column of DB2 type INTEGER NOT NULL.
The following is a description of this column:
The CalculationCodeCalculateMethod that defines how to calculate a monetary amount for this CalculationCode.
public java.lang.Integer getCalculationUsageId()
This method provides access to the CALCODE.CALUSAGE_ID column of DB2 type INTEGER NOT NULL.
The following is a description of this column:
Indicates the kind of calculation this CalculationCode is used for. For example, the CalculationCode may be used to calculate one of the following monetary amounts: discounts, shipping charges, sales tax, or shipping tax.
public java.lang.String getCode()
This method provides access to the CALCODE.CODE column of DB2 type CHAR(128) NOT NULL.
The following is a description of this column:
A character string that uniquely identifies this CalculationCode, given a particular CalculationUsage and StoreEntity.
public java.lang.Integer getCombination()
This method provides access to the CALCODE.COMBINATION column of DB2 type INTEGER NULL.
The following is a description of this column:
Reserved for IBM internal use.
public CalculationCodeDescriptionAccessBean getDescription(java.lang.Integer aDescription, java.lang.Integer aDescription) throws javax.ejb.CreateException, javax.ejb.FinderException, java.rmi.RemoteException, javax.naming.NamingException
This method provides access to the CALCODE.DESCRIPTION column of DB2 type VARCHAR(254) NULL.
The following is a description of this column:
A brief description of this CalculationCode, suitable for display by a user interface that manages CalculationCodes.
aDescription
- java.lang.IntegeraDescription
- java.lang.Integerjavax.ejb.CreateException
- The javax.ejb.CreateException exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException exceptionjava.rmi.RemoteException
- The java.rmi.RemoteException exceptionjavax.naming.NamingException
- The javax.naming.NamingException exceptionpublic java.lang.Integer getDisplayLevel()
This method provides access to the CALCODE.DISPLAYLEVEL column of DB2 type INTEGER NOT NULL.
The following is a description of this column:
Amounts calculated by this CalculationCode should be displayed with each:
0 = OrderItem
1 = Order
2 = Product
3 = Item
4 = Contract.
public java.sql.Timestamp getEndDate()
This method provides access to the CALCODE.ENDDATE column of DB2 type TIMESTAMP NULL.
The following is a description of this column:
The time this CalculationCode stops being effective.
public java.lang.String getField1()
This method provides access to the CALCODE.FIELD1 column of DB2 type VARCHAR(254) NULL.
The following is a description of this column:
Customizable.
public java.lang.Integer getFlags()
This method provides access to the CALCODE.FLAGS column of DB2 type INTEGER NOT NULL.
The following is a description of this column:
Specifies whether the CalculationCodeQualifyMethod of this CalculationCode should be invoked.
0 = unrestricted. The method will not be invoked.
1 = restricted. The method will be invoked.
public java.lang.Integer getGroupBy()
This method provides access to the CALCODE.GROUPBY column of DB2 type INTEGER NOT NULL.
The following is a description of this column:
Bit flags indicating to the CalculationCodeCombineMethod how OrderItems should be grouped when performing calculations. Refer to CALCODE table: details for more information.
public java.sql.Timestamp getLastUpdate()
This method provides access to the CALCODE.LASTUPDATE column of DB2 type TIMESTAMP NULL.
The following is a description of this column:
The time this CalculationCode (including its CalculationRules) was most recently updated.
public java.lang.Double getPrecedence()
This method provides access to the CALCODE.PRECEDENCE column of DB2 type DOUBLE NOT NULL.
The following is a description of this column:
Reserved for IBM internal use.
public java.lang.Integer getPublished()
This method provides access to the CALCODE.PUBLISHED column of DB2 type INTEGER NOT NULL.
The following is a description of this column:
Specifies whether or not the calculation code is published:
0 = not published (temporarily disabled).
1 = published.
2 = marked for deletion (and not published).
public java.lang.Double getSequence()
This method provides access to the CALCODE.SEQUENCE column of DB2 type FLOAT NOT NULL.
The following is a description of this column:
CalculationCodes are calculated and applied in sequence from lowest to highest.
public java.sql.Timestamp getStartDate()
This method provides access to the CALCODE.STARTDATE column of DB2 type TIMESTAMP NULL.
The following is a description of this column:
The time this CalculationCode begins being effective.
public java.lang.Integer getStoreEntityId()
This method provides access to the CALCODE.STOREENT_ID column of DB2 type INTEGER NOT NULL.
The following is a description of this column:
The CalculationCode is part of this StoreEntity.
public java.lang.Integer getTaxCodeClassId()
This method provides access to the CALCODE.TXCDCLASS_ID column of DB2 type INTEGER NULL.
The following is a description of this column:
For Taxation CalculationCodes, the TaxCodeClassification, if any, associated with this CalculationCode.
public void setCalculationCodeApplyMethodId(java.lang.Integer aCalculationCodeApplyMethodId)
This method provides access to the CALCODE.CALMETHOD_ID_APP column of DB2 type INTEGER NOT NULL.
The following is a description of this column:
The CalculationCodeApplyMethod that stores the calculated amount for the associated OrderItems.
aCalculationCodeApplyMethodId
- java.lang.Integerpublic void setCalculationCodeQualifyMethodId(java.lang.Integer aCalculationCodeQualifyMethodId)
This method provides access to the CALCODE.CALMETHOD_ID_QFY column of DB2 type INTEGER NOT NULL.
The following is a description of this column:
The CalculationCodeQualifyMethod that defines which OrderItems are associated with this CalculationCode.
aCalculationCodeQualifyMethodId
- java.lang.Integerpublic void setCalculationMethodId(java.lang.Integer aCalculationMethodId)
This method provides access to the CALCODE.CALMETHOD_ID column of DB2 type INTEGER NOT NULL.
The following is a description of this column:
The CalculationCodeCalculateMethod that defines how to calculate a monetary amount for this CalculationCode.
aCalculationMethodId
- java.lang.Integerpublic void setCalculationUsageId(java.lang.Integer aCalculationUsageId)
This method provides access to the CALCODE.CALUSAGE_ID column of DB2 type INTEGER NOT NULL.
The following is a description of this column:
Indicates the kind of calculation this CalculationCode is used for. For example, the CalculationCode may be used to calculate one of the following monetary amounts: discounts, shipping charges, sales tax, or shipping tax.
aCalculationUsageId
- java.lang.Integerpublic void setCode(java.lang.String aCode)
This method provides access to the CALCODE.CODE column of DB2 type CHAR(128) NOT NULL.
The following is a description of this column:
A character string that uniquely identifies this CalculationCode, given a particular CalculationUsage and StoreEntity.
aCode
- java.lang.Stringpublic void setCombination(java.lang.Integer aCombination)
This method provides access to the CALCODE.COMBINATION column of DB2 type INTEGER NULL.
The following is a description of this column:
Reserved for IBM internal use.
aCombination
- java.lang.Integerpublic void setDescription(java.lang.String aDescription)
This method provides access to the CALCODE.DESCRIPTION column of DB2 type VARCHAR(254) NULL.
The following is a description of this column:
A brief description of this CalculationCode, suitable for display by a user interface that manages CalculationCodes.
aDescription
- java.lang.Stringpublic void setDisplayLevel(java.lang.Integer aDisplayLevel)
This method provides access to the CALCODE.DISPLAYLEVEL column of DB2 type INTEGER NOT NULL.
The following is a description of this column:
Amounts calculated by this CalculationCode should be displayed with each:
0 = OrderItem
1 = Order
2 = Product
3 = Item
4 = Contract.
aDisplayLevel
- java.lang.Integerpublic void setEndDate(java.sql.Timestamp aEndDate)
This method provides access to the CALCODE.ENDDATE column of DB2 type TIMESTAMP NULL.
The following is a description of this column:
The time this CalculationCode stops being effective.
aEndDate
- java.sql.Timestamppublic void setField1(java.lang.String aField1)
This method provides access to the CALCODE.FIELD1 column of DB2 type VARCHAR(254) NULL.
The following is a description of this column:
Customizable.
aField1
- java.lang.Stringpublic void setFlags(java.lang.Integer aFlags)
This method provides access to the CALCODE.FLAGS column of DB2 type INTEGER NOT NULL.
The following is a description of this column:
Specifies whether the CalculationCodeQualifyMethod of this CalculationCode should be invoked.
0 = unrestricted. The method will not be invoked.
1 = restricted. The method will be invoked.
aFlags
- java.lang.Integerpublic void setGroupBy(java.lang.Integer aGroupBy)
This method provides access to the CALCODE.GROUPBY column of DB2 type INTEGER NOT NULL.
The following is a description of this column:
Bit flags indicating to the CalculationCodeCombineMethod how OrderItems should be grouped when performing calculations. Refer to CALCODE table: details for more information.
aGroupBy
- java.lang.Integerpublic void setLastUpdate(java.sql.Timestamp aLastUpdate)
This method provides access to the CALCODE.LASTUPDATE column of DB2 type TIMESTAMP NULL.
The following is a description of this column:
The time this CalculationCode (including its CalculationRules) was most recently updated.
aLastUpdate
- java.sql.Timestamppublic void setPrecedence(java.lang.Double aPrecedence)
This method provides access to the CALCODE.PRECEDENCE column of DB2 type DOUBLE NOT NULL.
The following is a description of this column:
Reserved for IBM internal use.
aPrecedence
- java.lang.Doublepublic void setPublished(java.lang.Integer aPublished)
This method provides access to the CALCODE.PUBLISHED column of DB2 type INTEGER NOT NULL.
The following is a description of this column:
Specifies whether or not the calculation code is published:
0 = not published (temporarily disabled).
1 = published.
2 = marked for deletion (and not published).
aPublished
- java.lang.Integerpublic void setSequence(java.lang.Double aSequence)
This method provides access to the CALCODE.SEQUENCE column of DB2 type FLOAT NOT NULL.
The following is a description of this column:
CalculationCodes are calculated and applied in sequence from lowest to highest.
aSequence
- java.lang.Doublepublic void setStartDate(java.sql.Timestamp aStartDate)
This method provides access to the CALCODE.STARTDATE column of DB2 type TIMESTAMP NULL.
The following is a description of this column:
The time this CalculationCode begins being effective.
aStartDate
- java.sql.Timestamppublic void setStoreEntityId(java.lang.Integer aStoreEntityId)
This method provides access to the CALCODE.STOREENT_ID column of DB2 type INTEGER NOT NULL.
The following is a description of this column:
The CalculationCode is part of this StoreEntity.
aStoreEntityId
- java.lang.Integerpublic void setTaxCodeClassId(java.lang.Integer aTaxCodeClassId)
This method provides access to the CALCODE.TXCDCLASS_ID column of DB2 type INTEGER NULL.
The following is a description of this column:
For Taxation CalculationCodes, the TaxCodeClassification, if any, associated with this CalculationCode.
aTaxCodeClassId
- java.lang.Integer
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |