Enum Class EditItemType

java.lang.Object
java.lang.Enum<EditItemType>
com.thecoderscorner.menu.domain.EditItemType
All Implemented Interfaces:
Serializable, Comparable<EditItemType>, java.lang.constant.Constable

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

    • PLAIN_TEXT

      public static final EditItemType PLAIN_TEXT
    • IP_ADDRESS

      public static final EditItemType IP_ADDRESS
    • TIME_24H

      public static final EditItemType TIME_24H
    • TIME_12H

      public static final EditItemType TIME_12H
    • TIME_24_HUNDREDS

      public static final EditItemType TIME_24_HUNDREDS
    • GREGORIAN_DATE

      public static final EditItemType GREGORIAN_DATE
    • TIME_DURATION_SECONDS

      public static final EditItemType TIME_DURATION_SECONDS
    • TIME_DURATION_HUNDREDS

      public static final EditItemType TIME_DURATION_HUNDREDS
    • TIME_24H_HHMM

      public static final EditItemType TIME_24H_HHMM
    • TIME_12H_HHMM

      public static final EditItemType TIME_12H_HHMM
  • Method Details

    • values

      public static EditItemType[] 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 EditItemType 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
    • getMsgId

      public int getMsgId()
    • fromId

      public static EditItemType fromId(int id)