|
||||||||||
| 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.FoodservicePurchaseTransaction
public class FoodservicePurchaseTransaction
| Field Summary |
|---|
| Fields inherited from class com.edustructures.sifworks.Element |
|---|
CURRENT_SERIALIZE_VERSION |
| Constructor Summary | |
|---|---|
FoodservicePurchaseTransaction()
Constructor |
|
FoodservicePurchaseTransaction(java.lang.String refId,
java.lang.String foodserviceTransactionRefId,
PurchaseQuantities purchaseQuantities)
Constructor that accepts values for all mandatory fields |
|
| Method Summary | |
|---|---|
java.lang.String |
getFoodserviceTransactionRefId()
Gets the value of the <FoodserviceTransactionRefId> 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 |
PurchaseQuantities |
getPurchaseQuantities()
Gets the value of the <PurchaseQuantities> element. |
java.lang.String |
getRefId()
Gets the value of the RefId attribute. |
void |
removePurchaseQuantities()
Removes the PurchaseQuantities child element previously created by calling setPurchaseQuantities |
void |
setFoodserviceTransactionRefId(java.lang.String value)
Sets the value of the <FoodserviceTransactionRefId> element. |
void |
setPurchaseQuantities(PurchaseQuantities value)
Sets the value of the <PurchaseQuantities> element. |
void |
setRefId(java.lang.String value)
Sets the value of the RefId attribute. |
| 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 FoodservicePurchaseTransaction()
public FoodservicePurchaseTransaction(java.lang.String refId,
java.lang.String foodserviceTransactionRefId,
PurchaseQuantities purchaseQuantities)
refId - GUID that identifies purchase transactionfoodserviceTransactionRefId - GUID that identifies food service transaction in which this purchase was madepurchaseQuantities - | 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: "GUID that identifies purchase transaction"
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: "GUID that identifies purchase transaction"
value - A String objectpublic java.lang.String getFoodserviceTransactionRefId()
<FoodserviceTransactionRefId> element.
The SIF specification defines the meaning of this element as: "GUID that identifies food service transaction in which this purchase was made"
FoodserviceTransactionRefId element of this object.public void setFoodserviceTransactionRefId(java.lang.String value)
<FoodserviceTransactionRefId> element.
The SIF specification defines the meaning of this element as: "GUID that identifies food service transaction in which this purchase was made"
value - A String objectpublic void setPurchaseQuantities(PurchaseQuantities value)
<PurchaseQuantities> element.
value - A PurchaseQuantities objectpublic PurchaseQuantities getPurchaseQuantities()
<PurchaseQuantities> element.
PurchaseQuantities objectpublic void removePurchaseQuantities()
PurchaseQuantities child element previously created by calling setPurchaseQuantities
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||