|
||||||||||
| 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.hrfin.PurchasingItem
public class PurchasingItem
Contains information about an item being purchased
| Field Summary |
|---|
| Fields inherited from class com.edustructures.sifworks.Element |
|---|
CURRENT_SERIALIZE_VERSION |
| Constructor Summary | |
|---|---|
PurchasingItem()
Constructor |
|
PurchasingItem(java.lang.String itemDescription)
Constructor that accepts values for all mandatory fields |
|
| Method Summary | |
|---|---|
ExpenseAccounts |
getExpenseAccounts()
Gets the value of the <ExpenseAccounts> element. |
java.lang.String |
getItemDescription()
Gets the value of the <ItemDescription> element. |
java.lang.String |
getItemNumber()
Gets the value of the <ItemNumber> 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 |
getQuantity()
Gets the value of the <Quantity> element. |
java.math.BigDecimal |
getUnitCost()
Gets the value of the <UnitCost> element. |
void |
removeExpenseAccounts()
Removes the ExpenseAccounts child element previously created by calling setExpenseAccounts |
void |
setExpenseAccounts(ExpenseAccounts value)
Sets the value of the <ExpenseAccounts> element. |
void |
setItemDescription(java.lang.String value)
Sets the value of the <ItemDescription> element. |
void |
setItemNumber(java.lang.String value)
Sets the value of the <ItemNumber> element. |
void |
setQuantity(java.lang.String value)
Sets the value of the <Quantity> element. |
void |
setUnitCost(java.math.BigDecimal value)
Sets the value of the <UnitCost> element. |
| 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 PurchasingItem()
public PurchasingItem(java.lang.String itemDescription)
itemDescription - Description of the item.| Method Detail |
|---|
public java.lang.String getKey()
getKey in class SIFElementpublic ElementDef[] getKeyFields()
public java.lang.String getItemNumber()
<ItemNumber> element.
The SIF specification defines the meaning of this element as: "Vendor item number."
ItemNumber element of this object.public void setItemNumber(java.lang.String value)
<ItemNumber> element.
The SIF specification defines the meaning of this element as: "Vendor item number."
value - A String objectpublic java.lang.String getItemDescription()
<ItemDescription> element.
The SIF specification defines the meaning of this element as: "Description of the item."
ItemDescription element of this object.public void setItemDescription(java.lang.String value)
<ItemDescription> element.
The SIF specification defines the meaning of this element as: "Description of the item."
value - A String objectpublic java.lang.String getQuantity()
<Quantity> element.
The SIF specification defines the meaning of this element as: "Quantity ordered."
Quantity element of this object.public void setQuantity(java.lang.String value)
<Quantity> element.
The SIF specification defines the meaning of this element as: "Quantity ordered."
value - A String objectpublic java.math.BigDecimal getUnitCost()
<UnitCost> element.
The SIF specification defines the meaning of this element as: "Unit cost of the item."
UnitCost element of this object.public void setUnitCost(java.math.BigDecimal value)
<UnitCost> element.
The SIF specification defines the meaning of this element as: "Unit cost of the item."
value - A BigDecimal objectpublic void setExpenseAccounts(ExpenseAccounts value)
<ExpenseAccounts> element.
The SIF specification defines the meaning of this element as: "Account that is to be charged for the item."
value - A ExpenseAccounts objectpublic ExpenseAccounts getExpenseAccounts()
<ExpenseAccounts> element.
The SIF specification defines the meaning of this element as: "Account that is to be charged for the item."
ExpenseAccounts objectpublic void removeExpenseAccounts()
ExpenseAccounts child element previously created by calling setExpenseAccounts
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||