java.lang.Object | +--com.ibm.commerce.order.calculation.Group
Each group is composed of:
items
Field Summary | |
---|---|
static java.lang.String |
COPYRIGHT |
Constructor Summary | |
---|---|
Group(CalculationCodeAccessBean aabCode,
Item[] aItems) |
Method Summary | |
---|---|
int |
compareTo(java.lang.Object a) |
CalculationCodeAccessBean |
getCode() Returns the calculation code. |
Item[] |
getItems() Returns the items. |
java.math.BigDecimal[] |
getValues() Returns the values. |
java.math.BigDecimal[] |
getValues(java.lang.Integer anTaxCategoryId) Returns the values of a particular tax category. |
boolean |
isCalculated() Returns whether this group is calculated. |
boolean |
isEmpty() Returns whether this group is empty. |
void |
setCalculated(boolean abCalculated) Sets whether this group is calculated. |
void |
setCode(CalculationCodeAccessBean aabCode) Sets the calculation code. |
void |
setItems(
Item[] aItems) Sets the items. |
void |
setValues(java.math.BigDecimal[] adValues) Sets the values. |
void |
setValues(java.lang.Integer anTaxCategoryId,
java.math.BigDecimal[] adValues) Sets the values of a particular tax category. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll,
toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String COPYRIGHT
Constructor Detail |
---|
public Group(CalculationCodeAccessBean aabCode, Item[] aItems)
Method Detail |
---|
public int compareTo(java.lang.Object a)
compareTo
in interface
java.lang.Comparable
public CalculationCodeAccessBean getCode()
public Item[] getItems()
public java.math.BigDecimal[] getValues()
public java.math.BigDecimal[] getValues(java.lang.Integer anTaxCategoryId)
public boolean isCalculated()
public boolean isEmpty()
public void setCalculated(boolean abCalculated)
public void setCode(CalculationCodeAccessBean aabCode)
public void setItems(Item[] aItems)
public void setValues(java.math.BigDecimal[] adValues)
public void setValues(java.lang.Integer anTaxCategoryId, java.math.BigDecimal[] adValues)