public class StockLevel extends AbstractPrintTalk implements org.cip4.jdflib.ifaces.IMatches
Modifier and Type | Field and Description |
---|---|
static String |
ATTR_LOT |
static String |
ATTR_PRODUCTIONDURATION |
static String |
ELEMENT_STOCKLEVEL |
ATTR_JOBIDREF, log, theElement
Constructor and Description |
---|
StockLevel(org.cip4.jdflib.core.KElement theElement) |
Modifier and Type | Method and Description |
---|---|
org.cip4.jdflib.resource.JDFLocation |
appendLocation() |
int |
getAmount() |
StockLevelRequest.EnumAvailability |
getAvailability()
get availability value
|
Price |
getCreatePrice() |
String |
getExternalID() |
org.cip4.jdflib.resource.JDFLocation |
getLocation() |
String |
getLot() |
Price |
getPrice() |
String |
getProductID()
Deprecated.
use getExternalID
|
org.cip4.jdflib.util.JDFDuration |
getProductionDuration() |
boolean |
matches(Object stockLevelRequest) |
void |
setAmount(int amount) |
void |
setAvailability(StockLevelRequest.EnumAvailability availability)
set availability value
|
void |
setExternalID(String productID) |
void |
setLot(String lot) |
void |
setProductID(String productID)
Deprecated.
use setExteralID
|
void |
setProductionDuration(org.cip4.jdflib.util.JDFDuration dur) |
appendElement, appendXJDFElement, cleanUp, equals, getAttribute, getAttribute, getAttributeMap, getBoolAttribute, getComment, getCreateElement, getCreateElement, getCreateXJDFElement, getCreateXPathElement, getDescriptiveName, getElement, getElement, getElements, getLocalName, getNodeName, getPrintTalk, getRealAttribute, getRoot, getTElem, getXJDFElement, getXPathAttribute, getXPathElement, hashCode, init, numElements, setAttribute, setAttribute, setAttribute, setAttribute, setComment, setDescriptiveName, setRoot, setTElem, setVAttribute, setXPathAttribute, setXPathValue, toString, toXML
public static final String ELEMENT_STOCKLEVEL
public static final String ATTR_PRODUCTIONDURATION
public static final String ATTR_LOT
public StockLevel(org.cip4.jdflib.core.KElement theElement)
theElement
- public boolean matches(Object stockLevelRequest)
matches
in interface org.cip4.jdflib.ifaces.IMatches
IMatches.matches(java.lang.Object)
@Deprecated public void setProductID(String productID)
productID
- public void setExternalID(String productID)
productID
- public String getExternalID()
@Deprecated public String getProductID()
public String getLot()
public void setLot(String lot)
lot
- public int getAmount()
public void setAmount(int amount)
amount
- public org.cip4.jdflib.util.JDFDuration getProductionDuration()
public void setProductionDuration(org.cip4.jdflib.util.JDFDuration dur)
dur
- public Price getPrice()
public org.cip4.jdflib.resource.JDFLocation getLocation()
public org.cip4.jdflib.resource.JDFLocation appendLocation()
public Price getCreatePrice()
public StockLevelRequest.EnumAvailability getAvailability()
public void setAvailability(StockLevelRequest.EnumAvailability availability)
availability
- Copyright © 2019. All rights reserved.