|
||||||||||
| 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.CalendarDate
public class CalendarDate
This object defines information related to a school calendar day in a given school calendar year. If both CalendarDate and CalendarSummary objects are supported, there must be an instance of this object for each date between CalendarSummary StartDate and EndDate, inclusive.
| Field Summary |
|---|
| Fields inherited from class com.edustructures.sifworks.Element |
|---|
CURRENT_SERIALIZE_VERSION |
| Constructor Summary | |
|---|---|
CalendarDate()
Constructor |
|
CalendarDate(java.util.Calendar date,
java.lang.String calendarSummaryRefId,
java.lang.String schoolInfoRefId,
java.lang.Integer schoolYear,
CalendarDateType calendarDateType)
Constructor that accepts values for all mandatory fields |
|
| Method Summary | |
|---|---|
AdministratorAttendance |
getAdministratorAttendance()
Gets the value of the <AdministratorAttendance> element. |
java.lang.Integer |
getCalendarDateNumber()
Gets the value of the <CalendarDateNumber> element. |
CalendarDateType |
getCalendarDateType()
Gets the value of the <CalendarDateType> element. |
java.lang.String |
getCalendarSummaryRefId()
Gets the value of the CalendarSummaryRefId attribute. |
java.util.Calendar |
getDate()
Gets the value of the Date attribute. |
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 |
getSchoolInfoRefId()
Gets the value of the SchoolInfoRefId attribute. |
java.lang.Integer |
getSchoolYear()
Gets the value of the SchoolYear attribute. |
StudentAttendance |
getStudentAttendance()
Gets the value of the <StudentAttendance> element. |
TeacherAttendance |
getTeacherAttendance()
Gets the value of the <TeacherAttendance> element. |
void |
removeAdministratorAttendance()
Removes the AdministratorAttendance child element previously created by calling setAdministratorAttendance |
void |
removeCalendarDateType()
Removes the CalendarDateType child element previously created by calling setCalendarDateType |
void |
removeStudentAttendance()
Removes the StudentAttendance child element previously created by calling setStudentAttendance |
void |
removeTeacherAttendance()
Removes the TeacherAttendance child element previously created by calling setTeacherAttendance |
void |
setAdministratorAttendance(AdministratorAttendance value)
Sets the value of the <AdministratorAttendance> element. |
void |
setCalendarDateNumber(java.lang.Integer value)
Sets the value of the <CalendarDateNumber> element. |
void |
setCalendarDateType(CalendarDateType value)
Sets the value of the <CalendarDateType> element. |
void |
setCalendarSummaryRefId(java.lang.String value)
Sets the value of the CalendarSummaryRefId attribute. |
void |
setDate(java.util.Calendar value)
Sets the value of the Date attribute. |
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 |
setStudentAttendance(StudentAttendance value)
Sets the value of the <StudentAttendance> element. |
void |
setTeacherAttendance(TeacherAttendance value)
Sets the value of the <TeacherAttendance> element. |
| Methods inherited from class com.edustructures.sifworks.SIFDataObject |
|---|
addSIFExtendedElement, clone, getElementOrAttribute, getObjectTag, getObjectType, getRefId, 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 CalendarDate()
public CalendarDate(java.util.Calendar date,
java.lang.String calendarSummaryRefId,
java.lang.String schoolInfoRefId,
java.lang.Integer schoolYear,
CalendarDateType calendarDateType)
date - A specific school day that occurs within the school year.calendarSummaryRefId - The ID (GUID) of the calendar summary in which this calendar date is.schoolInfoRefId - The ID (GUID) of the school for which this calendar information is being reported.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).calendarDateType - | Method Detail |
|---|
public java.lang.String getKey()
getKey in class SIFElementpublic ElementDef[] getKeyFields()
public java.util.Calendar getDate()
Date attribute.
The SIF specification defines the meaning of this attribute as: "A specific school day that occurs within the school year."
Date attribute of this object.public void setDate(java.util.Calendar value)
Date attribute.
The SIF specification defines the meaning of this attribute as: "A specific school day that occurs within the school year."
value - A Calendar objectpublic java.lang.String getCalendarSummaryRefId()
CalendarSummaryRefId attribute.
The SIF specification defines the meaning of this attribute as: "The ID (GUID) of the calendar summary in which this calendar date is."
CalendarSummaryRefId attribute of this object.public void setCalendarSummaryRefId(java.lang.String value)
CalendarSummaryRefId attribute.
The SIF specification defines the meaning of this attribute as: "The ID (GUID) of the calendar summary in which this calendar date is."
value - A String objectpublic java.lang.String getSchoolInfoRefId()
SchoolInfoRefId attribute.
The SIF specification defines the meaning of this attribute as: "The ID (GUID) of the school for which this calendar information is being reported."
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) of the school for which this calendar information is being reported."
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 void setCalendarDateType(CalendarDateType value)
<CalendarDateType> element.
value - A CalendarDateType objectpublic CalendarDateType getCalendarDateType()
<CalendarDateType> element.
CalendarDateType objectpublic void removeCalendarDateType()
CalendarDateType child element previously created by calling setCalendarDateType
public java.lang.Integer getCalendarDateNumber()
<CalendarDateNumber> element.
CalendarDateNumber element of this object.public void setCalendarDateNumber(java.lang.Integer value)
<CalendarDateNumber> element.
value - A Integer objectpublic void setStudentAttendance(StudentAttendance value)
<StudentAttendance> element.
value - A StudentAttendance objectpublic StudentAttendance getStudentAttendance()
<StudentAttendance> element.
StudentAttendance objectpublic void removeStudentAttendance()
StudentAttendance child element previously created by calling setStudentAttendance
public void setTeacherAttendance(TeacherAttendance value)
<TeacherAttendance> element.
value - A TeacherAttendance objectpublic TeacherAttendance getTeacherAttendance()
<TeacherAttendance> element.
TeacherAttendance objectpublic void removeTeacherAttendance()
TeacherAttendance child element previously created by calling setTeacherAttendance
public void setAdministratorAttendance(AdministratorAttendance value)
<AdministratorAttendance> element.
value - A AdministratorAttendance objectpublic AdministratorAttendance getAdministratorAttendance()
<AdministratorAttendance> element.
AdministratorAttendance objectpublic void removeAdministratorAttendance()
AdministratorAttendance child element previously created by calling setAdministratorAttendance
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||