|
||||||||||
| 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<ComponentObject>
com.edustructures.sifworks.instr.ComponentObjects
public class ComponentObjects
| Field Summary |
|---|
| Fields inherited from class com.edustructures.sifworks.Element |
|---|
CURRENT_SERIALIZE_VERSION |
| Constructor Summary | |
|---|---|
ComponentObjects()
Constructor |
|
ComponentObjects(ComponentObject componentObject)
Constructor that accepts values for all mandatory fields |
|
| Method Summary | |
|---|---|
void |
addComponentObject(java.lang.String sifRefObject,
java.lang.String value)
Adds a new <ComponentObject> repeatable element. |
ComponentObject |
getComponentObject(java.lang.String sifRefObject)
Gets a ComponentObject object instance. |
ComponentObject[] |
getComponentObjects()
Gets all ComponentObject object instances. |
void |
removeComponentObject(java.lang.String sifRefObject)
Removes a ComponentObject object instance. |
void |
setComponentObjects(ComponentObject[] componentobjects)
Sets an array of ComponentObject 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 ComponentObjects()
public ComponentObjects(ComponentObject componentObject)
componentObject - | Method Detail |
|---|
public void addComponentObject(java.lang.String sifRefObject,
java.lang.String value)
<ComponentObject> repeatable element.
This form of setComponentObject is provided as a convenience method
that is functionally equivalent to the version of setComponentObject
that accepts a single ComponentObject object.
sifRefObject - The type of learning object being referenced.value - Gets or sets the content value of the <ComponentObject> elementpublic void removeComponentObject(java.lang.String sifRefObject)
ComponentObject object instance. More than one instance can be defined for this object because it is a repeatable field element.
sifRefObject - Identifies the ComponentObject object to remove by its SIF_RefObject valuepublic ComponentObject getComponentObject(java.lang.String sifRefObject)
ComponentObject object instance. More than one instance can be defined for this object because it is a repeatable field element.
sifRefObject - Identifies the ComponentObject object to return by its "SIF_RefObject" attribute value
ComponentObject objectpublic ComponentObject[] getComponentObjects()
ComponentObject object instances. More than one instance can be defined for this object because it is a repeatable field element.
ComponentObject objectspublic void setComponentObjects(ComponentObject[] componentobjects)
ComponentObject objects. All existing
ComponentObject instances
are removed and replaced with this list. Calling this method with the
parameter value set to null removes all ComponentObjects.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||