|
||||||||||
| 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.instr.Component
public class Component
A lesson or activity-sized portion of a resource.
| Field Summary |
|---|
| Fields inherited from class com.edustructures.sifworks.Element |
|---|
CURRENT_SERIALIZE_VERSION |
| Constructor Summary | |
|---|---|
Component()
Constructor |
|
Component(java.lang.String name,
java.lang.String reference)
Constructor that accepts values for all mandatory fields |
|
| Method Summary | |
|---|---|
void |
addStrategies(Strategies value)
Adds a new <Strategies> child element. |
AssociatedObjects |
getAssociatedObjects()
Gets the value of the <AssociatedObjects> element. |
java.lang.String |
getDescription()
Gets the value of the <Description> 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 |
java.lang.String |
getName()
Gets the value of the <Name> element. |
java.lang.String |
getReference()
Gets the value of the <Reference> element. |
Strategies[] |
getStrategieses()
Gets all Strategies object instances. |
void |
removeAssociatedObjects()
Removes the AssociatedObjects child element previously created by calling setAssociatedObjects |
void |
setAssociatedObjects(AssociatedObjects value)
Sets the value of the <AssociatedObjects> element. |
void |
setDescription(java.lang.String value)
Sets the value of the <Description> element. |
void |
setName(java.lang.String value)
Sets the value of the <Name> element. |
void |
setReference(java.lang.String value)
Sets the value of the <Reference> element. |
void |
setStrategieses(Strategies[] strategieses)
Sets an array of Strategies objects. |
| 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, 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 |
| Constructor Detail |
|---|
public Component()
public Component(java.lang.String name,
java.lang.String reference)
name - Name of learning resource component within the resource, i.e. "Chapter 1, Section 4.reference - Description of where ResourceComponent is located within resource or in general, i.e. "Section 4, pages 32-38," or URL string, or whatever locator is appropriate for media.| Method Detail |
|---|
public java.lang.String getKey()
getKey in class SIFElementpublic ElementDef[] getKeyFields()
public java.lang.String getName()
<Name> element.
The SIF specification defines the meaning of this element as: "Name of learning resource component within the resource, i.e. "Chapter 1, Section 4."
Name element of this object.public void setName(java.lang.String value)
<Name> element.
The SIF specification defines the meaning of this element as: "Name of learning resource component within the resource, i.e. "Chapter 1, Section 4."
value - A String objectpublic java.lang.String getReference()
<Reference> element.
The SIF specification defines the meaning of this element as: "Description of where ResourceComponent is located within resource or in general, i.e. "Section 4, pages 32-38," or URL string, or whatever locator is appropriate for media."
Reference element of this object.public void setReference(java.lang.String value)
<Reference> element.
The SIF specification defines the meaning of this element as: "Description of where ResourceComponent is located within resource or in general, i.e. "Section 4, pages 32-38," or URL string, or whatever locator is appropriate for media."
value - A String objectpublic java.lang.String getDescription()
<Description> element.
The SIF specification defines the meaning of this element as: "Description of ResourceComponent, i.e. "Discover how changing the scale of a map can either increase or decrease the level of detail you see.""
Description element of this object.public void setDescription(java.lang.String value)
<Description> element.
The SIF specification defines the meaning of this element as: "Description of ResourceComponent, i.e. "Discover how changing the scale of a map can either increase or decrease the level of detail you see.""
value - A String objectpublic void addStrategies(Strategies value)
<Strategies> child element.
The SIF specification defines the meaning of this element as: "Teaching/learning strategies uses in the learning resource. One per element."
value - A Strategies objectpublic Strategies[] getStrategieses()
Strategies object instances. More than one instance can be defined for this object because it is a repeatable field element.
Strategies objectspublic void setStrategieses(Strategies[] strategieses)
Strategies objects. All existing
Strategies instances
are removed and replaced with this list. Calling this method with the
parameter value set to null removes all Strategieses.
public void setAssociatedObjects(AssociatedObjects value)
<AssociatedObjects> element.
value - A AssociatedObjects objectpublic AssociatedObjects getAssociatedObjects()
<AssociatedObjects> element.
AssociatedObjects objectpublic void removeAssociatedObjects()
AssociatedObjects child element previously created by calling setAssociatedObjects
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||