Package org.bgerp.plugin.bil.invoice.num

# Class NumberProvider

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

Direct Known Subclasses:
  `PatternBasedNumberProvider`

public abstract class NumberProvider extends Config
Number generator.

- ## 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`
  `NumberProvider(ConfigMap config)`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `abstract void`
  `number(Connection con, InvoiceType type, Invoice invoice)`

  ### 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

  - ### NumberProvider

    protected NumberProvider(ConfigMap config)

- ## Method Details

  - ### number

    public abstract void number(Connection con, InvoiceType type, Invoice invoice) throws Exception
    Throws:
      `Exception`