|
||||||||||
| 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.AttendanceCodeInfo
public class AttendanceCodeInfo
This object is to provides information about a particular attendance code, allows applications to synchronize each other's attendance code tables, or to provide a dynamic list of attendance codes. SIF_Events are reported.
| Field Summary |
|---|
| Fields inherited from class com.edustructures.sifworks.Element |
|---|
CURRENT_SERIALIZE_VERSION |
| Constructor Summary | |
|---|---|
AttendanceCodeInfo()
Constructor |
|
AttendanceCodeInfo(java.lang.String refId,
java.lang.String schoolInfoRefId,
AttendanceType attendanceType,
AttendanceStatus attendanceStatus)
Constructor that accepts values for all mandatory fields |
|
| Method Summary | |
|---|---|
java.math.BigDecimal |
getAbsenceValue()
Gets the value of the <AbsenceValue> element. |
java.lang.String |
getAttendanceCode()
Gets the value of the <AttendanceCode> element. |
java.lang.String |
getAttendanceStatus()
Gets the value of the <AttendanceStatus> element. |
java.lang.String |
getAttendanceType()
Gets the value of the <AttendanceType> element. |
java.math.BigDecimal |
getAttendanceValue()
Gets the value of the <AttendanceValue> element. |
java.lang.String |
getDescription()
Gets the value of the <Description> 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. |
java.lang.String |
getSchoolInfoRefId()
Gets the value of the SchoolInfoRefId attribute. |
java.lang.String |
getUsedForDailyAttendance()
Gets the value of the <UsedForDailyAttendance> element. |
java.lang.String |
getUsedForPeriodAttendance()
Gets the value of the <UsedForPeriodAttendance> element. |
void |
setAbsenceValue(java.math.BigDecimal value)
Sets the value of the <AbsenceValue> element. |
void |
setAttendanceCode(java.lang.String value)
Sets the value of the <AttendanceCode> element. |
void |
setAttendanceStatus(AttendanceStatus value)
Sets the value of the <AttendanceStatus> element. |
void |
setAttendanceStatus(java.lang.String value)
Sets the value of the <AttendanceStatus> element as a String. |
void |
setAttendanceType(AttendanceType value)
Sets the value of the <AttendanceType> element. |
void |
setAttendanceType(java.lang.String value)
Sets the value of the <AttendanceType> element as a String. |
void |
setAttendanceValue(java.math.BigDecimal value)
Sets the value of the <AttendanceValue> element. |
void |
setDescription(java.lang.String value)
Sets the value of the <Description> element. |
void |
setRefId(java.lang.String value)
Sets the value of the RefId attribute. |
void |
setSchoolInfoRefId(java.lang.String value)
Sets the value of the SchoolInfoRefId attribute. |
void |
setUsedForDailyAttendance(java.lang.String value)
Sets the value of the <UsedForDailyAttendance> element as a String. |
void |
setUsedForDailyAttendance(YesNo value)
Sets the value of the <UsedForDailyAttendance> element. |
void |
setUsedForPeriodAttendance(java.lang.String value)
Sets the value of the <UsedForPeriodAttendance> element as a String. |
void |
setUsedForPeriodAttendance(YesNo value)
Sets the value of the <UsedForPeriodAttendance> 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 AttendanceCodeInfo()
public AttendanceCodeInfo(java.lang.String refId,
java.lang.String schoolInfoRefId,
AttendanceType attendanceType,
AttendanceStatus attendanceStatus)
refId - The ID (GUID) that uniquely identifies this AttendanceCodeInfo entity.schoolInfoRefId - The ID (GUID) that identifies the school where the attendance code is used.attendanceType - Type of attendance code.attendanceStatus - Excused status of the attendance code.| 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 this AttendanceCodeInfo entity."
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 this AttendanceCodeInfo entity."
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 attendance code is used."
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 attendance code is used."
value - A String objectpublic java.lang.String getAttendanceCode()
<AttendanceCode> element.
The SIF specification defines the meaning of this element as: "Locally defined code for attendance."
AttendanceCode element of this object.public void setAttendanceCode(java.lang.String value)
<AttendanceCode> element.
The SIF specification defines the meaning of this element as: "Locally defined code for attendance."
value - A String objectpublic java.lang.String getAttendanceType()
<AttendanceType> element.
The SIF specification defines the meaning of this element as: "Type of attendance code."
AttendanceType element of this object.public void setAttendanceType(AttendanceType value)
<AttendanceType> element.
The SIF specification defines the meaning of this element as: "Type of attendance code."
value - A constant defined by the AttendanceType classpublic void setAttendanceType(java.lang.String value)
<AttendanceType> element as a String.
The SIF specification defines the meaning of this element as: "Type of attendance code."
value - The value as a Stringpublic java.lang.String getAttendanceStatus()
<AttendanceStatus> element.
The SIF specification defines the meaning of this element as: "Excused status of the attendance code."
AttendanceStatus element of this object.public void setAttendanceStatus(AttendanceStatus value)
<AttendanceStatus> element.
The SIF specification defines the meaning of this element as: "Excused status of the attendance code."
value - A constant defined by the AttendanceStatus classpublic void setAttendanceStatus(java.lang.String value)
<AttendanceStatus> element as a String.
The SIF specification defines the meaning of this element as: "Excused status of the attendance code."
value - The value as a Stringpublic java.lang.String getDescription()
<Description> element.
The SIF specification defines the meaning of this element as: "The text description of the attendance code."
Description element of this object.public void setDescription(java.lang.String value)
<Description> element.
The SIF specification defines the meaning of this element as: "The text description of the attendance code."
value - A String objectpublic java.math.BigDecimal getAbsenceValue()
<AbsenceValue> element.
The SIF specification defines the meaning of this element as: "The amoung of absense represented by AttendanceCode, up to trhee decimal places"
AbsenceValue element of this object.public void setAbsenceValue(java.math.BigDecimal value)
<AbsenceValue> element.
The SIF specification defines the meaning of this element as: "The amoung of absense represented by AttendanceCode, up to trhee decimal places"
value - A BigDecimal objectpublic java.math.BigDecimal getAttendanceValue()
<AttendanceValue> element.
The SIF specification defines the meaning of this element as: "Portion of the attendance relative to the time span being reported (e.g., day, period, section), up to three decimal places. This element has been removed in SIF 2.0"
AttendanceValue element of this object.public void setAttendanceValue(java.math.BigDecimal value)
<AttendanceValue> element.
The SIF specification defines the meaning of this element as: "Portion of the attendance relative to the time span being reported (e.g., day, period, section), up to three decimal places. This element has been removed in SIF 2.0"
value - A BigDecimal objectpublic java.lang.String getUsedForDailyAttendance()
<UsedForDailyAttendance> element.
The SIF specification defines the meaning of this element as: "Is this attendance code used for daily attendance?"
UsedForDailyAttendance element of this object.public void setUsedForDailyAttendance(YesNo value)
<UsedForDailyAttendance> element.
The SIF specification defines the meaning of this element as: "Is this attendance code used for daily attendance?"
value - A constant defined by the YesNo classpublic void setUsedForDailyAttendance(java.lang.String value)
<UsedForDailyAttendance> element as a String.
The SIF specification defines the meaning of this element as: "Is this attendance code used for daily attendance?"
value - The value as a Stringpublic java.lang.String getUsedForPeriodAttendance()
<UsedForPeriodAttendance> element.
The SIF specification defines the meaning of this element as: "Is this attendance code used for period attendance?"
UsedForPeriodAttendance element of this object.public void setUsedForPeriodAttendance(YesNo value)
<UsedForPeriodAttendance> element.
The SIF specification defines the meaning of this element as: "Is this attendance code used for period attendance?"
value - A constant defined by the YesNo classpublic void setUsedForPeriodAttendance(java.lang.String value)
<UsedForPeriodAttendance> element as a String.
The SIF specification defines the meaning of this element as: "Is this attendance code used for period attendance?"
value - The value as a String
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||