Class PositionValue
java.lang.Object
ru.bitel.bgbilling.modules.bill.server.bean.PositionValue
- Direct Known Subclasses:
ExtractorPositionValue
public class PositionValue
extends java.lang.Object
-
Constructor Summary
Constructors Constructor Description PositionValue()
-
Method Summary
Modifier and Type Method 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
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
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(javax.xml.stream.XMLStreamWriter el)
void
toElement(org.w3c.dom.Element el)
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
PositionValue
public PositionValue()
-
-
Method Details
-
isAddWhenLessZero
public boolean isAddWhenLessZero() -
setAddWhenLessZero
public void setAddWhenLessZero(boolean awlz) -
getPosition
-
setPosition
-
getExtractPositions
-
setExtractPositions
-
getQuantity
public java.math.BigDecimal getQuantity() -
setQuantity
public void setQuantity(java.math.BigDecimal val) -
getUnit
public java.lang.String getUnit() -
setUnit
public void setUnit(java.lang.String unit) -
getUnitCode
public java.lang.String getUnitCode() -
setUnitCode
public void setUnitCode(java.lang.String unitCode) -
getName
public java.lang.String getName() -
setName
public void setName(java.lang.String name) -
getCost
public java.math.BigDecimal getCost() -
setCost
public void setCost(java.math.BigDecimal cost) -
getSum
public java.math.BigDecimal getSum() -
setSum
public void setSum(java.math.BigDecimal sum) -
getNds
public java.math.BigDecimal getNds() -
setNds
public void setNds(java.math.BigDecimal nds) -
getPositionId
public int getPositionId() -
setPositionId
public void setPositionId(int positionId) -
getCid
@Deprecated public int getCid()Deprecated. -
getContractId
public int getContractId() -
setCid
@Deprecated public void setCid(int cid)Deprecated. -
setContractId
public void setContractId(int contractId) -
toElement
public void toElement(org.w3c.dom.Element el) -
toElement
public void toElement(javax.xml.stream.XMLStreamWriter el) throws javax.xml.stream.XMLStreamException- Throws:
javax.xml.stream.XMLStreamException
-
isInSumm
public boolean isInSumm() -
setInSumm
public void setInSumm(boolean inSumm) -
getQtyNumsAfterComma
public int getQtyNumsAfterComma() -
setQtyNumsAfterComma
public void setQtyNumsAfterComma(int qtyNumsAfterComma) -
getQtyNumsRoundingMode
public int getQtyNumsRoundingMode() -
setQtyNumsRoundingMode
public void setQtyNumsRoundingMode(int qtyNumsRoundingMode) -
getParams
public java.util.Map<java.lang.String,java.lang.String> getParams() -
setParams
public void setParams(java.util.Map<java.lang.String,java.lang.String> params) -
getSumUnscaled
public java.math.BigDecimal getSumUnscaled() -
setSumUnscaled
public void setSumUnscaled(java.math.BigDecimal sumUnscaled) -
getSumScaled
public java.math.BigDecimal getSumScaled() -
setSumScaled
public void setSumScaled(java.math.BigDecimal sumRounded) -
toDocumentPosition
-