|
||||||||||
| 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.food.Customer
public class Customer
| Field Summary |
|---|
| Fields inherited from class com.edustructures.sifworks.Element |
|---|
CURRENT_SERIALIZE_VERSION |
| Constructor Summary | |
|---|---|
Customer()
Constructor |
|
Customer(java.lang.String sifRefId,
CustomerObjectName sifRefObject)
Constructor that accepts values for all mandatory fields |
|
| Method Summary | |
|---|---|
EarnedStatus |
getEarnedStatus()
Gets the value of the <EarnedStatus> 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 |
MealStatus |
getMealStatus()
Gets the value of the <MealStatus> element. |
java.lang.String |
getSIF_RefId()
Gets the value of the SIF_RefId attribute. |
java.lang.String |
getSIF_RefObject()
Gets the value of the SIF_RefObject attribute. |
void |
removeEarnedStatus()
Removes the EarnedStatus child element previously created by calling setEarnedStatus |
void |
removeMealStatus()
Removes the MealStatus child element previously created by calling setMealStatus |
void |
setEarnedStatus(EarnedStatus value)
Sets the value of the <EarnedStatus> element. |
void |
setEarnedStatus(YesNoNA type)
Sets the value of the <EarnedStatus> child 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 |
setSIF_RefId(java.lang.String value)
Sets the value of the SIF_RefId attribute. |
void |
setSIF_RefObject(CustomerObjectName value)
Sets the value of the SIF_RefObject attribute. |
void |
setSIF_RefObject(java.lang.String value)
Sets the value of the SIF_RefObject attribute as a String. |
| 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 Customer()
public Customer(java.lang.String sifRefId,
CustomerObjectName sifRefObject)
sifRefId - GUID of the SIF customer type.sifRefObject - SIF customer type. If the type is StaffPersonalRefId then EarnedStatus is included. If the type is StudentPersonalRefId, then MealStatus in included.| Method Detail |
|---|
public java.lang.String getKey()
getKey in class SIFElementpublic ElementDef[] getKeyFields()
public java.lang.String getSIF_RefId()
SIF_RefId attribute.
The SIF specification defines the meaning of this attribute as: "GUID of the SIF customer type."
This attribute 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 attributes of this kind.
| Version | Tag |
| 1.5r1 | "Value" |
| SIF2.0 | "SIF_RefId" |
SIF_RefId attribute of this object.public void setSIF_RefId(java.lang.String value)
SIF_RefId attribute.
The SIF specification defines the meaning of this attribute as: "GUID of the SIF customer type."
This attribute 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 attributes of this kind.
| Version | Tag |
| 1.5r1 | "Value" |
| SIF2.0 | "SIF_RefId" |
value - A String objectpublic java.lang.String getSIF_RefObject()
SIF_RefObject attribute.
The SIF specification defines the meaning of this attribute as: "SIF customer type. If the type is StaffPersonalRefId then EarnedStatus is included. If the type is StudentPersonalRefId, then MealStatus in included."
This attribute 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 attributes of this kind.
| Version | Tag |
| 1.5r1 | "Type" |
| SIF2.0 | "SIF_RefObject" |
SIF_RefObject attribute of this object.public void setSIF_RefObject(CustomerObjectName value)
SIF_RefObject attribute.
The SIF specification defines the meaning of this attribute as: "SIF customer type. If the type is StaffPersonalRefId then EarnedStatus is included. If the type is StudentPersonalRefId, then MealStatus in included."
This attribute 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 attributes of this kind.
| Version | Tag |
| 1.5r1 | "Type" |
| SIF2.0 | "SIF_RefObject" |
value - A constant defined by the CustomerObjectName classpublic void setSIF_RefObject(java.lang.String value)
SIF_RefObject attribute as a String.
The SIF specification defines the meaning of this attribute as: "SIF customer type. If the type is StaffPersonalRefId then EarnedStatus is included. If the type is StudentPersonalRefId, then MealStatus in included."
This attribute 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 attributes of this kind.
| Version | Tag |
| 1.5r1 | "Type" |
| SIF2.0 | "SIF_RefObject" |
value - The value as a Stringpublic void setMealStatus(MealStatus value)
<MealStatus> element.
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.
MealStatus objectpublic void removeMealStatus()
MealStatus child element previously created by calling setMealStatus
public void setEarnedStatus(EarnedStatus value)
<EarnedStatus> element.
value - A EarnedStatus objectpublic void setEarnedStatus(YesNoNA type)
<EarnedStatus> child element.
This form of setEarnedStatus is provided as a convenience method
that is functionally equivalent to the version of setEarnedStatus
that accepts a single EarnedStatus object.
type - Earned status type.public EarnedStatus getEarnedStatus()
<EarnedStatus> element.
EarnedStatus objectpublic void removeEarnedStatus()
EarnedStatus child element previously created by calling setEarnedStatus
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||