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

# Class AbstractBillDocument

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

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

Direct Known Subclasses:
  `BillDocument`, `InvoiceDocument`

public class AbstractBillDocument extends IdContractId

See Also:
  - Serialized Form

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `AbstractBillDocument()`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `String`
  `getAddress()`
  `String`
  `getContractComment()`
  `String`
  `getContractTitle()`
  `int`
  `getCorrection()`
  `Date`
  `getDateCreated()`
  `Document`
  `getDocument()`
  `byte[]`
  `getDocumentData()`
  `int`
  `getDocumentSpecId()`
  `String`
  `getDocumentSpecTitle()`
  `int`
  `getMonth()`
  `int`
  `getNumber()`
  `String`
  `getNumberFormatted()`
  `int`
  `getNumberInMonth()`
  `int`
  `getNumberInYear()`
  `int`
  `getNumerationPoolId()`
  `List<DocumentPosition>`
  `getPositionList()`
  `String`
  `getRecipient()`
  `BigDecimal`
  `getTotal()`
  `int`
  `getUserId()`
  `int`
  `getYear()`
  `AbstractBillDocument`
  `setAddress(String address)`
  `AbstractBillDocument`
  `setContractComment(String contractComment)`
  `AbstractBillDocument`
  `setContractId(int contractId)`
  `AbstractBillDocument`
  `setContractTitle(String contractTitle)`
  `AbstractBillDocument`
  `setCorrection(int correction)`
  `AbstractBillDocument`
  `setDateCreated(Date dateCreated)`
  `AbstractBillDocument`
  `setDocument(Document document)`
  `AbstractBillDocument`
  `setDocumentData(byte[] documentData)`
  `AbstractBillDocument`
  `setDocumentSpecId(int typeId)`
  `AbstractBillDocument`
  `setDocumentSpecTitle(String typeTitle)`
  `AbstractBillDocument`
  `setMonth(int month)`
  `AbstractBillDocument`
  `setNumber(int number)`
  `AbstractBillDocument`
  `setNumberFormatted(String formattedNumber)`
  `AbstractBillDocument`
  `setNumberInMonth(int numberInMonth)`
  `AbstractBillDocument`
  `setNumberInYear(int numberInYear)`
  `AbstractBillDocument`
  `setNumerationPoolId(int numerationPoolId)`
  `AbstractBillDocument`
  `setPositionList(List<DocumentPosition> positionList)`
  `AbstractBillDocument`
  `setRecipient(String recipient)`
  `AbstractBillDocument`
  `setTotal(BigDecimal total)`
  `AbstractBillDocument`
  `setUserId(int userId)`
  `AbstractBillDocument`
  `setYear(int year)`

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

  `getContractId`

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

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

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

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

- ## Constructor Details

  - ### AbstractBillDocument

    public AbstractBillDocument()

- ## Method Details

  - ### getAddress

    public String getAddress()

  - ### getContractComment

    public String getContractComment()

  - ### getContractTitle

    public String getContractTitle()

  - ### getCorrection

    public int getCorrection()

  - ### getDateCreated

    public Date getDateCreated()

  - ### getDocument

    public Document getDocument()

  - ### getDocumentData

    public byte[] getDocumentData()

  - ### getDocumentSpecId

    public int getDocumentSpecId()

  - ### getDocumentSpecTitle

    public String getDocumentSpecTitle()

  - ### getMonth

    public int getMonth()

  - ### getNumber

    public int getNumber()

  - ### getNumberFormatted

    public String getNumberFormatted()

  - ### getNumberInMonth

    public int getNumberInMonth()

  - ### getNumberInYear

    public int getNumberInYear()

  - ### getNumerationPoolId

    public int getNumerationPoolId()

  - ### getPositionList

    public List<DocumentPosition> getPositionList()

  - ### getRecipient

    public String getRecipient()

  - ### getTotal

    public BigDecimal getTotal()

  - ### getUserId

    public int getUserId()

  - ### getYear

    public int getYear()

  - ### setAddress

    public AbstractBillDocument setAddress(String address)

  - ### setContractComment

    public AbstractBillDocument setContractComment(String contractComment)

  - ### setContractId

    public AbstractBillDocument setContractId(int contractId)
    Overrides:
      `setContractId` in class `IdContractId`

  - ### setContractTitle

    public AbstractBillDocument setContractTitle(String contractTitle)

  - ### setCorrection

    public AbstractBillDocument setCorrection(int correction)

  - ### setDateCreated

    public AbstractBillDocument setDateCreated(Date dateCreated)

  - ### setDocument

    public AbstractBillDocument setDocument(Document document)

  - ### setDocumentData

    public AbstractBillDocument setDocumentData(byte[] documentData)

  - ### setDocumentSpecId

    public AbstractBillDocument setDocumentSpecId(int typeId)

  - ### setDocumentSpecTitle

    public AbstractBillDocument setDocumentSpecTitle(String typeTitle)

  - ### setMonth

    public AbstractBillDocument setMonth(int month)

  - ### setNumber

    public AbstractBillDocument setNumber(int number)

  - ### setNumberFormatted

    public AbstractBillDocument setNumberFormatted(String formattedNumber)

  - ### setNumberInMonth

    public AbstractBillDocument setNumberInMonth(int numberInMonth)

  - ### setNumberInYear

    public AbstractBillDocument setNumberInYear(int numberInYear)

  - ### setNumerationPoolId

    public AbstractBillDocument setNumerationPoolId(int numerationPoolId)

  - ### setPositionList

    public AbstractBillDocument setPositionList(List<DocumentPosition> positionList)

  - ### setRecipient

    public AbstractBillDocument setRecipient(String recipient)

  - ### setTotal

    public AbstractBillDocument setTotal(BigDecimal total)

  - ### setUserId

    public AbstractBillDocument setUserId(int userId)

  - ### setYear

    public AbstractBillDocument setYear(int year)