Package ru.bitel.bgbilling.modules.bill.common.bean

# Class Position

java.lang.Object
ru.bitel.common.model.Id
ru.bitel.bgbilling.modules.bill.common.bean.Position

All Implemented Interfaces:
  `Serializable`, `Idable`, `ListItem`

public class Position extends Id implements ListItem

See Also:
  - Serialized Form

- ## Nested Class Summary

  Nested Classes
  Modifier and Type
  Class
  Description
  `static class`
  `Position.Builder`

- ## Field Summary

  Fields
  Modifier and Type
  Field
  Description
  `static final String`
  `KEY_ADD_WHEN_LESS_ZERO`
  `static final String`
  `KEY_DYNCLASS`
  `static final String`
  `KEY_EXTRACTOR`
  `static final String`
  `KEY_IN_SUM`
  `static final String`
  `KEY_NAME`
  `static final String`
  `KEY_QTY_NUMS_AFTER_COMMA`
  `static final String`
  `KEY_QTY_NUMS_ROUNDING_MODE`
  `static final String`
  `KEY_QUANTITY`
  `static final String`
  `KEY_SUM`
  `static final String`
  `KEY_TITLE`
  `static final String`
  `KEY_UNIT`
  `static final String`
  `KEY_UNIT_CODE`

  ### Fields inherited from class ru.bitel.common.model.Id

  `id`

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `Position()`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `static Position.Builder`
  `builder()`
  `void`
  `fromData()`
  `String`
  `getData()`
  `String`
  `getDynclass()`
  `String`
  `getExtractor()`
  `String`
  `getName()`
  `Map<String,String>`
  `getParams()`
  `String`
  `getQtyNumsAfterComma()`
  `String`
  `getQtyNumsRoundingMode()`
  `String`
  `getQuantity()`
  `String`
  `getSumm()`
  `String`
  `getTitle()`
  `String`
  `getUnit()`
  `String`
  `getUnitCode()`
  `boolean`
  `isAddWhenLessZero()`
  `boolean`
  `isInSum()`
  `void`
  `setAddWhenLessZero(boolean addWhenLessZero)`
  `void`
  `setData(String data)`
  `void`
  `setDynclass(String dynclass)`
  `void`
  `setExtractor(String extractor)`
  `void`
  `setInSum(boolean inSum)`
  `void`
  `setName(String name)`
  `void`
  `setParams(Map<String,String> params)`
  `void`
  `setQtyNumsAfterComma(String qtyNumsAfterComma)`
  `void`
  `setQtyNumsRoundingMode(String qtyNumsRoundingMode)`
  `void`
  `setQuantity(String quantity)`
  `void`
  `setSumm(String sum)`
  `void`
  `setTitle(String title)`
  `void`
  `setUnit(String unit)`
  `void`
  `setUnitCode(String unitCode)`
  `void`
  `toData()`
  `DocumentPositionSpec`
  `toDocumentPositionSpec()`
  `String`
  `toString()`
  `void`
  `toXmlElement(Element pos)`

  ### Methods inherited from class ru.bitel.common.model.Id

  `copyTo, equals, getId, hashCode, newIdList, newIdSet, newIdSet, newIdSet, newIdSet, newMap, setId`

  ### Methods inherited from class java.lang.Object

  `clone, finalize, getClass, notify, notifyAll, wait, wait, wait`

  ### Methods inherited from interface ru.bitel.common.model.ListItem

  `getId`

- ## Field Details

  - ### KEY_ADD_WHEN_LESS_ZERO

    public static final String KEY_ADD_WHEN_LESS_ZERO
    See Also:
      - Constant Field Values

  - ### KEY_DYNCLASS

    public static final String KEY_DYNCLASS
    See Also:
      - Constant Field Values

  - ### KEY_EXTRACTOR

    public static final String KEY_EXTRACTOR
    See Also:
      - Constant Field Values

  - ### KEY_IN_SUM

    public static final String KEY_IN_SUM
    See Also:
      - Constant Field Values

  - ### KEY_NAME

    public static final String KEY_NAME
    See Also:
      - Constant Field Values

  - ### KEY_QTY_NUMS_AFTER_COMMA

    public static final String KEY_QTY_NUMS_AFTER_COMMA
    See Also:
      - Constant Field Values

  - ### KEY_QTY_NUMS_ROUNDING_MODE

    public static final String KEY_QTY_NUMS_ROUNDING_MODE
    See Also:
      - Constant Field Values

  - ### KEY_QUANTITY

    public static final String KEY_QUANTITY
    See Also:
      - Constant Field Values

  - ### KEY_SUM

    public static final String KEY_SUM
    See Also:
      - Constant Field Values

  - ### KEY_TITLE

    public static final String KEY_TITLE
    See Also:
      - Constant Field Values

  - ### KEY_UNIT

    public static final String KEY_UNIT
    See Also:
      - Constant Field Values

  - ### KEY_UNIT_CODE

    public static final String KEY_UNIT_CODE
    See Also:
      - Constant Field Values

- ## Constructor Details

  - ### Position

    public Position()

- ## Method Details

  - ### getData

    public String getData()

  - ### getDynclass

    public String getDynclass()

  - ### getExtractor

    public String getExtractor()

  - ### getName

    public String getName()

  - ### getParams

    public Map<String,String> getParams()

  - ### getQtyNumsAfterComma

    public String getQtyNumsAfterComma()

  - ### getQtyNumsRoundingMode

    public String getQtyNumsRoundingMode()

  - ### getQuantity

    public String getQuantity()

  - ### getSumm

    public String getSumm()

  - ### getTitle

    public String getTitle()
    Specified by:
      `getTitle` in interface `ListItem`

  - ### getUnit

    public String getUnit()

  - ### getUnitCode

    public String getUnitCode()

  - ### isAddWhenLessZero

    public boolean isAddWhenLessZero()

  - ### isInSum

    public boolean isInSum()

  - ### setAddWhenLessZero

    public void setAddWhenLessZero(boolean addWhenLessZero)

  - ### setData

    public void setData(String data)

  - ### setDynclass

    public void setDynclass(String dynclass)

  - ### setExtractor

    public void setExtractor(String extractor)

  - ### setInSum

    public void setInSum(boolean inSum)

  - ### setName

    public void setName(String name)

  - ### setParams

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

  - ### setQtyNumsAfterComma

    public void setQtyNumsAfterComma(String qtyNumsAfterComma)

  - ### setQtyNumsRoundingMode

    public void setQtyNumsRoundingMode(String qtyNumsRoundingMode)

  - ### setQuantity

    public void setQuantity(String quantity)

  - ### setSumm

    public void setSumm(String sum)

  - ### setTitle

    public void setTitle(String title)

  - ### setUnit

    public void setUnit(String unit)

  - ### setUnitCode

    public void setUnitCode(String unitCode)

  - ### toData

    public void toData()

  - ### toDocumentPositionSpec

    public DocumentPositionSpec toDocumentPositionSpec()

  - ### fromData

    public void fromData()

  - ### toString

    public String toString()
    Overrides:
      `toString` in class `Id`

  - ### toXmlElement

    public void toXmlElement(Element pos)

  - ### builder

    public static Position.Builder builder()