public class Group
extends java.lang.Object
implements java.lang.Comparable
Modifier and Type | Field and Description |
---|---|
static java.lang.String | COPYRIGHT
The IBM copyright notice field
|
Constructor and Description |
---|
Group(CalculationCodeAccessBean aabCode, Item[] aItems)
Constructor
|
Modifier and Type | Method and Description |
---|---|
int | compareTo(java.lang.Object a)
The comparison to another object.
|
CalculationCodeAccessBean | getCode()
Returns the calculation code.
|
Item[] | getItems()
Returns the items.
|
PromotionExecutionRecord | getPromotionExecutionRecord()
Returns the promotion execution record.
|
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 the group is calculated.
|
void | setCode(CalculationCodeAccessBean aabCode)
Sets the calculation code.
|
void | setItems(Item[] aItems)
Sets the items.
|
void | setPromotionExecutionRecord(PromotionExecutionRecord aPromotionExecutionRecord)
Sets the promotion execution record.
|
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.
|
public static final java.lang.String COPYRIGHT
public Group(CalculationCodeAccessBean aabCode, Item[] aItems)
public int compareTo(java.lang.Object a)
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)
public void setPromotionExecutionRecord(PromotionExecutionRecord aPromotionExecutionRecord)
public PromotionExecutionRecord getPromotionExecutionRecord()