public class Quotation extends BusinessObject
BusinessObject.EnumResult, BusinessObject.EnumUpdateMethod
Modifier and Type | Field and Description |
---|---|
static String |
ATTR_ESTIMATE |
static String |
ATTR_REORDERID |
static String |
ATTR_REPLACEID
Deprecated.
|
ATTR_BUSINESSID, ATTR_BUSINESSREFID, ATTR_CURRENCY, ATTR_EXPIRES
ATTR_JOBIDREF, log, theElement
Constructor and Description |
---|
Quotation(org.cip4.jdflib.core.KElement theElement) |
Modifier and Type | Method and Description |
---|---|
Quote |
appendQuote()
create quote element
|
void |
cleanUp()
generic cleanup routine
|
MasterContract |
getCreateMasterContract(String contractID)
get or create MasterContract element
|
Quote |
getCreateQuote(int n)
get or create quote element
|
String |
getCurrency()
get currency value
|
boolean |
getEstimate()
get estimate value
|
org.cip4.jdflib.util.JDFDate |
getExpires()
get expires value
|
MasterContract |
getMasterContract()
get the existing MasterContract element
|
Quote |
getQuote()
get quote element
|
Quote |
getQuote(int n)
get quote element
|
Vector<Quote> |
getQuotes()
get quote element
|
String |
getReorderID()
get ReorderID value
|
String |
getReplaceID()
Deprecated.
|
void |
setCurrency(String currency)
set currency value
|
void |
setEstimate(boolean b)
set estimate value
|
void |
setExpires(org.cip4.jdflib.util.JDFDate expires)
set expires value
|
void |
setExpiresDays(int days)
set the expires dates
|
void |
setReorderID(String s)
set ReorderID value
|
void |
setReplaceID(String s)
Deprecated.
|
getBusinessID, getBusinessRefID, getCreateJDFRoot, getCustomerProjectID, getDescriptiveName, getRequest, init, setBusinessID, setBusinessRefID, setCustomerProjectID, setDescriptiveName, setRef
appendElement, appendXJDFElement, 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_ESTIMATE
public static final String ATTR_REORDERID
@Deprecated public static final String ATTR_REPLACEID
public Quotation(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 boolean getEstimate()
public void setEstimate(boolean b)
b
- public org.cip4.jdflib.util.JDFDate getExpires()
public void setExpires(org.cip4.jdflib.util.JDFDate expires)
expires
- public String getReorderID()
public void setReorderID(String s)
s
- public void setExpiresDays(int days)
i
- @Deprecated public String getReplaceID()
@Deprecated public void setReplaceID(String s)
s
- public Quote appendQuote()
public Quote getCreateQuote(int n)
n
- index of the quotepublic Quote getQuote()
public Quote getQuote(int n)
public void cleanUp()
AbstractPrintTalk
cleanUp
in class AbstractPrintTalk
AbstractPrintTalk.cleanUp()
Copyright © 2019. All rights reserved.