public class PositionValue
extends java.lang.Object
Constructor and Description |
---|
PositionValue() |
Modifier and Type | Method and Description |
---|---|
int |
getCid()
Deprecated.
|
int |
getContractId() |
java.math.BigDecimal |
getCost() |
java.util.List<PositionValue> |
getExtractPositions() |
java.lang.String |
getName() |
java.math.BigDecimal |
getNds() |
java.util.Map<java.lang.String,java.lang.String> |
getParams() |
Position |
getPosition() |
int |
getPositionId() |
int |
getQtyNumsAfterComma() |
int |
getQtyNumsRoundingMode() |
java.math.BigDecimal |
getQuantity() |
java.math.BigDecimal |
getSum() |
java.math.BigDecimal |
getSumma()
Deprecated.
|
java.math.BigDecimal |
getSumScaled() |
java.math.BigDecimal |
getSumUnscaled() |
java.lang.String |
getUnit() |
java.lang.String |
getUnitCode() |
boolean |
isAddWhenLessZero() |
boolean |
isInSumm() |
void |
setAddWhenLessZero(boolean awlz) |
void |
setCid(int cid)
Deprecated.
|
void |
setContractId(int contractId) |
void |
setCost(java.math.BigDecimal cost) |
void |
setExtractPositions(java.util.List<PositionValue> extractPositions) |
void |
setInSumm(boolean inSumm) |
void |
setName(java.lang.String name) |
void |
setNds(java.math.BigDecimal nds) |
void |
setParams(java.util.Map<java.lang.String,java.lang.String> params) |
void |
setPosition(Position position) |
void |
setPositionId(int positionId) |
void |
setQtyNumsAfterComma(int qtyNumsAfterComma) |
void |
setQtyNumsRoundingMode(int qtyNumsRoundingMode) |
void |
setQuantity(java.math.BigDecimal val) |
void |
setSum(java.math.BigDecimal sum) |
void |
setSumma(java.math.BigDecimal sum)
Deprecated.
|
void |
setSumScaled(java.math.BigDecimal sumRounded) |
void |
setSumUnscaled(java.math.BigDecimal sumUnscaled) |
void |
setUnit(java.lang.String unit) |
void |
setUnitCode(java.lang.String unitCode) |
DocumentPosition |
toDocumentPosition() |
void |
toElement(org.w3c.dom.Element el) |
void |
toElement(javax.xml.stream.XMLStreamWriter el) |
public boolean isAddWhenLessZero()
public void setAddWhenLessZero(boolean awlz)
public Position getPosition()
public void setPosition(Position position)
public java.util.List<PositionValue> getExtractPositions()
public void setExtractPositions(java.util.List<PositionValue> extractPositions)
public java.math.BigDecimal getQuantity()
public void setQuantity(java.math.BigDecimal val)
public java.lang.String getUnit()
public void setUnit(java.lang.String unit)
public java.lang.String getUnitCode()
public void setUnitCode(java.lang.String unitCode)
public java.lang.String getName()
public void setName(java.lang.String name)
public java.math.BigDecimal getCost()
public void setCost(java.math.BigDecimal cost)
@Deprecated public java.math.BigDecimal getSumma()
public java.math.BigDecimal getSum()
@Deprecated public void setSumma(java.math.BigDecimal sum)
public void setSum(java.math.BigDecimal sum)
public java.math.BigDecimal getNds()
public void setNds(java.math.BigDecimal nds)
public int getPositionId()
public void setPositionId(int positionId)
@Deprecated public int getCid()
public int getContractId()
@Deprecated public void setCid(int cid)
public void setContractId(int contractId)
public void toElement(org.w3c.dom.Element el)
public void toElement(javax.xml.stream.XMLStreamWriter el) throws javax.xml.stream.XMLStreamException
javax.xml.stream.XMLStreamException
public boolean isInSumm()
public void setInSumm(boolean inSumm)
public int getQtyNumsAfterComma()
public void setQtyNumsAfterComma(int qtyNumsAfterComma)
public int getQtyNumsRoundingMode()
public void setQtyNumsRoundingMode(int qtyNumsRoundingMode)
public java.util.Map<java.lang.String,java.lang.String> getParams()
public void setParams(java.util.Map<java.lang.String,java.lang.String> params)
public java.math.BigDecimal getSumUnscaled()
public void setSumUnscaled(java.math.BigDecimal sumUnscaled)
public java.math.BigDecimal getSumScaled()
public void setSumScaled(java.math.BigDecimal sumRounded)
public DocumentPosition toDocumentPosition()