|
||||||||||
| 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.SIFDataObject
com.edustructures.sifworks.instr.LearningResource
public class LearningResource
This object contains information related to learning resources that may be used in educational settings. These include textbooks, Internet content, educational software, videos and DVDs, supplemental print material, etc. SIF_Events are reported.
| Field Summary |
|---|
| Fields inherited from class com.edustructures.sifworks.Element |
|---|
CURRENT_SERIALIZE_VERSION |
| Constructor Summary | |
|---|---|
LearningResource()
Constructor |
|
LearningResource(java.lang.String refId,
LanguageCode language,
java.lang.String name,
Components components)
Constructor that accepts values for all mandatory fields |
|
| Method Summary | |
|---|---|
java.util.Calendar |
getAgreementDate()
Gets the value of the <AgreementDate> element. |
Approvals |
getApprovals()
Gets the value of the <Approvals> element. |
java.lang.String |
getAuthor()
Gets the value of the <Author> element. |
Components |
getComponents()
Gets the value of the <Components> element. |
Contacts |
getContacts()
Gets the value of the <Contacts> element. |
java.lang.String |
getDescription()
Gets the value of the <Description> element. |
ResourceEvaluations |
getEvaluations()
Gets the value of the <Evaluations> element. |
GradeLevels |
getGradeLevels()
Gets the value of the <GradeLevels> 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 |
getLanguage()
Gets the value of the Language attribute. |
LearningStandards |
getLearningStandards()
Gets the value of the <LearningStandards> element. |
ResourceLocation |
getLocation()
Gets the value of the <Location> element. |
MediaTypes |
getMediaTypes()
Gets the value of the <MediaTypes> element. |
java.lang.String |
getName()
Gets the value of the <Name> element. |
java.lang.String |
getRefId()
Gets the value of the RefId attribute. |
java.lang.String |
getStatus()
Gets the value of the <Status> element. |
SubjectAreas |
getSubjectAreas()
Gets the value of the <SubjectAreas> element. |
java.lang.String |
getUseAgreement()
Gets the value of the <UseAgreement> element. |
void |
removeApprovals()
Removes the Approvals child element previously created by calling setApprovals |
void |
removeComponents()
Removes the Components child element previously created by calling setComponents |
void |
removeContacts()
Removes the Contacts child element previously created by calling setContacts |
void |
removeEvaluations()
Removes the Evaluations child element previously created by calling setEvaluations |
void |
removeGradeLevels()
Removes the GradeLevels child element previously created by calling setGradeLevels |
void |
removeLearningStandards()
Removes the LearningStandards child element previously created by calling setLearningStandards |
void |
removeLocation()
Removes the Location child element previously created by calling setLocation |
void |
removeMediaTypes()
Removes the MediaTypes child element previously created by calling setMediaTypes |
void |
removeSubjectAreas()
Removes the SubjectAreas child element previously created by calling setSubjectAreas |
void |
setAgreementDate(java.util.Calendar value)
Sets the value of the <AgreementDate> element. |
void |
setApprovals(Approvals value)
Sets the value of the <Approvals> element. |
void |
setAuthor(java.lang.String value)
Sets the value of the <Author> element. |
void |
setComponents(Components value)
Sets the value of the <Components> element. |
void |
setContacts(Contacts value)
Sets the value of the <Contacts> element. |
void |
setDescription(java.lang.String value)
Sets the value of the <Description> element. |
void |
setEvaluations(ResourceEvaluations value)
Sets the value of the <Evaluations> element. |
void |
setGradeLevels(GradeLevels value)
Sets the value of the <GradeLevels> element. |
void |
setLanguage(LanguageCode value)
Sets the value of the Language attribute. |
void |
setLanguage(java.lang.String value)
Sets the value of the Language attribute as a String. |
void |
setLearningStandards(LearningStandards value)
Sets the value of the <LearningStandards> element. |
void |
setLocation(ReferenceType referenceType,
java.lang.String value)
Sets the value of the <Location> child element. |
void |
setLocation(ResourceLocation value)
Sets the value of the <Location> element. |
void |
setMediaTypes(MediaTypes value)
Sets the value of the <MediaTypes> element. |
void |
setName(java.lang.String value)
Sets the value of the <Name> element. |
void |
setRefId(java.lang.String value)
Sets the value of the RefId attribute. |
void |
setStatus(java.lang.String value)
Sets the value of the <Status> element. |
void |
setSubjectAreas(SubjectAreas value)
Sets the value of the <SubjectAreas> element. |
void |
setUseAgreement(java.lang.String value)
Sets the value of the <UseAgreement> element. |
| Methods inherited from class com.edustructures.sifworks.SIFDataObject |
|---|
addSIFExtendedElement, clone, getElementOrAttribute, getObjectTag, getObjectType, getSIFExtendedElement, getSIFExtendedElements, getSIFExtendedElementsContainer, getSIFMetadata, getSIFVersion, setElementOrAttribute, setElementOrAttribute, setElementOrAttribute, setSIFExtendedElements, setSIFExtendedElementsContainer, setSIFMetadata, setSIFVersion, toXML |
| Methods inherited from class com.edustructures.sifworks.SIFElement |
|---|
addChild, addChild, compareGraphTo, create, effectiveSIFVersion, getChild, getChild, getChild, getChild, getChild, getChildCount, getChildList, getChildList, getChildList, getChildren, getChildren, getContent, getContent, getField, getField, getFieldCount, getFields, getFieldValue, getSIFValue, getTextValue, getXmlId, hasTextValue, removeChild, removeChild, removeChild, removeChild, restoreImplementationDef, setChanged, setChildren, setEmpty, setField, setField, setField, setField, setSIFValue, 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 LearningResource()
public LearningResource(java.lang.String refId,
LanguageCode language,
java.lang.String name,
Components components)
refId - GUID assigned to this LearningResource.language - name - Name of learning resource.components - A lesson or activity-sized portion of a resource.| 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 assigned to this LearningResource."
getRefId in class SIFDataObjectRefId attribute of this object.public void setRefId(java.lang.String value)
RefId attribute.
The SIF specification defines the meaning of this attribute as: "GUID assigned to this LearningResource."
value - A String objectpublic java.lang.String getLanguage()
Language attribute.
Language attribute of this object.public void setLanguage(LanguageCode value)
Language attribute.
value - A constant defined by the LanguageCode classpublic void setLanguage(java.lang.String value)
Language attribute as a String.
value - The value as a Stringpublic java.lang.String getName()
<Name> element.
The SIF specification defines the meaning of this element as: "Name of learning resource."
This element is known by more than one tag name depending on the version of SIF in use. The ADK will use the tag names shown below when parsing and rendering elements of this kind.
| Version | Tag |
| 1.5r1 | "ResourceName" |
| SIF2.0 | "Name" |
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."
This element is known by more than one tag name depending on the version of SIF in use. The ADK will use the tag names shown below when parsing and rendering elements of this kind.
| Version | Tag |
| 1.5r1 | "ResourceName" |
| SIF2.0 | "Name" |
value - A String objectpublic java.lang.String getAuthor()
<Author> element.
The SIF specification defines the meaning of this element as: "Name of organization or company that created the resource."
This element is known by more than one tag name depending on the version of SIF in use. The ADK will use the tag names shown below when parsing and rendering elements of this kind.
| Version | Tag |
| 1.5r1 | "ResourceAuthor" |
| SIF2.0 | "Author" |
Author element of this object.public void setAuthor(java.lang.String value)
<Author> element.
The SIF specification defines the meaning of this element as: "Name of organization or company that created the resource."
This element is known by more than one tag name depending on the version of SIF in use. The ADK will use the tag names shown below when parsing and rendering elements of this kind.
| Version | Tag |
| 1.5r1 | "ResourceAuthor" |
| SIF2.0 | "Author" |
value - A String objectpublic void setContacts(Contacts value)
<Contacts> element.
The SIF specification defines the meaning of this element as: "Contains contact information about resource authors."
value - A Contacts objectpublic Contacts getContacts()
<Contacts> element.
The SIF specification defines the meaning of this element as: "Contains contact information about resource authors."
Contacts objectpublic void removeContacts()
Contacts child element previously created by calling setContacts
public void setLocation(ResourceLocation value)
<Location> element.
The SIF specification defines the meaning of this element as: "Description of location of resource, i.e. location in library or URL, community resource, outside resource supplier."
value - A ResourceLocation object
public void setLocation(ReferenceType referenceType,
java.lang.String value)
<Location> child element.
This form of setLocation is provided as a convenience method
that is functionally equivalent to the version of setLocation
that accepts a single ResourceLocation object.
referenceType - A qualifying attribute for the ResourceLocation payload. If ReferenceType is "URI", the payload contains a web address where the resource can be found.value - Gets or sets the content value of the <ResourceLocation> elementpublic ResourceLocation getLocation()
<Location> element.
The SIF specification defines the meaning of this element as: "Description of location of resource, i.e. location in library or URL, community resource, outside resource supplier."
ResourceLocation objectpublic void removeLocation()
Location child element previously created by calling setLocation
public java.lang.String getStatus()
<Status> element.
The SIF specification defines the meaning of this element as: "Describes availability status of resource, e.g. "checked out.""
This element is known by more than one tag name depending on the version of SIF in use. The ADK will use the tag names shown below when parsing and rendering elements of this kind.
| Version | Tag |
| 1.5r1 | "ResourceStatus" |
| SIF2.0 | "Status" |
Status element of this object.public void setStatus(java.lang.String value)
<Status> element.
The SIF specification defines the meaning of this element as: "Describes availability status of resource, e.g. "checked out.""
This element is known by more than one tag name depending on the version of SIF in use. The ADK will use the tag names shown below when parsing and rendering elements of this kind.
| Version | Tag |
| 1.5r1 | "ResourceStatus" |
| SIF2.0 | "Status" |
value - A String objectpublic java.lang.String getDescription()
<Description> element.
The SIF specification defines the meaning of this element as: "Description of the resource, e.g., "This textbook is intended for grade 4 social studies students and addresses...""
This element is known by more than one tag name depending on the version of SIF in use. The ADK will use the tag names shown below when parsing and rendering elements of this kind.
| Version | Tag |
| 1.5r1 | "ResourceDescription" |
| SIF2.0 | "Description" |
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 the resource, e.g., "This textbook is intended for grade 4 social studies students and addresses...""
This element is known by more than one tag name depending on the version of SIF in use. The ADK will use the tag names shown below when parsing and rendering elements of this kind.
| Version | Tag |
| 1.5r1 | "ResourceDescription" |
| SIF2.0 | "Description" |
value - A String objectpublic void setGradeLevels(GradeLevels value)
<GradeLevels> element.
The SIF specification defines the meaning of this element as: "For a description of this element, see 5.1.12 GradeLevels."
value - A GradeLevels objectpublic GradeLevels getGradeLevels()
<GradeLevels> element.
The SIF specification defines the meaning of this element as: "For a description of this element, see 5.1.12 GradeLevels."
GradeLevels objectpublic void removeGradeLevels()
GradeLevels child element previously created by calling setGradeLevels
public void setSubjectAreas(SubjectAreas value)
<SubjectAreas> element.
The SIF specification defines the meaning of this element as: "For a description of this element, see 5.1.30 SubjectArea."
value - A SubjectAreas objectpublic SubjectAreas getSubjectAreas()
<SubjectAreas> element.
The SIF specification defines the meaning of this element as: "For a description of this element, see 5.1.30 SubjectArea."
SubjectAreas objectpublic void removeSubjectAreas()
SubjectAreas child element previously created by calling setSubjectAreas
public void setMediaTypes(MediaTypes value)
<MediaTypes> element.
The SIF specification defines the meaning of this element as: "MIME types [MIME] based on IANA registration (see RFC2048) or 'non-digital'."
value - A MediaTypes objectpublic MediaTypes getMediaTypes()
<MediaTypes> element.
The SIF specification defines the meaning of this element as: "MIME types [MIME] based on IANA registration (see RFC2048) or 'non-digital'."
MediaTypes objectpublic void removeMediaTypes()
MediaTypes child element previously created by calling setMediaTypes
public java.lang.String getUseAgreement()
<UseAgreement> element.
The SIF specification defines the meaning of this element as: "Describes terms of use for resource."
UseAgreement element of this object.public void setUseAgreement(java.lang.String value)
<UseAgreement> element.
The SIF specification defines the meaning of this element as: "Describes terms of use for resource."
value - A String objectpublic java.util.Calendar getAgreementDate()
<AgreementDate> element.
The SIF specification defines the meaning of this element as: "A date that defines the date of agreement."
AgreementDate element of this object.public void setAgreementDate(java.util.Calendar value)
<AgreementDate> element.
The SIF specification defines the meaning of this element as: "A date that defines the date of agreement."
value - A Calendar objectpublic void setApprovals(Approvals value)
<Approvals> element.
The SIF specification defines the meaning of this element as: "A sub-element containing authorizations to use this resource. For example, this resource may be included as part of the district's standard curriculum model."
value - A Approvals objectpublic Approvals getApprovals()
<Approvals> element.
The SIF specification defines the meaning of this element as: "A sub-element containing authorizations to use this resource. For example, this resource may be included as part of the district's standard curriculum model."
Approvals objectpublic void removeApprovals()
Approvals child element previously created by calling setApprovals
public void setEvaluations(ResourceEvaluations value)
<Evaluations> element.
The SIF specification defines the meaning of this element as: "Evaluations/reviews of resource."
value - A ResourceEvaluations objectpublic ResourceEvaluations getEvaluations()
<Evaluations> element.
The SIF specification defines the meaning of this element as: "Evaluations/reviews of resource."
ResourceEvaluations objectpublic void removeEvaluations()
Evaluations child element previously created by calling setEvaluations
public void setComponents(Components value)
<Components> element.
The SIF specification defines the meaning of this element as: "A lesson or activity-sized portion of a resource."
value - A Components objectpublic Components getComponents()
<Components> element.
The SIF specification defines the meaning of this element as: "A lesson or activity-sized portion of a resource."
Components objectpublic void removeComponents()
Components child element previously created by calling setComponents
public void setLearningStandards(LearningStandards value)
<LearningStandards> element.
The SIF specification defines the meaning of this element as: "Reference to a LearningStandardItem."
value - A LearningStandards objectpublic LearningStandards getLearningStandards()
<LearningStandards> element.
The SIF specification defines the meaning of this element as: "Reference to a LearningStandardItem."
LearningStandards objectpublic void removeLearningStandards()
LearningStandards child element previously created by calling setLearningStandards
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||