|
||||||||||
| 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.SIFKeyedElement
com.edustructures.sifworks.instr.ResourceComponent
public class ResourceComponent
A lesson or activity-sized portion of a resource.
| Field Summary |
|---|
| Fields inherited from class com.edustructures.sifworks.Element |
|---|
CURRENT_SERIALIZE_VERSION |
| Constructor Summary | |
|---|---|
ResourceComponent()
Constructor |
|
ResourceComponent(java.lang.String refId,
java.lang.String name,
java.lang.String reference)
Constructor that accepts values for all mandatory fields |
|
| Method Summary | |
|---|---|
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. |
java.lang.String |
getRefId()
Gets the value of the RefId attribute. |
Strategies |
getStrategies()
Gets the value of the <Strategies> element. |
void |
removeAssociatedObjects()
Removes the AssociatedObjects child element previously created by calling setAssociatedObjects |
void |
removeStrategies()
Removes the Strategies child element previously created by calling setStrategies |
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 |
setRefId(java.lang.String value)
Sets the value of the RefId attribute. |
void |
setStrategies(Strategies value)
Sets the value of the <Strategies> element. |
| 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 ResourceComponent()
public ResourceComponent(java.lang.String refId,
java.lang.String name,
java.lang.String reference)
refId - GUID for resource componentname - 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 getRefId()
RefId attribute.
The SIF specification defines the meaning of this attribute as: "GUID for resource component"
RefId attribute of this object.public void setRefId(java.lang.String value)
RefId attribute.
The SIF specification defines the meaning of this attribute as: "GUID for resource component"
value - A String objectpublic 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 setStrategies(Strategies value)
<Strategies> 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 getStrategies()
<Strategies> element.
The SIF specification defines the meaning of this element as: "Teaching/learning strategies uses in the learning resource. One per element."
Strategies objectpublic void removeStrategies()
Strategies child element previously created by calling setStrategies
public void setAssociatedObjects(AssociatedObjects value)
<AssociatedObjects> element.
The SIF specification defines the meaning of this element as: "Reference from ResourceComponent to associated elements within another SIF object."
value - A AssociatedObjects objectpublic AssociatedObjects getAssociatedObjects()
<AssociatedObjects> element.
The SIF specification defines the meaning of this element as: "Reference from ResourceComponent to associated elements within another SIF object."
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 | |||||||||