Package org.bgerp.model.msg.config

# Class TagConfig

java.lang.Object
org.bgerp.app.cfg.Config
org.bgerp.model.msg.config.TagConfig

public class TagConfig extends Config
Message tags config

- ## Nested Class Summary

  Nested Classes
  Modifier and Type
  Class
  Description
  `static final class`
  `TagConfig.Tag`

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

- ## Method Summary

  Modifier and Type
  Method
  Description
  `int`
  `getSelectedHistoryTag(Collection<Integer> messageTagIds)`
  Returns value of selected history storing tag.
  `List<TagConfig.Tag>`
  `getTagList()`
  `Map<Integer,TagConfig.Tag>`
  `getTagMap()`

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

  - ### TagConfig

    protected TagConfig(ConfigMap config)

- ## Method Details

  - ### getTagList

    public List<TagConfig.Tag> getTagList()

  - ### getTagMap

    public Map<Integer,TagConfig.Tag> getTagMap()

  - ### getSelectedHistoryTag

    public int getSelectedHistoryTag(Collection<Integer> messageTagIds)
    Returns value of selected history storing tag.
    Parameters:
      `messageTagIds` - all message tags.
    Returns:
      `TagConfig.Tag.TAG_HISTORY_ALL_ID`, `TagConfig.Tag.TAG_HISTORY_WITH_ADDRESS_ID` or 0 if none is selected.