|
||||||||||
| 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.student.HomeEnrollment
public class HomeEnrollment
Enrollment-related information for the school that is responsible for reporting the student's membership/child accounting information. This is most likely the primary enrollment site for the student.
| Field Summary |
|---|
| Fields inherited from class com.edustructures.sifworks.Element |
|---|
CURRENT_SERIALIZE_VERSION |
| Constructor Summary | |
|---|---|
HomeEnrollment()
Constructor |
|
HomeEnrollment(HomeEnrollmentStatus status,
GradeLevel gradeLevel)
Constructor that accepts values for all mandatory fields |
|
| Method Summary | |
|---|---|
java.lang.String |
getFullYearEnrollment()
Gets the value of the <FullYearEnrollment> element. |
GradeLevel |
getGradeLevel()
Gets the value of the <GradeLevel> element. |
Homeroom |
getHomeroom()
Gets the value of the <Homeroom> element. |
java.lang.String |
getHomeroomNumber()
Gets the value of the <HomeroomNumber> 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 |
getLocalId()
Gets the value of the <LocalId> element. |
java.lang.String |
getSchoolInfoRefId()
Gets the value of the <SchoolInfoRefId> element. |
java.lang.String |
getSchoolName()
Gets the value of the <SchoolName> element. |
java.lang.String |
getStateProvinceId()
Gets the value of the <StateProvinceId> element. |
java.lang.String |
getStatus()
Gets the value of the <Status> element. |
java.lang.String |
getStudentSchoolEnrollmentRefId()
Gets the value of the <StudentSchoolEnrollmentRefId> element. |
void |
removeGradeLevel()
Removes the GradeLevel child element previously created by calling setGradeLevel |
void |
removeHomeroom()
Removes the Homeroom child element previously created by calling setHomeroom |
void |
setFullYearEnrollment(java.lang.String value)
Sets the value of the <FullYearEnrollment> element as a String. |
void |
setFullYearEnrollment(YesNoUnknown value)
Sets the value of the <FullYearEnrollment> element. |
void |
setGradeLevel(GradeLevel value)
Sets the value of the <GradeLevel> element. |
void |
setGradeLevel(GradeLevelCode code)
Sets the value of the <GradeLevel> child element. |
void |
setHomeroom(Homeroom value)
Sets the value of the <Homeroom> element. |
void |
setHomeroom(java.lang.String sifRefObject,
java.lang.String value)
Sets the value of the <Homeroom> child element. |
void |
setHomeroomNumber(java.lang.String value)
Sets the value of the <HomeroomNumber> element. |
void |
setLocalId(java.lang.String value)
Sets the value of the <LocalId> element. |
void |
setSchoolInfoRefId(java.lang.String value)
Sets the value of the <SchoolInfoRefId> element. |
void |
setSchoolName(java.lang.String value)
Sets the value of the <SchoolName> element. |
void |
setStateProvinceId(StatePrCode value)
Sets the value of the <StateProvinceId> element. |
void |
setStateProvinceId(java.lang.String value)
Sets the value of the <StateProvinceId> element as a String. |
void |
setStatus(HomeEnrollmentStatus value)
Sets the value of the <Status> element. |
void |
setStatus(java.lang.String value)
Sets the value of the <Status> element as a String. |
void |
setStudentSchoolEnrollmentRefId(java.lang.String value)
Sets the value of the <StudentSchoolEnrollmentRefId> 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 HomeEnrollment()
public HomeEnrollment(HomeEnrollmentStatus status,
GradeLevel gradeLevel)
status - Enrollment status as of the SnapDate.gradeLevel - Grade or academic level of student.| Method Detail |
|---|
public java.lang.String getKey()
getKey in class SIFElementpublic ElementDef[] getKeyFields()
public java.lang.String getStudentSchoolEnrollmentRefId()
<StudentSchoolEnrollmentRefId> element.
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 | "EnrollmentId" |
| SIF2.0 | "StudentSchoolEnrollmentRefId" |
StudentSchoolEnrollmentRefId element of this object.public void setStudentSchoolEnrollmentRefId(java.lang.String value)
<StudentSchoolEnrollmentRefId> element.
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 | "EnrollmentId" |
| SIF2.0 | "StudentSchoolEnrollmentRefId" |
value - A String objectpublic java.lang.String getSchoolName()
<SchoolName> element.
The SIF specification defines the meaning of this element as: "Name of the school."
SchoolName element of this object.public void setSchoolName(java.lang.String value)
<SchoolName> element.
The SIF specification defines the meaning of this element as: "Name of the school."
value - A String objectpublic java.lang.String getSchoolInfoRefId()
<SchoolInfoRefId> element.
The SIF specification defines the meaning of this element as: "Provide both the HomeEnrollment/SchoolId and HomeEnrollment/LocalId elements if possible. If not, one or the other must be provided."
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 | "SchoolId" |
| SIF2.0 | "SchoolInfoRefId" |
SchoolInfoRefId element of this object.public void setSchoolInfoRefId(java.lang.String value)
<SchoolInfoRefId> element.
The SIF specification defines the meaning of this element as: "Provide both the HomeEnrollment/SchoolId and HomeEnrollment/LocalId elements if possible. If not, one or the other must be provided."
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 | "SchoolId" |
| SIF2.0 | "SchoolInfoRefId" |
value - A String objectpublic java.lang.String getLocalId()
<LocalId> element.
The SIF specification defines the meaning of this element as: " The locally-defined identifier for this school. Provide both the HomeEnrollment/LocalId and HomeEnrollment/SchoolId elements if possible. If not, one or the other must be provided. "
LocalId element of this object.public void setLocalId(java.lang.String value)
<LocalId> element.
The SIF specification defines the meaning of this element as: " The locally-defined identifier for this school. Provide both the HomeEnrollment/LocalId and HomeEnrollment/SchoolId elements if possible. If not, one or the other must be provided. "
value - A String objectpublic java.lang.String getStateProvinceId()
<StateProvinceId> element.
The SIF specification defines the meaning of this element as: "The state or province defined identifier for this school."
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 | "StatePrId" |
| SIF2.0 | "StateProvinceId" |
StateProvinceId element of this object.public void setStateProvinceId(StatePrCode value)
<StateProvinceId> element.
The SIF specification defines the meaning of this element as: "The state or province defined identifier for this school."
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 | "StatePrId" |
| SIF2.0 | "StateProvinceId" |
value - A constant defined by the StatePrCode classpublic void setStateProvinceId(java.lang.String value)
<StateProvinceId> element as a String.
The SIF specification defines the meaning of this element as: "The state or province defined identifier for this school."
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 | "StatePrId" |
| SIF2.0 | "StateProvinceId" |
value - The value as a Stringpublic java.lang.String getStatus()
<Status> element.
The SIF specification defines the meaning of this element as: "Enrollment status as of the SnapDate."
Status element of this object.public void setStatus(HomeEnrollmentStatus value)
<Status> element.
The SIF specification defines the meaning of this element as: "Enrollment status as of the SnapDate."
value - A constant defined by the HomeEnrollmentStatus classpublic void setStatus(java.lang.String value)
<Status> element as a String.
The SIF specification defines the meaning of this element as: "Enrollment status as of the SnapDate."
value - The value as a Stringpublic void setGradeLevel(GradeLevel value)
<GradeLevel> element.
The SIF specification defines the meaning of this element as: "Grade or academic level of student."
value - A GradeLevel objectpublic void setGradeLevel(GradeLevelCode code)
<GradeLevel> child element.
This form of setGradeLevel is provided as a convenience method
that is functionally equivalent to the version of setGradeLevel
that accepts a single GradeLevel object.
code - Code representing the grade level.public GradeLevel getGradeLevel()
<GradeLevel> element.
The SIF specification defines the meaning of this element as: "Grade or academic level of student."
GradeLevel objectpublic void removeGradeLevel()
GradeLevel child element previously created by calling setGradeLevel
public void setHomeroom(Homeroom value)
<Homeroom> element.
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 | "HomeroomId" |
| SIF2.0 | "Homeroom" |
value - A Homeroom object
public void setHomeroom(java.lang.String sifRefObject,
java.lang.String value)
<Homeroom> child element.
This form of setHomeroom is provided as a convenience method
that is functionally equivalent to the version of setHomeroom
that accepts a single Homeroom object.
sifRefObject - value - Gets or sets the content value of the <Homeroom> elementpublic Homeroom getHomeroom()
<Homeroom> element.
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 | "HomeroomId" |
| SIF2.0 | "Homeroom" |
Homeroom objectpublic void removeHomeroom()
Homeroom child element previously created by calling setHomeroom
public java.lang.String getHomeroomNumber()
<HomeroomNumber> element.
The SIF specification defines the meaning of this element as: "The locally-defined identifier for this room."
HomeroomNumber element of this object.public void setHomeroomNumber(java.lang.String value)
<HomeroomNumber> element.
The SIF specification defines the meaning of this element as: "The locally-defined identifier for this room."
value - A String objectpublic java.lang.String getFullYearEnrollment()
<FullYearEnrollment> element.
The SIF specification defines the meaning of this element as: "An indication as to whether or not the student was enrolled for the whole school year. If the SchoolYear is in progress as of the SnapDate, use the value "Unknown"."
FullYearEnrollment element of this object.public void setFullYearEnrollment(YesNoUnknown value)
<FullYearEnrollment> element.
The SIF specification defines the meaning of this element as: "An indication as to whether or not the student was enrolled for the whole school year. If the SchoolYear is in progress as of the SnapDate, use the value "Unknown"."
value - A constant defined by the YesNoUnknown classpublic void setFullYearEnrollment(java.lang.String value)
<FullYearEnrollment> element as a String.
The SIF specification defines the meaning of this element as: "An indication as to whether or not the student was enrolled for the whole school year. If the SchoolYear is in progress as of the SnapDate, use the value "Unknown"."
value - The value as a String
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||