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

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

    • CONTRACT

      public static final SortMode CONTRACT
    • STREET_HOUSE_ETC

      public static final SortMode STREET_HOUSE_ETC
    • INDEX

      public static final SortMode INDEX
    • NUMBER

      public static final SortMode NUMBER
    • NUMBER_REVERT

      public static final SortMode NUMBER_REVERT
    • ID

      public static final SortMode ID
    • ID_REVERT

      public static final SortMode ID_REVERT
    • CITY_QUARTER

      public static final SortMode CITY_QUARTER
    • NAME

      public static final SortMode NAME
    • CONTRACT_WITH_SUB

      public static final SortMode CONTRACT_WITH_SUB
    • PATTERN

      public static final SortMode PATTERN
    • PACKAGE

      public static final SortMode PACKAGE
  • Method Details

    • values

      public static SortMode[] 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 SortMode 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 int getCode()
    • getTitle

      public String getTitle()
    • getSortMode

      public static SortMode getSortMode(int code)