|
||||||||||
| 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<StatementCode>
com.edustructures.sifworks.instr.StatementCodes
public class StatementCodes
| Field Summary |
|---|
| Fields inherited from class com.edustructures.sifworks.Element |
|---|
CURRENT_SERIALIZE_VERSION |
| Constructor Summary | |
|---|---|
StatementCodes()
Constructor |
|
StatementCodes(StatementCode statementCode)
Constructor that accepts values for all mandatory fields |
|
| Method Summary | |
|---|---|
void |
addStatementCode(java.lang.String value)
Adds a new <StatementCode> repeatable element. |
java.lang.String |
getKey()
Gets the key of this object |
ElementDef[] |
getKeyFields()
Gets the metadata fields that make up the key of this object |
StatementCode |
getStatementCode(java.lang.String value)
Gets a StatementCode object instance. |
StatementCode[] |
getStatementCodes()
Gets all StatementCode object instances. |
void |
removeStatementCode(java.lang.String value)
Removes a StatementCode object instance. |
void |
setStatementCodes(StatementCode[] statementcodes)
Sets an array of StatementCode 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, 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 StatementCodes()
public StatementCodes(StatementCode statementCode)
statementCode - An alphanumeric ID code as defined by the organization to identify the statement.| Method Detail |
|---|
public java.lang.String getKey()
getKey in class SIFElementpublic ElementDef[] getKeyFields()
public void addStatementCode(java.lang.String value)
<StatementCode> repeatable element.
This form of setStatementCode is provided as a convenience method
that is functionally equivalent to the version of setStatementCode
that accepts a single StatementCode object.
value - Gets or sets the content value of the <StatementCode> elementpublic void removeStatementCode(java.lang.String value)
StatementCode object instance. More than one instance can be defined for this object because it is a repeatable field element.
value - Identifies the StatementCode object to remove by its Value valuepublic StatementCode getStatementCode(java.lang.String value)
StatementCode object instance. More than one instance can be defined for this object because it is a repeatable field element.
value - Identifies the StatementCode object to return by its "Value" attribute value
StatementCode objectpublic StatementCode[] getStatementCodes()
StatementCode object instances. More than one instance can be defined for this object because it is a repeatable field element.
StatementCode objectspublic void setStatementCodes(StatementCode[] statementcodes)
StatementCode objects. All existing
StatementCode instances
are removed and replaced with this list. Calling this method with the
parameter value set to null removes all StatementCodes.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||