|
||||||||||
| 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.Assignment
public class Assignment
The work assigned to a student, which can comprise of learning resources, activities, and assessments. It must have a student and a time attached to it. SIF_Events are reported.
| Field Summary |
|---|
| Fields inherited from class com.edustructures.sifworks.Element |
|---|
CURRENT_SERIALIZE_VERSION |
| Constructor Summary | |
|---|---|
Assignment()
Constructor |
|
Assignment(java.lang.String refId,
LanguageCode language,
AssignmentTime assignmentTime)
Constructor that accepts values for all mandatory fields |
|
| Method Summary | |
|---|---|
java.lang.Boolean |
getAddToGradeBookFlag()
Gets the value of the <AddToGradeBookFlag> element. |
AssignmentTime |
getAssignmentTime()
Gets the value of the <AssignmentTime> element. |
EssentialMaterials |
getEssentialMaterials()
Gets the value of the <EssentialMaterials> 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. |
LearningStandards |
getLearningStandards()
Gets the value of the <LearningStandards> element. |
java.lang.Integer |
getMaxAttemptsAllowed()
Gets the value of the <MaxAttemptsAllowed> 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. |
java.lang.String |
getStaffPersonalRefId()
Gets the value of the <StaffPersonalRefId> element. |
Students |
getStudents()
Gets the value of the <Students> element. |
TechnicalRequirements |
getTechnicalRequirements()
Gets the value of the <TechnicalRequirements> element. |
java.lang.String |
getTitle()
Gets the value of the <Title> element. |
void |
removeAssignmentTime()
Removes the AssignmentTime child element previously created by calling setAssignmentTime |
void |
removeEssentialMaterials()
Removes the EssentialMaterials child element previously created by calling setEssentialMaterials |
void |
removeLearningObjectives()
Removes the LearningObjectives child element previously created by calling setLearningObjectives |
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 |
removeTechnicalRequirements()
Removes the TechnicalRequirements child element previously created by calling setTechnicalRequirements |
void |
setAddToGradeBookFlag(java.lang.Boolean value)
Sets the value of the <AddToGradeBookFlag> element. |
void |
setAssignmentTime(AssignmentTime value)
Sets the value of the <AssignmentTime> element. |
void |
setAssignmentTime(java.util.Calendar startDate,
java.util.Calendar dueDate)
Sets the value of the <AssignmentTime> child element. |
void |
setEssentialMaterials(EssentialMaterials value)
Sets the value of the <EssentialMaterials> 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 |
setLearningStandards(LearningStandards value)
Sets the value of the <LearningStandards> element. |
void |
setMaxAttemptsAllowed(java.lang.Integer value)
Sets the value of the <MaxAttemptsAllowed> 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 |
setStaffPersonalRefId(java.lang.String value)
Sets the value of the <StaffPersonalRefId> 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 |
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 Assignment()
public Assignment(java.lang.String refId,
LanguageCode language,
AssignmentTime assignmentTime)
refId - GUID assigned to assignment.language - assignmentTime - Time structures for the assignment.| 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 assignment."
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 assignment."
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 setStudents(Students value)
<Students> element.
The SIF specification defines the meaning of this element as: "GUID assigned to the student or students given this assignment."
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: "GUID assigned to the student or students given this assignment."
Students objectpublic void removeStudents()
Students child element previously created by calling setStudents
public java.lang.String getStaffPersonalRefId()
<StaffPersonalRefId> element.
The SIF specification defines the meaning of this element as: "GUID assigned to the educator who gave the assignment."
StaffPersonalRefId element of this object.public void setStaffPersonalRefId(java.lang.String value)
<StaffPersonalRefId> element.
The SIF specification defines the meaning of this element as: "GUID assigned to the educator who gave the assignment."
value - A String objectpublic 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 the assignment."
value - A EssentialMaterials objectpublic EssentialMaterials getEssentialMaterials()
<EssentialMaterials> element.
The SIF specification defines the meaning of this element as: "Essential materials required to engage in the assignment."
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 assignment."
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 assignment."
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 assignment."
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 assignment."
value - A String objectpublic void setLearningObjectives(LearningObjectives value)
<LearningObjectives> element.
The SIF specification defines the meaning of this element as: "Description of the educational objectives of the assignment."
value - A LearningObjectives objectpublic LearningObjectives getLearningObjectives()
<LearningObjectives> element.
The SIF specification defines the meaning of this element as: "Description of the educational objectives of the assignment."
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 assignment to associated LearningStandardItem objects."
value - A LearningStandards objectpublic LearningStandards getLearningStandards()
<LearningStandards> element.
The SIF specification defines the meaning of this element as: "Link from assignment to associated LearningStandardItem objects."
LearningStandards objectpublic void removeLearningStandards()
LearningStandards child element previously created by calling setLearningStandards
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 assignment."
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 assignment."
Prerequisites objectpublic void removePrerequisites()
Prerequisites child element previously created by calling setPrerequisites
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 void setAssignmentTime(AssignmentTime value)
<AssignmentTime> element.
The SIF specification defines the meaning of this element as: "Time structures for the assignment."
value - A AssignmentTime object
public void setAssignmentTime(java.util.Calendar startDate,
java.util.Calendar dueDate)
<AssignmentTime> child element.
This form of setAssignmentTime is provided as a convenience method
that is functionally equivalent to the version of setAssignmentTime
that accepts a single AssignmentTime object.
startDate - Date assignment is started.dueDate - Date assignment is due.public AssignmentTime getAssignmentTime()
<AssignmentTime> element.
The SIF specification defines the meaning of this element as: "Time structures for the assignment."
AssignmentTime objectpublic void removeAssignmentTime()
AssignmentTime child element previously created by calling setAssignmentTime
public java.lang.Integer getMaxAttemptsAllowed()
<MaxAttemptsAllowed> element.
The SIF specification defines the meaning of this element as: "The number attempts a student may make on this assignment. Assumed to be unlimited if omitted."
MaxAttemptsAllowed element of this object.public void setMaxAttemptsAllowed(java.lang.Integer value)
<MaxAttemptsAllowed> element.
The SIF specification defines the meaning of this element as: "The number attempts a student may make on this assignment. Assumed to be unlimited if omitted."
value - A Integer objectpublic java.lang.Boolean getAddToGradeBookFlag()
<AddToGradeBookFlag> element.
The SIF specification defines the meaning of this element as: "Flag to prompt grade book processing."
AddToGradeBookFlag element of this object.public void setAddToGradeBookFlag(java.lang.Boolean value)
<AddToGradeBookFlag> element.
The SIF specification defines the meaning of this element as: "Flag to prompt grade book processing."
value - A Boolean object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||