Package org.bgerp.plugin.bil.invoice

# Class Config

java.lang.Object
org.bgerp.app.cfg.Config
org.bgerp.plugin.bil.invoice.Config

public class Config extends Config

- ## Nested Class Summary

  ## Nested classes/interfaces inherited from class org.bgerp.app.cfg.Config

  `Config.InitStopException`

- ## Field Summary

  ### Fields inherited from class org.bgerp.app.cfg.Config

  `EMPTY, log`

- ## Constructor Summary

  Constructors
  Modifier
  Constructor
  Description
  `protected`
  `Config(ConfigMap config)`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `Collection<IdStringTitle>`
  `getPositions()`
  `InvoiceType`
  `getType(int id)`
  Gets invoice type by ID.
  `Collection<InvoiceType>`
  `getTypes()`

  ### Methods inherited from class org.bgerp.app.cfg.Config

  `initWhen, throwValidationException`

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

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## Constructor Details

  - ### Config

    protected Config(ConfigMap config) throws Exception
    Throws:
      `Exception`

- ## Method Details

  - ### getTypes

    public Collection<InvoiceType> getTypes()
    Returns:
      types sorted by IDs.

  - ### getType

    public InvoiceType getType(int id) throws javassist.NotFoundException
    Gets invoice type by ID.
    Parameters:
      `id` -
    Returns:
    Throws:
      `javassist.NotFoundException`

  - ### getPositions

    public Collection<IdStringTitle> getPositions()
    Returns:
      positions sorted by configuration index.