|
||||||||||
| 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.SIFKeyedElement
com.edustructures.sifworks.food.Rate
public class Rate
Reimbursement Rate of the meal
| Field Summary |
|---|
| Fields inherited from class com.edustructures.sifworks.Element |
|---|
CURRENT_SERIALIZE_VERSION |
| Constructor Summary | |
|---|---|
Rate()
Constructor |
|
Rate(YesNoNA severeNeed,
java.lang.String value,
MealStatus mealStatus)
Constructor that accepts values for all mandatory fields |
|
| Method Summary | |
|---|---|
java.lang.String |
getKey()
Gets the key of this object |
ElementDef[] |
getKeyFields()
Gets the metadata fields that make up the key of this object |
MealStatus |
getMealStatus()
Gets the value of the <MealStatus> element. |
java.lang.String |
getSevereNeed()
Gets the value of the SevereNeed attribute. |
java.lang.String |
getValue()
Gets the value of the Value attribute. |
void |
removeMealStatus()
Removes the MealStatus child element previously created by calling setMealStatus |
void |
setMealStatus(FreeReducedStatus type)
Sets the value of the <MealStatus> child element. |
void |
setMealStatus(MealStatus value)
Sets the value of the <MealStatus> element. |
void |
setSevereNeed(java.lang.String value)
Sets the value of the SevereNeed attribute as a String. |
void |
setSevereNeed(YesNoNA value)
Sets the value of the SevereNeed attribute. |
void |
setValue(java.lang.String value)
Sets the value of the Value attribute. |
| 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 Rate()
public Rate(YesNoNA severeNeed,
java.lang.String value,
MealStatus mealStatus)
severeNeed - Severe need identifier for the rate. When SevereNeed is Yes then the rate shown is the combined rate.
For certain programs the severe need identifier does not apply. In such cases the value NA should
be used.value - The rate valuemealStatus - This gives information about a student's meal status.| Method Detail |
|---|
public java.lang.String getKey()
getKey in class SIFElementpublic ElementDef[] getKeyFields()
public java.lang.String getSevereNeed()
SevereNeed attribute.
The SIF specification defines the meaning of this attribute as: " Severe need identifier for the rate. When SevereNeed is Yes then the rate shown is the combined rate. For certain programs the severe need identifier does not apply. In such cases the value NA should be used. "
SevereNeed attribute of this object.public void setSevereNeed(YesNoNA value)
SevereNeed attribute.
The SIF specification defines the meaning of this attribute as: " Severe need identifier for the rate. When SevereNeed is Yes then the rate shown is the combined rate. For certain programs the severe need identifier does not apply. In such cases the value NA should be used. "
value - A constant defined by the YesNoNA classpublic void setSevereNeed(java.lang.String value)
SevereNeed attribute as a String.
The SIF specification defines the meaning of this attribute as: " Severe need identifier for the rate. When SevereNeed is Yes then the rate shown is the combined rate. For certain programs the severe need identifier does not apply. In such cases the value NA should be used. "
value - The value as a Stringpublic java.lang.String getValue()
Value attribute.
The SIF specification defines the meaning of this attribute as: "The rate value"
Value attribute of this object.public void setValue(java.lang.String value)
Value attribute.
The SIF specification defines the meaning of this attribute as: "The rate value"
value - A String objectpublic void setMealStatus(MealStatus value)
<MealStatus> element.
The SIF specification defines the meaning of this element as: "This gives 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: "This gives information about a student's meal status."
MealStatus objectpublic void removeMealStatus()
MealStatus child element previously created by calling setMealStatus
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||