|
||||||||||
| 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.hrfin.Purchasing
public class Purchasing
This object provides information down to the line-item level for requisitions and purchase orders. SIF_Events are reported.
| Field Summary |
|---|
| Fields inherited from class com.edustructures.sifworks.Element |
|---|
CURRENT_SERIALIZE_VERSION |
| Constructor Summary | |
|---|---|
Purchasing()
Constructor |
|
Purchasing(java.lang.String refId,
FormType formType,
java.lang.String formNumber,
PurchasingItems purchasingItems)
Constructor that accepts values for all mandatory fields |
|
| Method Summary | |
|---|---|
java.lang.String |
getEmployeePersonalRefId()
Gets the value of the <EmployeePersonalRefId> element. |
java.lang.String |
getFiscalYearRefId()
Gets the value of the <FiscalYearRefId> element. |
java.lang.String |
getFormNumber()
Gets the value of the <FormNumber> element. |
java.lang.String |
getFormType()
Gets the value of the <FormType> 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 |
getLocationInfoRefId()
Gets the value of the <LocationInfoRefId> element. |
PurchasingItems |
getPurchasingItems()
Gets the value of the <PurchasingItems> element. |
java.lang.String |
getRefId()
Gets the value of the RefId attribute. |
java.lang.String |
getVendorInfoRefId()
Gets the value of the <VendorInfoRefId> element. |
void |
removePurchasingItems()
Removes the PurchasingItems child element previously created by calling setPurchasingItems |
void |
setEmployeePersonalRefId(java.lang.String value)
Sets the value of the <EmployeePersonalRefId> element. |
void |
setFiscalYearRefId(java.lang.String value)
Sets the value of the <FiscalYearRefId> element. |
void |
setFormNumber(java.lang.String value)
Sets the value of the <FormNumber> element. |
void |
setFormType(FormType value)
Sets the value of the <FormType> element. |
void |
setFormType(java.lang.String value)
Sets the value of the <FormType> element as a String. |
void |
setLocationInfoRefId(java.lang.String value)
Sets the value of the <LocationInfoRefId> element. |
void |
setPurchasingItems(PurchasingItems value)
Sets the value of the <PurchasingItems> element. |
void |
setRefId(java.lang.String value)
Sets the value of the RefId attribute. |
void |
setVendorInfoRefId(java.lang.String value)
Sets the value of the <VendorInfoRefId> element. |
| 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 Purchasing()
public Purchasing(java.lang.String refId,
FormType formType,
java.lang.String formNumber,
PurchasingItems purchasingItems)
refId - Transaction GUID for this purchasing activity. The application that owns this object and is responsible for generating this unique ID.formType - Type of purchasing document.formNumber - Requisition or PO number.purchasingItems - Contains information about the item being purchased| 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: "Transaction GUID for this purchasing activity. The application that owns this object and is responsible for generating this unique ID."
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: "Transaction GUID for this purchasing activity. The application that owns this object and is responsible for generating this unique ID."
value - A String objectpublic java.lang.String getFormType()
<FormType> element.
The SIF specification defines the meaning of this element as: "Type of purchasing document."
FormType element of this object.public void setFormType(FormType value)
<FormType> element.
The SIF specification defines the meaning of this element as: "Type of purchasing document."
value - A constant defined by the FormType classpublic void setFormType(java.lang.String value)
<FormType> element as a String.
The SIF specification defines the meaning of this element as: "Type of purchasing document."
value - The value as a Stringpublic java.lang.String getFormNumber()
<FormNumber> element.
The SIF specification defines the meaning of this element as: "Requisition or PO number."
FormNumber element of this object.public void setFormNumber(java.lang.String value)
<FormNumber> element.
The SIF specification defines the meaning of this element as: "Requisition or PO number."
value - A String objectpublic java.lang.String getFiscalYearRefId()
<FiscalYearRefId> element.
The SIF specification defines the meaning of this element as: "Reference to fiscal year for the transaction."
FiscalYearRefId element of this object.public void setFiscalYearRefId(java.lang.String value)
<FiscalYearRefId> element.
The SIF specification defines the meaning of this element as: "Reference to fiscal year for the transaction."
value - A String objectpublic java.lang.String getVendorInfoRefId()
<VendorInfoRefId> element.
The SIF specification defines the meaning of this element as: "This object references the VendorInfo object and should be considered manditory when FormType="PO""
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.5r1 | "Vendor" |
| SIF2.0 | "VendorInfoRefId" |
VendorInfoRefId element of this object.public void setVendorInfoRefId(java.lang.String value)
<VendorInfoRefId> element.
The SIF specification defines the meaning of this element as: "This object references the VendorInfo object and should be considered manditory when FormType="PO""
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.5r1 | "Vendor" |
| SIF2.0 | "VendorInfoRefId" |
value - A String objectpublic java.lang.String getLocationInfoRefId()
<LocationInfoRefId> element.
The SIF specification defines the meaning of this element as: "The building ID for this purchasing activity."
LocationInfoRefId element of this object.public void setLocationInfoRefId(java.lang.String value)
<LocationInfoRefId> element.
The SIF specification defines the meaning of this element as: "The building ID for this purchasing activity."
value - A String objectpublic java.lang.String getEmployeePersonalRefId()
<EmployeePersonalRefId> element.
The SIF specification defines the meaning of this element as: "The employee ID for the originator of this purchasing activity."
EmployeePersonalRefId element of this object.public void setEmployeePersonalRefId(java.lang.String value)
<EmployeePersonalRefId> element.
The SIF specification defines the meaning of this element as: "The employee ID for the originator of this purchasing activity."
value - A String objectpublic void setPurchasingItems(PurchasingItems value)
<PurchasingItems> element.
The SIF specification defines the meaning of this element as: "Contains information about the item being purchased"
value - A PurchasingItems objectpublic PurchasingItems getPurchasingItems()
<PurchasingItems> element.
The SIF specification defines the meaning of this element as: "Contains information about the item being purchased"
PurchasingItems objectpublic void removePurchasingItems()
PurchasingItems child element previously created by calling setPurchasingItems
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||