Enum ContractParameterPrefType

java.lang.Object
java.lang.Enum<ContractParameterPrefType>
ru.bitel.bgbilling.kernel.contract.param.common.bean.ContractParameterPrefType
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<ContractParameterPrefType>, java.lang.constant.Constable, GuiTitlable

public enum ContractParameterPrefType
extends java.lang.Enum<ContractParameterPrefType>
implements GuiTitlable
  • Enum Constant Details

  • Method Details

    • values

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

      public static ContractParameterPrefType valueOf​(java.lang.String name)
      Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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:
      java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
      java.lang.NullPointerException - if the argument is null
    • getId

      public int getId()
    • getTitle

      public java.lang.String getTitle()
    • getType

      public static ContractParameterPrefType getType​(int id)
    • toString

      public java.lang.String toString()
      Overrides:
      toString in class java.lang.Enum<ContractParameterPrefType>
    • getTableName

      public java.lang.String getTableName()
    • getGuiTitle

      public java.lang.String getGuiTitle()
      Description copied from interface: GuiTitlable
      Строка - имя объекта. Скорее всего уникальная. Используется в комбобоксах, например, итд.
      Specified by:
      getGuiTitle in interface GuiTitlable
      Returns:
      Строка - представление объекта.