public class PurchaseOrder extends BusinessObject
BusinessObject.EnumResult, BusinessObject.EnumUpdateMethod
Modifier and Type | Field and Description |
---|---|
static String |
ATTR_QUOTEID |
static String |
ATTR_REORDERID |
static String |
ATTR_REPLACEID
Deprecated.
|
static String |
ATTR_RETURNJDF |
ATTR_BUSINESSID, ATTR_BUSINESSREFID, ATTR_CURRENCY, ATTR_EXPIRES
ATTR_JOBIDREF, log, theElement
Constructor and Description |
---|
PurchaseOrder(org.cip4.jdflib.core.KElement theElement) |
Modifier and Type | Method and Description |
---|---|
void |
appendXJDF(org.cip4.jdflib.extensions.XJDFHelper xjdf)
append an XJDF - retain any previous occurences
|
MasterContract |
getCreateMasterContract(String contractID)
get or create MasterContract element
|
Pricing |
getCreatePricing()
get the pricing element
|
String |
getCurrency()
get the currency value
|
org.cip4.jdflib.util.JDFDate |
getExpires()
get the expires value
|
MasterContract |
getMasterContract()
get the existing MasterContract element
|
Pricing |
getPricing()
get the pricing element
|
String |
getQuoteID()
get quote id value
|
String |
getReorderID()
get reorder id value
|
String |
getReplaceID()
Deprecated.
|
boolean |
getReturnJDF()
get return jdf value
|
org.cip4.jdflib.extensions.XJDFHelper |
getXJDF(int i)
get an XJDF - delete any previous occurences
|
Vector<org.cip4.jdflib.extensions.XJDFHelper> |
getXJDFs()
get list of XJDFs
|
void |
setCurrency(String currency)
set the currency value
|
void |
setExpires(org.cip4.jdflib.util.JDFDate expires)
set the expires value
|
void |
setExpiresDays(int days)
set the expires dates
|
void |
setQuoteID(String s)
set quote id value
|
void |
setReorderID(String s)
set reorder id value
|
void |
setReplaceID(String s)
Deprecated.
|
void |
setReturnJDF(boolean b)
set return jdf value
|
void |
setXJDF(org.cip4.jdflib.extensions.XJDFHelper xjdf)
set an XJDF - delete any previous occurences
|
getBusinessID, getBusinessRefID, getCreateJDFRoot, getCustomerProjectID, getDescriptiveName, getRequest, init, setBusinessID, setBusinessRefID, setCustomerProjectID, setDescriptiveName, setRef
appendElement, appendXJDFElement, cleanUp, equals, getAttribute, getAttribute, getAttributeMap, getBoolAttribute, getComment, getCreateElement, getCreateElement, getCreateXJDFElement, getCreateXPathElement, getElement, getElement, getElements, getLocalName, getNodeName, getPrintTalk, getRealAttribute, getRoot, getTElem, getXJDFElement, getXPathAttribute, getXPathElement, hashCode, numElements, setAttribute, setAttribute, setAttribute, setAttribute, setComment, setRoot, setTElem, setVAttribute, setXPathAttribute, setXPathValue, toString, toXML
public static final String ATTR_QUOTEID
public static final String ATTR_REORDERID
@Deprecated public static final String ATTR_REPLACEID
public static final String ATTR_RETURNJDF
public PurchaseOrder(org.cip4.jdflib.core.KElement theElement)
theElement
- public MasterContract getCreateMasterContract(String contractID)
contractID
- the new contractIDpublic MasterContract getMasterContract()
public String getCurrency()
public void setCurrency(String currency)
currency
- public org.cip4.jdflib.util.JDFDate getExpires()
public void setExpires(org.cip4.jdflib.util.JDFDate expires)
expires
- public void setExpiresDays(int days)
i
- public String getQuoteID()
public void setQuoteID(String s)
s
- public String getReorderID()
public void setReorderID(String s)
s
- @Deprecated public String getReplaceID()
@Deprecated public void setReplaceID(String s)
s
- public boolean getReturnJDF()
public void setReturnJDF(boolean b)
b
- public Pricing getCreatePricing()
public Pricing getPricing()
public void setXJDF(org.cip4.jdflib.extensions.XJDFHelper xjdf)
AbstractPrintTalk
xjdf
- the xjdf to setAbstractPrintTalk.setXJDF(org.cip4.jdflib.extensions.XJDFHelper)
public org.cip4.jdflib.extensions.XJDFHelper getXJDF(int i)
AbstractPrintTalk
i
- the indexAbstractPrintTalk.getXJDF(int)
public void appendXJDF(org.cip4.jdflib.extensions.XJDFHelper xjdf)
AbstractPrintTalk
xjdf
- the xjdf to setAbstractPrintTalk.appendXJDF(org.cip4.jdflib.extensions.XJDFHelper)
public Vector<org.cip4.jdflib.extensions.XJDFHelper> getXJDFs()
AbstractPrintTalk
AbstractPrintTalk.getXJDFs()
Copyright © 2019. All rights reserved.