Enum Class GetEdoIdSettings.GetEdoIdSettingsMode

java.lang.Object
java.lang.Enum<GetEdoIdSettings.GetEdoIdSettingsMode>
ru.bitel.bgbilling.plugins.edo.common.bean.GetEdoIdSettings.GetEdoIdSettingsMode
All Implemented Interfaces:
Serializable, Comparable<GetEdoIdSettings.GetEdoIdSettingsMode>, Constable
Enclosing class:
GetEdoIdSettings

public static enum GetEdoIdSettings.GetEdoIdSettingsMode extends Enum<GetEdoIdSettings.GetEdoIdSettingsMode>
  • Enum Constant Details

  • Field Details

    • dbcode

      public int dbcode
    • title

      public String title
  • Method Details

    • values

      public static GetEdoIdSettings.GetEdoIdSettingsMode[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static GetEdoIdSettings.GetEdoIdSettingsMode valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null
    • findByDbcode

      public static GetEdoIdSettings.GetEdoIdSettingsMode findByDbcode(int dbcode)
      получение по dbcode енума или дефолтный DEFAULT вернёт если косяк
    • isInfoRequired

      public boolean isInfoRequired()
      требует ли режим присутствия ContragentInfos, просто метод общий вместо кучи проверок по коду на ==