Enum Class InetServState

java.lang.Object
java.lang.Enum<InetServState>
ru.bitel.bgbilling.modules.inet.common.bean.InetServState
All Implemented Interfaces:
Serializable, Comparable<InetServState>, Constable

public enum InetServState extends Enum<InetServState>
  • Enum Constant Details

    • STATE_NULL

      public static final InetServState STATE_NULL
      Состояние сервиса - означает, что состояние не изменилось.
    • STATE_DELETED

      public static final InetServState STATE_DELETED
      Состояние сервиса - удален (со связанных устройств).
    • STATE_DISABLE

      public static final InetServState STATE_DISABLE
      Состояние сервиса/соединения - доступ отключен.
    • STATE_ENABLE

      public static final InetServState STATE_ENABLE
      Состояние сервиса/соединения - доступ включен.
  • Method Details

    • values

      public static InetServState[] 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 InetServState 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
    • getCode

      public short getCode()
    • getTitle

      public String getTitle()
    • getInetServState

      public static InetServState getInetServState(int code)