Class PositionValue
java.lang.Object
ru.bitel.bgbilling.modules.bill.server.bean.PositionValue
- Direct Known Subclasses:
ExtractorPositionValue
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionint
getCid()
Deprecated.int
getCost()
getName()
getNds()
int
int
int
getSum()
getUnit()
boolean
boolean
isInSumm()
void
setAddWhenLessZero
(boolean awlz) void
setCid
(int cid) Deprecated.void
setContractId
(int contractId) void
setCost
(BigDecimal cost) void
setExtractPositions
(List<PositionValue> extractPositions) void
setInSumm
(boolean inSumm) void
void
setNds
(BigDecimal nds) void
void
setPosition
(Position position) void
setPositionId
(int positionId) void
setQtyNumsAfterComma
(int qtyNumsAfterComma) void
setQtyNumsRoundingMode
(int qtyNumsRoundingMode) void
setQuantity
(BigDecimal val) void
setSum
(BigDecimal sum) void
setSumScaled
(BigDecimal sumRounded) void
setSumUnscaled
(BigDecimal sumUnscaled) void
void
setUnitCode
(String unitCode) void
void
-
Constructor Details
-
PositionValue
public PositionValue()
-
-
Method Details
-
isAddWhenLessZero
public boolean isAddWhenLessZero() -
setAddWhenLessZero
public void setAddWhenLessZero(boolean awlz) -
getPosition
-
setPosition
-
getExtractPositions
-
setExtractPositions
-
getQuantity
-
setQuantity
-
getUnit
-
setUnit
-
getUnitCode
-
setUnitCode
-
getName
-
setName
-
getCost
-
setCost
-
getSum
-
setSum
-
getNds
-
setNds
-
getPositionId
public int getPositionId() -
setPositionId
public void setPositionId(int positionId) -
getCid
Deprecated. -
getContractId
public int getContractId() -
setCid
Deprecated. -
setContractId
public void setContractId(int contractId) -
toElement
-
toElement
- Throws:
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
-
setParams
-
getSumUnscaled
-
setSumUnscaled
-
getSumScaled
-
setSumScaled
-
toDocumentPosition
-