|
||||||||||
| 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.student.SchoolCourseInfo
public class SchoolCourseInfo
This object is for course information. SIF_Events are reported.
| Field Summary |
|---|
| Fields inherited from class com.edustructures.sifworks.Element |
|---|
CURRENT_SERIALIZE_VERSION |
| Constructor Summary | |
|---|---|
SchoolCourseInfo()
Constructor |
|
SchoolCourseInfo(java.lang.String refId,
java.lang.String schoolInfoRefId,
java.lang.Integer schoolYear,
java.lang.String courseCode,
java.lang.String courseTitle)
Constructor that accepts values for all mandatory fields |
|
| Method Summary | |
|---|---|
java.lang.String |
getCoreAcademicCourse()
Gets the value of the <CoreAcademicCourse> element. |
java.lang.String |
getCourseCode()
Gets the value of the <CourseCode> element. |
CourseCredits |
getCourseCredits()
Gets the value of the <CourseCredits> element. |
java.lang.String |
getCourseTitle()
Gets the value of the <CourseTitle> element. |
java.lang.String |
getDepartment()
Gets the value of the <Department> element. |
java.lang.String |
getDescription()
Gets the value of the <Description> element. |
java.lang.String |
getDistrictCourseCode()
Gets the value of the <DistrictCourseCode> element. |
java.lang.String |
getGraduationRequirement()
Gets the value of the <GraduationRequirement> element. |
InstructionalLevel |
getInstructionalLevel()
Gets the value of the <InstructionalLevel> 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 |
getRefId()
Gets the value of the RefId attribute. |
SCEDCode |
getSCEDCode()
Gets the value of the <SCEDCode> element. |
java.lang.String |
getSchoolInfoRefId()
Gets the value of the SchoolInfoRefId attribute. |
java.lang.Integer |
getSchoolYear()
Gets the value of the SchoolYear attribute. |
java.lang.String |
getStateCourseCode()
Gets the value of the <StateCourseCode> element. |
SubjectAreaList |
getSubjectAreaList()
Gets the value of the <SubjectAreaList> element. |
void |
removeCourseCredits()
Removes the CourseCredits child element previously created by calling setCourseCredits |
void |
removeInstructionalLevel()
Removes the InstructionalLevel child element previously created by calling setInstructionalLevel |
void |
removeSCEDCode()
Removes the SCEDCode child element previously created by calling setSCEDCode |
void |
removeSubjectAreaList()
Removes the SubjectAreaList child element previously created by calling setSubjectAreaList |
void |
setCoreAcademicCourse(java.lang.String value)
Sets the value of the <CoreAcademicCourse> element as a String. |
void |
setCoreAcademicCourse(YesNo value)
Sets the value of the <CoreAcademicCourse> element. |
void |
setCourseCode(java.lang.String value)
Sets the value of the <CourseCode> element. |
void |
setCourseCredits(CourseCredits value)
Sets the value of the <CourseCredits> element. |
void |
setCourseCredits(CreditType type,
java.math.BigDecimal value)
Sets the value of the <CourseCredits> child element. |
void |
setCourseTitle(java.lang.String value)
Sets the value of the <CourseTitle> element. |
void |
setDepartment(java.lang.String value)
Sets the value of the <Department> element. |
void |
setDescription(java.lang.String value)
Sets the value of the <Description> element. |
void |
setDistrictCourseCode(java.lang.String value)
Sets the value of the <DistrictCourseCode> element. |
void |
setGraduationRequirement(java.lang.String value)
Sets the value of the <GraduationRequirement> element as a String. |
void |
setGraduationRequirement(YesNo value)
Sets the value of the <GraduationRequirement> element. |
void |
setInstructionalLevel(InstructionalLevel value)
Sets the value of the <InstructionalLevel> element. |
void |
setRefId(java.lang.String value)
Sets the value of the RefId attribute. |
void |
setSCEDCode(SCEDCode value)
Sets the value of the <SCEDCode> element. |
void |
setSchoolInfoRefId(java.lang.String value)
Sets the value of the SchoolInfoRefId attribute. |
void |
setSchoolYear(java.lang.Integer value)
Sets the value of the SchoolYear attribute. |
void |
setStateCourseCode(java.lang.String value)
Sets the value of the <StateCourseCode> element. |
void |
setSubjectAreaList(SubjectAreaList value)
Sets the value of the <SubjectAreaList> 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 SchoolCourseInfo()
public SchoolCourseInfo(java.lang.String refId,
java.lang.String schoolInfoRefId,
java.lang.Integer schoolYear,
java.lang.String courseCode,
java.lang.String courseTitle)
refId - The ID (GUID) that uniquely identifies the school course.schoolInfoRefId - The ID (GUID) that identifies the school where the course is offered.schoolYear - School year for which the information is applicable, expressed as the four-digit year in which the school year ends (e.g. 2007 for the 2006-07 school year).courseCode - School-defined local code for the course.courseTitle - Title of the course.| 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: "The ID (GUID) that uniquely identifies the school course."
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: "The ID (GUID) that uniquely identifies the school course."
value - A String objectpublic java.lang.String getSchoolInfoRefId()
SchoolInfoRefId attribute.
The SIF specification defines the meaning of this attribute as: "The ID (GUID) that identifies the school where the course is offered."
SchoolInfoRefId attribute of this object.public void setSchoolInfoRefId(java.lang.String value)
SchoolInfoRefId attribute.
The SIF specification defines the meaning of this attribute as: "The ID (GUID) that identifies the school where the course is offered."
value - A String objectpublic java.lang.Integer getSchoolYear()
SchoolYear attribute.
The SIF specification defines the meaning of this attribute as: "School year for which the information is applicable, expressed as the four-digit year in which the school year ends (e.g. 2007 for the 2006-07 school year)."
SchoolYear attribute of this object.public void setSchoolYear(java.lang.Integer value)
SchoolYear attribute.
The SIF specification defines the meaning of this attribute as: "School year for which the information is applicable, expressed as the four-digit year in which the school year ends (e.g. 2007 for the 2006-07 school year)."
value - A Integer objectpublic java.lang.String getCourseCode()
<CourseCode> element.
The SIF specification defines the meaning of this element as: "School-defined local code for the course."
CourseCode element of this object.public void setCourseCode(java.lang.String value)
<CourseCode> element.
The SIF specification defines the meaning of this element as: "School-defined local code for the course."
value - A String objectpublic java.lang.String getStateCourseCode()
<StateCourseCode> element.
The SIF specification defines the meaning of this element as: "State-defined standard course code used to report information about courses."
StateCourseCode element of this object.public void setStateCourseCode(java.lang.String value)
<StateCourseCode> element.
The SIF specification defines the meaning of this element as: "State-defined standard course code used to report information about courses."
value - A String objectpublic java.lang.String getDistrictCourseCode()
<DistrictCourseCode> element.
The SIF specification defines the meaning of this element as: "The corresponding district course code."
DistrictCourseCode element of this object.public void setDistrictCourseCode(java.lang.String value)
<DistrictCourseCode> element.
The SIF specification defines the meaning of this element as: "The corresponding district course code."
value - A String objectpublic void setSubjectAreaList(SubjectAreaList value)
<SubjectAreaList> element.
The SIF specification defines the meaning of this element as: "Subject matter area or department"
value - A SubjectAreaList objectpublic SubjectAreaList getSubjectAreaList()
<SubjectAreaList> element.
The SIF specification defines the meaning of this element as: "Subject matter area or department"
SubjectAreaList objectpublic void removeSubjectAreaList()
SubjectAreaList child element previously created by calling setSubjectAreaList
public java.lang.String getCourseTitle()
<CourseTitle> element.
The SIF specification defines the meaning of this element as: "Title of the course."
CourseTitle element of this object.public void setCourseTitle(java.lang.String value)
<CourseTitle> element.
The SIF specification defines the meaning of this element as: "Title of the course."
value - A String objectpublic java.lang.String getDescription()
<Description> element.
The SIF specification defines the meaning of this element as: "Textual description of the course."
Description element of this object.public void setDescription(java.lang.String value)
<Description> element.
The SIF specification defines the meaning of this element as: "Textual description of the course."
value - A String objectpublic void setInstructionalLevel(InstructionalLevel value)
<InstructionalLevel> element.
The SIF specification defines the meaning of this element as: "An indication of the general nature and difficulty of instruction provided."
value - A InstructionalLevel objectpublic InstructionalLevel getInstructionalLevel()
<InstructionalLevel> element.
The SIF specification defines the meaning of this element as: "An indication of the general nature and difficulty of instruction provided."
InstructionalLevel objectpublic void removeInstructionalLevel()
InstructionalLevel child element previously created by calling setInstructionalLevel
public void setCourseCredits(CourseCredits value)
<CourseCredits> element.
The SIF specification defines the meaning of this element as: "The number of credits awarded upon course completion."
value - A CourseCredits object
public void setCourseCredits(CreditType type,
java.math.BigDecimal value)
<CourseCredits> child element.
This form of setCourseCredits is provided as a convenience method
that is functionally equivalent to the version of setCourseCredits
that accepts a single CourseCredits object.
type - The type of credit offeredvalue - Gets or sets the content value of the <CourseCredits> elementpublic CourseCredits getCourseCredits()
<CourseCredits> element.
The SIF specification defines the meaning of this element as: "The number of credits awarded upon course completion."
CourseCredits objectpublic void removeCourseCredits()
CourseCredits child element previously created by calling setCourseCredits
public java.lang.String getCoreAcademicCourse()
<CoreAcademicCourse> element.
The SIF specification defines the meaning of this element as: "Does the course meet the state definition of a core academic course?"
CoreAcademicCourse element of this object.public void setCoreAcademicCourse(YesNo value)
<CoreAcademicCourse> element.
The SIF specification defines the meaning of this element as: "Does the course meet the state definition of a core academic course?"
value - A constant defined by the YesNo classpublic void setCoreAcademicCourse(java.lang.String value)
<CoreAcademicCourse> element as a String.
The SIF specification defines the meaning of this element as: "Does the course meet the state definition of a core academic course?"
value - The value as a Stringpublic java.lang.String getGraduationRequirement()
<GraduationRequirement> element.
The SIF specification defines the meaning of this element as: "Does the state require that the course be completed for graduation?"
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 | "GradRequirement" |
| SIF2.0 | "GraduationRequirement" |
GraduationRequirement element of this object.public void setGraduationRequirement(YesNo value)
<GraduationRequirement> element.
The SIF specification defines the meaning of this element as: "Does the state require that the course be completed for graduation?"
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 | "GradRequirement" |
| SIF2.0 | "GraduationRequirement" |
value - A constant defined by the YesNo classpublic void setGraduationRequirement(java.lang.String value)
<GraduationRequirement> element as a String.
The SIF specification defines the meaning of this element as: "Does the state require that the course be completed for graduation?"
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 | "GradRequirement" |
| SIF2.0 | "GraduationRequirement" |
value - The value as a Stringpublic java.lang.String getDepartment()
<Department> element.
Department element of this object.public void setDepartment(java.lang.String value)
<Department> element.
value - A String objectpublic void setSCEDCode(SCEDCode value)
<SCEDCode> element.
The SIF specification defines the meaning of this element as: "Course code from the School Codes for the Exchange of Data that describes the course content."
value - A SCEDCode objectpublic SCEDCode getSCEDCode()
<SCEDCode> element.
The SIF specification defines the meaning of this element as: "Course code from the School Codes for the Exchange of Data that describes the course content."
SCEDCode objectpublic void removeSCEDCode()
SCEDCode child element previously created by calling setSCEDCode
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||