|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.edustructures.sifworks.Element
com.edustructures.sifworks.SIFElement
com.edustructures.sifworks.SIFList<ExpenseAccount>
com.edustructures.sifworks.hrfin.ExpenseAccounts
public class ExpenseAccounts
| Field Summary |
|---|
| Fields inherited from class com.edustructures.sifworks.Element |
|---|
CURRENT_SERIALIZE_VERSION |
| Constructor Summary | |
|---|---|
ExpenseAccounts()
Constructor |
|
ExpenseAccounts(ExpenseAccount expenseAccount)
Constructor that accepts values for all mandatory fields |
|
| Method Summary | |
|---|---|
void |
addExpenseAccount(java.lang.String accountCode,
java.math.BigDecimal amount)
Adds a new <ExpenseAccount> repeatable element. |
ExpenseAccount |
getExpenseAccount(java.lang.String accountCode,
java.math.BigDecimal amount)
Gets an ExpenseAccount object instance. |
ExpenseAccount[] |
getExpenseAccounts()
Gets all ExpenseAccount object instances. |
void |
removeExpenseAccount(java.lang.String accountCode,
java.math.BigDecimal amount)
Removes an ExpenseAccount object instance. |
void |
setExpenseAccounts(ExpenseAccount[] expenseaccounts)
Sets an array of ExpenseAccount objects. |
| Methods inherited from class com.edustructures.sifworks.SIFList |
|---|
add, addAll, clear, contains, containsAll, get, iterator, remove, remove, removeAll, retainAll, size, toArray, toArray |
| Methods inherited from class com.edustructures.sifworks.SIFElement |
|---|
addChild, addChild, clone, compareGraphTo, create, effectiveSIFVersion, getChild, getChild, getChild, getChild, getChild, getChildCount, getChildList, getChildList, getChildList, getChildren, getChildren, getContent, getContent, getField, getField, getFieldCount, getFields, getFieldValue, getKey, getSIFValue, getSIFVersion, getTextValue, getXmlId, hasTextValue, removeChild, removeChild, removeChild, removeChild, restoreImplementationDef, setChanged, setChildren, setEmpty, setField, setField, setField, setField, setSIFValue, setSIFVersion, setTextValue, setXmlId, tag |
| Methods inherited from class com.edustructures.sifworks.Element |
|---|
compareTo, getElementDef, getParent, getRoot, isChanged, isDoNotEncode, isEmpty, setChanged, setDoNotEncode, setElementDef, setEmpty, setParent, toString |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface java.util.Collection |
|---|
equals, hashCode, isEmpty |
| Constructor Detail |
|---|
public ExpenseAccounts()
public ExpenseAccounts(ExpenseAccount expenseAccount)
expenseAccount - | Method Detail |
|---|
public void addExpenseAccount(java.lang.String accountCode,
java.math.BigDecimal amount)
<ExpenseAccount> repeatable element.
This form of setExpenseAccount is provided as a convenience method
that is functionally equivalent to the version of setExpenseAccount
that accepts a single ExpenseAccount object.
accountCode - Account code charged to this item.amount - Amount charged to this account.
public void removeExpenseAccount(java.lang.String accountCode,
java.math.BigDecimal amount)
ExpenseAccount object instance. More than one instance can be defined for this object because it is a repeatable field element.
accountCode - Identifies the ExpenseAccount object to remove by its AccountCode valueamount - Identifies the ExpenseAccount object to remove by its Amount value
public ExpenseAccount getExpenseAccount(java.lang.String accountCode,
java.math.BigDecimal amount)
ExpenseAccount object instance. More than one instance can be defined for this object because it is a repeatable field element.
accountCode - Identifies the ExpenseAccount object to return by its "AccountCode" attribute valueamount - Identifies the ExpenseAccount object to return by its "Amount" attribute value
ExpenseAccount objectpublic ExpenseAccount[] getExpenseAccounts()
ExpenseAccount object instances. More than one instance can be defined for this object because it is a repeatable field element.
ExpenseAccount objectspublic void setExpenseAccounts(ExpenseAccount[] expenseaccounts)
ExpenseAccount objects. All existing
ExpenseAccount instances
are removed and replaced with this list. Calling this method with the
parameter value set to null removes all ExpenseAccounts.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||