Class PositionValue

java.lang.Object
ru.bitel.bgbilling.modules.bill.server.bean.PositionValue
Direct Known Subclasses:
ExtractorPositionValue

public class PositionValue extends Object
  • Constructor Details

    • PositionValue

      public PositionValue()
  • Method Details

    • isAddWhenLessZero

      public boolean isAddWhenLessZero()
    • setAddWhenLessZero

      public void setAddWhenLessZero(boolean awlz)
    • getPosition

      public Position getPosition()
    • setPosition

      public void setPosition(Position position)
    • getExtractPositions

      public List<PositionValue> getExtractPositions()
    • setExtractPositions

      public void setExtractPositions(List<PositionValue> extractPositions)
    • getQuantity

      public BigDecimal getQuantity()
    • setQuantity

      public void setQuantity(BigDecimal val)
    • getUnit

      public String getUnit()
    • setUnit

      public void setUnit(String unit)
    • getUnitCode

      public String getUnitCode()
    • setUnitCode

      public void setUnitCode(String unitCode)
    • getName

      public String getName()
    • setName

      public void setName(String name)
    • getCost

      public BigDecimal getCost()
    • setCost

      public void setCost(BigDecimal cost)
    • getSum

      public BigDecimal getSum()
    • setSum

      public void setSum(BigDecimal sum)
    • getNds

      public BigDecimal getNds()
    • setNds

      public void setNds(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(Element el)
    • toElement

      public void toElement(XMLStreamWriter el) throws XMLStreamException
      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

      public Map<String,String> getParams()
    • setParams

      public void setParams(Map<String,String> params)
    • getSumUnscaled

      public BigDecimal getSumUnscaled()
    • setSumUnscaled

      public void setSumUnscaled(BigDecimal sumUnscaled)
    • getSumScaled

      public BigDecimal getSumScaled()
    • setSumScaled

      public void setSumScaled(BigDecimal sumRounded)
    • toDocumentPosition

      public DocumentPosition toDocumentPosition()