|
||||||||||
| 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.food.StudentMeal
public class StudentMeal
This object contains information about the meal status of a student.
| Field Summary |
|---|
| Fields inherited from class com.edustructures.sifworks.Element |
|---|
CURRENT_SERIALIZE_VERSION |
| Constructor Summary | |
|---|---|
StudentMeal()
Constructor |
|
StudentMeal(java.lang.String studentPersonalRefId)
Constructor that accepts values for all mandatory fields |
|
| Method Summary | |
|---|---|
FSAmounts |
getAmounts()
Gets the value of the <Amounts> element. |
java.lang.String |
getBrkCredits()
Gets the value of the <BrkCredits> element. |
java.lang.String |
getCash()
Gets the value of the <Cash> element. |
HistoricalMealStatus |
getHistoricalMealStatus()
Gets the value of the <HistoricalMealStatus> 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.util.Calendar |
getLastBreakfastDate()
Gets the value of the <LastBreakfastDate> element. |
java.util.Calendar |
getLastBrkDate()
Gets the value of the <LastBrkDate> element. |
java.util.Calendar |
getLastLunchDate()
Gets the value of the <LastLunchDate> element. |
java.util.Calendar |
getLastLunDate()
Gets the value of the <LastLunDate> element. |
java.lang.String |
getLunCredits()
Gets the value of the <LunCredits> element. |
MealStatus |
getMealStatus()
Gets the value of the <MealStatus> element. |
java.lang.Integer |
getSchoolYear()
Gets the value of the <SchoolYear> element. |
java.lang.String |
getStudentPersonalRefId()
Gets the value of the StudentPersonalRefId attribute. |
void |
removeAmounts()
Removes the Amounts child element previously created by calling setAmounts |
void |
removeHistoricalMealStatus()
Removes the HistoricalMealStatus child element previously created by calling setHistoricalMealStatus |
void |
removeMealStatus()
Removes the MealStatus child element previously created by calling setMealStatus |
void |
setAmounts(FSAmounts value)
Sets the value of the <Amounts> element. |
void |
setBrkCredits(java.lang.String value)
Sets the value of the <BrkCredits> element. |
void |
setCash(java.lang.String value)
Sets the value of the <Cash> element. |
void |
setHistoricalMealStatus(HistoricalMealStatus value)
Sets the value of the <HistoricalMealStatus> element. |
void |
setLastBreakfastDate(java.util.Calendar value)
Sets the value of the <LastBreakfastDate> element. |
void |
setLastBrkDate(java.util.Calendar value)
Sets the value of the <LastBrkDate> element. |
void |
setLastLunchDate(java.util.Calendar value)
Sets the value of the <LastLunchDate> element. |
void |
setLastLunDate(java.util.Calendar value)
Sets the value of the <LastLunDate> element. |
void |
setLunCredits(java.lang.String value)
Sets the value of the <LunCredits> element. |
void |
setMealStatus(FreeReducedStatus type)
Sets the value of the <MealStatus> child element. |
void |
setMealStatus(MealStatus value)
Sets the value of the <MealStatus> element. |
void |
setSchoolYear(java.lang.Integer value)
Sets the value of the <SchoolYear> element. |
void |
setStudentPersonalRefId(java.lang.String value)
Sets the value of the StudentPersonalRefId attribute. |
| 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 StudentMeal()
public StudentMeal(java.lang.String studentPersonalRefId)
studentPersonalRefId - The GUID of the student to whom this object is linked.| Method Detail |
|---|
public java.lang.String getKey()
getKey in class SIFElementpublic ElementDef[] getKeyFields()
public java.lang.String getStudentPersonalRefId()
StudentPersonalRefId attribute.
The SIF specification defines the meaning of this attribute as: "The GUID of the student to whom this object is linked."
StudentPersonalRefId attribute of this object.public void setStudentPersonalRefId(java.lang.String value)
StudentPersonalRefId attribute.
The SIF specification defines the meaning of this attribute as: "The GUID of the student to whom this object is linked."
value - A String objectpublic void setMealStatus(MealStatus value)
<MealStatus> element.
The SIF specification defines the meaning of this element as: "Information about a student's meal status"
value - A MealStatus objectpublic void setMealStatus(FreeReducedStatus type)
<MealStatus> child element.
This form of setMealStatus is provided as a convenience method
that is functionally equivalent to the version of setMealStatus
that accepts a single MealStatus object.
type - Meal status type.public MealStatus getMealStatus()
<MealStatus> element.
The SIF specification defines the meaning of this element as: "Information about a student's meal status"
MealStatus objectpublic void removeMealStatus()
MealStatus child element previously created by calling setMealStatus
public java.lang.Integer getSchoolYear()
<SchoolYear> element.
The SIF specification defines the meaning of this element as: "School year for which the information is applicable, expressed as the four-digit year in which the school year ends (e.g., "2004" for the 2003-04 school year)."
SchoolYear element of this object.public void setSchoolYear(java.lang.Integer value)
<SchoolYear> element.
The SIF specification defines the meaning of this element as: "School year for which the information is applicable, expressed as the four-digit year in which the school year ends (e.g., "2004" for the 2003-04 school year)."
value - A Integer objectpublic void setHistoricalMealStatus(HistoricalMealStatus value)
<HistoricalMealStatus> element.
The SIF specification defines the meaning of this element as: "Optionally provides the meal status of the student historically."
value - A HistoricalMealStatus objectpublic HistoricalMealStatus getHistoricalMealStatus()
<HistoricalMealStatus> element.
The SIF specification defines the meaning of this element as: "Optionally provides the meal status of the student historically."
HistoricalMealStatus objectpublic void removeHistoricalMealStatus()
HistoricalMealStatus child element previously created by calling setHistoricalMealStatus
public java.util.Calendar getLastBreakfastDate()
<LastBreakfastDate> element.
The SIF specification defines the meaning of this element as: "Date of the last reimbursable breakfast served."
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.1 | "LastBrkDate" |
| SIF2.0 | "LastBreakfastDate" |
| SIF1.5r1 | "LastBreakfastDate" |
LastBreakfastDate element of this object.public void setLastBreakfastDate(java.util.Calendar value)
<LastBreakfastDate> element.
The SIF specification defines the meaning of this element as: "Date of the last reimbursable breakfast served."
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.1 | "LastBrkDate" |
| SIF2.0 | "LastBreakfastDate" |
| SIF1.5r1 | "LastBreakfastDate" |
value - A Calendar objectpublic java.util.Calendar getLastLunchDate()
<LastLunchDate> element.
The SIF specification defines the meaning of this element as: "Date of the last reimbursable lunch served."
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.1 | "LastLunDate" |
| SIF2.0 | "LastLunchDate" |
| SIF1.5r1 | "LastLunchDate" |
LastLunchDate element of this object.public void setLastLunchDate(java.util.Calendar value)
<LastLunchDate> element.
The SIF specification defines the meaning of this element as: "Date of the last reimbursable lunch served."
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.1 | "LastLunDate" |
| SIF2.0 | "LastLunchDate" |
| SIF1.5r1 | "LastLunchDate" |
value - A Calendar objectpublic java.util.Calendar getLastBrkDate()
<LastBrkDate> element.
The SIF specification defines the meaning of this element as: "Date the student last had breakfast (deprecated)"
LastBrkDate element of this object.public void setLastBrkDate(java.util.Calendar value)
<LastBrkDate> element.
The SIF specification defines the meaning of this element as: "Date the student last had breakfast (deprecated)"
value - A Calendar objectpublic java.lang.String getCash()
<Cash> element.
The SIF specification defines the meaning of this element as: "The student's cash balance (deprecated)"
Cash element of this object.public void setCash(java.lang.String value)
<Cash> element.
The SIF specification defines the meaning of this element as: "The student's cash balance (deprecated)"
value - A String objectpublic java.util.Calendar getLastLunDate()
<LastLunDate> element.
The SIF specification defines the meaning of this element as: "Date the student last had lunch (deprecated)"
LastLunDate element of this object.public void setLastLunDate(java.util.Calendar value)
<LastLunDate> element.
The SIF specification defines the meaning of this element as: "Date the student last had lunch (deprecated)"
value - A Calendar objectpublic java.lang.String getBrkCredits()
<BrkCredits> element.
The SIF specification defines the meaning of this element as: "Number of breakfast credits remaining (deprecated)"
BrkCredits element of this object.public void setBrkCredits(java.lang.String value)
<BrkCredits> element.
The SIF specification defines the meaning of this element as: "Number of breakfast credits remaining (deprecated)"
value - A String objectpublic java.lang.String getLunCredits()
<LunCredits> element.
The SIF specification defines the meaning of this element as: "Number of lunch credits remaining (deprecated)"
LunCredits element of this object.public void setLunCredits(java.lang.String value)
<LunCredits> element.
The SIF specification defines the meaning of this element as: "Number of lunch credits remaining (deprecated)"
value - A String objectpublic void setAmounts(FSAmounts value)
<Amounts> element.
The SIF specification defines the meaning of this element as: "Amount."
value - A FSAmounts objectpublic FSAmounts getAmounts()
<Amounts> element.
The SIF specification defines the meaning of this element as: "Amount."
FSAmounts objectpublic void removeAmounts()
Amounts child element previously created by calling setAmounts
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||