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

# Class PatternBasedNumberProvider

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

public class PatternBasedNumberProvider extends NumberProvider

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

- ## Constructor Summary

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

- ## Method Summary

  Modifier and Type
  Method
  Description
  `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

  - ### PatternBasedNumberProvider

    protected PatternBasedNumberProvider(ConfigMap config)

- ## Method Details

  - ### number

    public void number(Connection con, InvoiceType type, Invoice invoice) throws Exception
    Specified by:
      `number` in class `NumberProvider`
    Throws:
      `Exception`