public class Pricing extends AbstractPrintTalk
Modifier and Type | Field and Description |
---|---|
static String |
ELEMENT_PRICING |
ATTR_JOBIDREF, log, theElement
Constructor and Description |
---|
Pricing(org.cip4.jdflib.core.KElement theElement) |
Modifier and Type | Method and Description |
---|---|
Price |
addPrice(String description,
double totalprice)
add a price element
|
Payment |
getCreatePayment()
create payment element
|
Price |
getPrice(String lineID)
get a price element by LineID
|
Price |
getPriceByDescription(String desc)
get a price element by DescriptiveName
|
Vector<Price> |
getPriceVector()
get a vector of all child Price elements
|
appendElement, equals, getAttribute, getAttribute, getAttributeMap, getBoolAttribute, getComment, getCreateElement, getCreateElement, getCreateXPathElement, getDescriptiveName, getElement, getElement, getElements, getPrintTalk, getRealAttribute, getRoot, getTElem, getXPathAttribute, getXPathElement, hashCode, init, numElements, setAttribute, setAttribute, setAttribute, setAttribute, setComment, setDescriptiveName, setRoot, setTElem, setXPathAttribute, setXPathValue, toString
public static String ELEMENT_PRICING
public Pricing(org.cip4.jdflib.core.KElement theElement)
theElement
- public Payment getCreatePayment()
public Price addPrice(String description, double totalprice)
description
- totalprice
- public Price getPrice(String lineID)
lineID
- public Price getPriceByDescription(String desc)
desc
- Copyright © 2015. All rights reserved.