|
||||||||||
| 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<T>
com.edustructures.sifworks.SIFKeyedList<Count>
com.edustructures.sifworks.food.Counts
public class Counts
| Field Summary |
|---|
| Fields inherited from class com.edustructures.sifworks.Element |
|---|
CURRENT_SERIALIZE_VERSION |
| Constructor Summary | |
|---|---|
Counts()
Constructor |
|
Counts(Count count)
Constructor that accepts values for all mandatory fields |
|
| Method Summary | |
|---|---|
void |
addCount(java.math.BigDecimal value)
Adds a new <Count> repeatable element. |
Count |
getCount(java.math.BigDecimal value)
Gets a Count object instance. |
Count[] |
getCounts()
Gets all Count object instances. |
void |
removeCount(java.math.BigDecimal value)
Removes a Count object instance. |
void |
setCounts(Count[] counts)
Sets an array of Count objects. |
| Methods inherited from class com.edustructures.sifworks.SIFKeyedList |
|---|
getChild, getChild |
| 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, 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 Counts()
public Counts(Count count)
count - | Method Detail |
|---|
public void addCount(java.math.BigDecimal value)
<Count> repeatable element.
This form of setCount is provided as a convenience method
that is functionally equivalent to the version of setCount
that accepts a single Count object.
value - The value of the count.public void removeCount(java.math.BigDecimal value)
Count object instance. More than one instance can be defined for this object because it is a repeatable field element.
value - Identifies the Count object to remove by its Value valuepublic Count getCount(java.math.BigDecimal value)
Count object instance. More than one instance can be defined for this object because it is a repeatable field element.
value - Identifies the Count object to return by its "Value" attribute value
Count objectpublic Count[] getCounts()
Count object instances. More than one instance can be defined for this object because it is a repeatable field element.
Count objectspublic void setCounts(Count[] counts)
Count objects. All existing
Count instances
are removed and replaced with this list. Calling this method with the
parameter value set to null removes all Counts.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||