|
||||||||||
| 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.Activity
public class Activity
The work assigned to students, an educational event planned by a teacher to deliver a particular educational concept or skill. SIF_Events are reported.
| Field Summary |
|---|
| Fields inherited from class com.edustructures.sifworks.Element |
|---|
CURRENT_SERIALIZE_VERSION |
| Constructor Summary | |
|---|---|
Activity()
Constructor |
|
Activity(java.lang.String refId,
LanguageCode language,
ActivityTime activityTime)
Constructor that accepts values for all mandatory fields |
|
| Method Summary | |
|---|---|
ActivityTime |
getActivityTime()
Gets the value of the <ActivityTime> element. |
java.math.BigDecimal |
getActivityWeight()
Gets the value of the <ActivityWeight> element. |
java.lang.String |
getAssessmentRefId()
Gets the value of the <AssessmentRefId> element. |
EssentialMaterials |
getEssentialMaterials()
Gets the value of the <EssentialMaterials> element. |
Evaluation |
getEvaluation()
Gets the value of the <Evaluation> 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. |
LearningObjectives |
getLearningObjectives()
Gets the value of the <LearningObjectives> element. |
LearningResources |
getLearningResources()
Gets the value of the <LearningResources> element. |
LearningStandards |
getLearningStandards()
Gets the value of the <LearningStandards> element. |
java.lang.Integer |
getMaxAttemptsAllowed()
Gets the value of the <MaxAttemptsAllowed> element. |
java.lang.Integer |
getPoints()
Gets the value of the <Points> element. |
java.lang.String |
getPreamble()
Gets the value of the <Preamble> element. |
Prerequisites |
getPrerequisites()
Gets the value of the <Prerequisites> element. |
java.lang.String |
getRefId()
Gets the value of the RefId attribute. |
SourceObjects |
getSourceObjects()
Gets the value of the <SourceObjects> element. |
Students |
getStudents()
Gets the value of the <Students> element. |
SubjectArea |
getSubjectArea()
Gets the value of the <SubjectArea> element. |
TechnicalRequirements |
getTechnicalRequirements()
Gets the value of the <TechnicalRequirements> element. |
java.lang.String |
getTitle()
Gets the value of the <Title> element. |
void |
removeActivityTime()
Removes the ActivityTime child element previously created by calling setActivityTime |
void |
removeEssentialMaterials()
Removes the EssentialMaterials child element previously created by calling setEssentialMaterials |
void |
removeEvaluation()
Removes the Evaluation child element previously created by calling setEvaluation |
void |
removeLearningObjectives()
Removes the LearningObjectives child element previously created by calling setLearningObjectives |
void |
removeLearningResources()
Removes the LearningResources child element previously created by calling setLearningResources |
void |
removeLearningStandards()
Removes the LearningStandards child element previously created by calling setLearningStandards |
void |
removePrerequisites()
Removes the Prerequisites child element previously created by calling setPrerequisites |
void |
removeSourceObjects()
Removes the SourceObjects child element previously created by calling setSourceObjects |
void |
removeStudents()
Removes the Students child element previously created by calling setStudents |
void |
removeSubjectArea()
Removes the SubjectArea child element previously created by calling setSubjectArea |
void |
removeTechnicalRequirements()
Removes the TechnicalRequirements child element previously created by calling setTechnicalRequirements |
void |
setActivityTime(ActivityTime value)
Sets the value of the <ActivityTime> element. |
void |
setActivityTime(java.util.Calendar creationDate)
Sets the value of the <ActivityTime> child element. |
void |
setActivityWeight(java.math.BigDecimal value)
Sets the value of the <ActivityWeight> element. |
void |
setAssessmentRefId(java.lang.String value)
Sets the value of the <AssessmentRefId> element. |
void |
setEssentialMaterials(EssentialMaterials value)
Sets the value of the <EssentialMaterials> element. |
void |
setEvaluation(Evaluation value)
Sets the value of the <Evaluation> element. |
void |
setEvaluation(EvaluationType evaluationType)
Sets the value of the <Evaluation> child 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 |
setLearningObjectives(LearningObjectives value)
Sets the value of the <LearningObjectives> element. |
void |
setLearningResources(LearningResources value)
Sets the value of the <LearningResources> element. |
void |
setLearningStandards(LearningStandards value)
Sets the value of the <LearningStandards> element. |
void |
setMaxAttemptsAllowed(java.lang.Integer value)
Sets the value of the <MaxAttemptsAllowed> element. |
void |
setPoints(java.lang.Integer value)
Sets the value of the <Points> element. |
void |
setPreamble(java.lang.String value)
Sets the value of the <Preamble> element. |
void |
setPrerequisites(Prerequisites value)
Sets the value of the <Prerequisites> element. |
void |
setRefId(java.lang.String value)
Sets the value of the RefId attribute. |
void |
setSourceObjects(SourceObjects value)
Sets the value of the <SourceObjects> element. |
void |
setStudents(StudentPersonalRefId studentPersonalRefId)
Sets the value of the <Students> child element. |
void |
setStudents(Students value)
Sets the value of the <Students> element. |
void |
setSubjectArea(java.lang.String code)
Sets the value of the <SubjectArea> child element. |
void |
setSubjectArea(SubjectArea value)
Sets the value of the <SubjectArea> element. |
void |
setTechnicalRequirements(TechnicalRequirements value)
Sets the value of the <TechnicalRequirements> element. |
void |
setTitle(java.lang.String value)
Sets the value of the <Title> 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 Activity()
public Activity(java.lang.String refId,
LanguageCode language,
ActivityTime activityTime)
refId - language - activityTime - Time structures for the activity.| Method Detail |
|---|
public java.lang.String getKey()
getKey in class SIFElementpublic ElementDef[] getKeyFields()
public java.lang.String getRefId()
RefId attribute.
getRefId in class SIFDataObjectRefId attribute of this object.public void setRefId(java.lang.String value)
RefId attribute.
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 void setTechnicalRequirements(TechnicalRequirements value)
<TechnicalRequirements> element.
The SIF specification defines the meaning of this element as: "Applications, OS, and network requirements for activity if applicable."
value - A TechnicalRequirements objectpublic TechnicalRequirements getTechnicalRequirements()
<TechnicalRequirements> element.
The SIF specification defines the meaning of this element as: "Applications, OS, and network requirements for activity if applicable."
TechnicalRequirements objectpublic void removeTechnicalRequirements()
TechnicalRequirements child element previously created by calling setTechnicalRequirements
public void setEssentialMaterials(EssentialMaterials value)
<EssentialMaterials> element.
The SIF specification defines the meaning of this element as: "Essential materials required to engage in this activity."
value - A EssentialMaterials objectpublic EssentialMaterials getEssentialMaterials()
<EssentialMaterials> element.
The SIF specification defines the meaning of this element as: "Essential materials required to engage in this activity."
EssentialMaterials objectpublic void removeEssentialMaterials()
EssentialMaterials child element previously created by calling setEssentialMaterials
public java.lang.String getTitle()
<Title> element.
The SIF specification defines the meaning of this element as: "Descriptive name of the activity."
Title element of this object.public void setTitle(java.lang.String value)
<Title> element.
The SIF specification defines the meaning of this element as: "Descriptive name of the activity."
value - A String objectpublic java.lang.String getPreamble()
<Preamble> element.
The SIF specification defines the meaning of this element as: "Description and context for the activity."
Preamble element of this object.public void setPreamble(java.lang.String value)
<Preamble> element.
The SIF specification defines the meaning of this element as: "Description and context for the activity."
value - A String objectpublic void setLearningObjectives(LearningObjectives value)
<LearningObjectives> element.
The SIF specification defines the meaning of this element as: "Description of the educational objective of the activity."
value - A LearningObjectives objectpublic LearningObjectives getLearningObjectives()
<LearningObjectives> element.
The SIF specification defines the meaning of this element as: "Description of the educational objective of the activity."
LearningObjectives objectpublic void removeLearningObjectives()
LearningObjectives child element previously created by calling setLearningObjectives
public void setLearningStandards(LearningStandards value)
<LearningStandards> element.
The SIF specification defines the meaning of this element as: "Link from activity to associated LearningStandardItem objects."
value - A LearningStandards objectpublic LearningStandards getLearningStandards()
<LearningStandards> element.
The SIF specification defines the meaning of this element as: "Link from activity to associated LearningStandardItem objects."
LearningStandards objectpublic void removeLearningStandards()
LearningStandards child element previously created by calling setLearningStandards
public void setSubjectArea(SubjectArea value)
<SubjectArea> element.
The SIF specification defines the meaning of this element as: "Refer to section 5.1.30 SubjectArea."
value - A SubjectArea objectpublic void setSubjectArea(java.lang.String code)
<SubjectArea> child element.
This form of setSubjectArea is provided as a convenience method
that is functionally equivalent to the version of setSubjectArea
that accepts a single SubjectArea object.
code - The subject area code (i.e. the first two digits of the course classification code)public SubjectArea getSubjectArea()
<SubjectArea> element.
The SIF specification defines the meaning of this element as: "Refer to section 5.1.30 SubjectArea."
SubjectArea objectpublic void removeSubjectArea()
SubjectArea child element previously created by calling setSubjectArea
public void setPrerequisites(Prerequisites value)
<Prerequisites> element.
The SIF specification defines the meaning of this element as: "Skills or competencies the student must have to engage in activity."
value - A Prerequisites objectpublic Prerequisites getPrerequisites()
<Prerequisites> element.
The SIF specification defines the meaning of this element as: "Skills or competencies the student must have to engage in activity."
Prerequisites objectpublic void removePrerequisites()
Prerequisites child element previously created by calling setPrerequisites
public void setStudents(Students value)
<Students> element.
The SIF specification defines the meaning of this element as: "Link to any student or group or category of students that this activity is for."
value - A Students objectpublic void setStudents(StudentPersonalRefId studentPersonalRefId)
<Students> child element.
This form of setStudents is provided as a convenience method
that is functionally equivalent to the version of setStudents
that accepts a single Students object.
studentPersonalRefId - GUID that identifies the student that this element refers to.public Students getStudents()
<Students> element.
The SIF specification defines the meaning of this element as: "Link to any student or group or category of students that this activity is for."
Students objectpublic void removeStudents()
Students child element previously created by calling setStudents
public void setSourceObjects(SourceObjects value)
<SourceObjects> element.
The SIF specification defines the meaning of this element as: "GUID assigned to the source object. The source object is the "thing" being assigned to a student."
value - A SourceObjects objectpublic SourceObjects getSourceObjects()
<SourceObjects> element.
The SIF specification defines the meaning of this element as: "GUID assigned to the source object. The source object is the "thing" being assigned to a student."
SourceObjects objectpublic void removeSourceObjects()
SourceObjects child element previously created by calling setSourceObjects
public java.lang.Integer getPoints()
<Points> element.
The SIF specification defines the meaning of this element as: "Number of possible points for an activity."
Points element of this object.public void setPoints(java.lang.Integer value)
<Points> element.
The SIF specification defines the meaning of this element as: "Number of possible points for an activity."
value - A Integer objectpublic void setActivityTime(ActivityTime value)
<ActivityTime> element.
The SIF specification defines the meaning of this element as: "Time structures for the activity."
value - A ActivityTime objectpublic void setActivityTime(java.util.Calendar creationDate)
<ActivityTime> child element.
This form of setActivityTime is provided as a convenience method
that is functionally equivalent to the version of setActivityTime
that accepts a single ActivityTime object.
creationDate - Creation date of the activity.public ActivityTime getActivityTime()
<ActivityTime> element.
The SIF specification defines the meaning of this element as: "Time structures for the activity."
ActivityTime objectpublic void removeActivityTime()
ActivityTime child element previously created by calling setActivityTime
public java.lang.String getAssessmentRefId()
<AssessmentRefId> element.
The SIF specification defines the meaning of this element as: "Link to the SIF Assessment object containing the evaluation information for this activity."
AssessmentRefId element of this object.public void setAssessmentRefId(java.lang.String value)
<AssessmentRefId> element.
The SIF specification defines the meaning of this element as: "Link to the SIF Assessment object containing the evaluation information for this activity."
value - A String objectpublic java.lang.Integer getMaxAttemptsAllowed()
<MaxAttemptsAllowed> element.
The SIF specification defines the meaning of this element as: "How many tries allowed."
MaxAttemptsAllowed element of this object.public void setMaxAttemptsAllowed(java.lang.Integer value)
<MaxAttemptsAllowed> element.
The SIF specification defines the meaning of this element as: "How many tries allowed."
value - A Integer objectpublic java.math.BigDecimal getActivityWeight()
<ActivityWeight> element.
The SIF specification defines the meaning of this element as: "The percentage weight of the activity during the particular course or term."
ActivityWeight element of this object.public void setActivityWeight(java.math.BigDecimal value)
<ActivityWeight> element.
The SIF specification defines the meaning of this element as: "The percentage weight of the activity during the particular course or term."
value - A BigDecimal objectpublic void setEvaluation(Evaluation value)
<Evaluation> element.
The SIF specification defines the meaning of this element as: "Field for non-numeric types of grading and evaluation such as "narrative.""
value - A Evaluation objectpublic void setEvaluation(EvaluationType evaluationType)
<Evaluation> child element.
This form of setEvaluation is provided as a convenience method
that is functionally equivalent to the version of setEvaluation
that accepts a single Evaluation object.
evaluationType - A qualifer for what type of evaluation this is. Valid values are "Inline" and "RefId". Inline values are contained in the optional Description element, RefIds are contained in the AssessmentRefId element.public Evaluation getEvaluation()
<Evaluation> element.
The SIF specification defines the meaning of this element as: "Field for non-numeric types of grading and evaluation such as "narrative.""
Evaluation objectpublic void removeEvaluation()
Evaluation child element previously created by calling setEvaluation
public void setLearningResources(LearningResources value)
<LearningResources> element.
The SIF specification defines the meaning of this element as: "A GUID reference to a SIF LearningResource object that support this activity"
value - A LearningResources objectpublic LearningResources getLearningResources()
<LearningResources> element.
The SIF specification defines the meaning of this element as: "A GUID reference to a SIF LearningResource object that support this activity"
LearningResources objectpublic void removeLearningResources()
LearningResources child element previously created by calling setLearningResources
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||