Enum MenuEntryTagType

  • All Implemented Interfaces:
    Serializable, Comparable<MenuEntryTagType>

    public enum MenuEntryTagType
    extends Enum<MenuEntryTagType>

    Java class for MenuEntryTagType.

    The following schema fragment specifies the expected content contained within this class.

     <simpleType name="MenuEntryTagType">
       <restriction base="{http://www.w3.org/2001/XMLSchema}string">
         <enumeration value="Selectable"/>
         <enumeration value="NonSelectable"/>
         <enumeration value="SubMenu"/>
         <enumeration value="NonSelectableSubMenu"/>
       </restriction>
     </simpleType>
     
    • Enum Constant Detail

      • SELECTABLE

        public static final MenuEntryTagType SELECTABLE
        The Cashier may select this entryof the menu
      • NON_SELECTABLE

        public static final MenuEntryTagType NON_SELECTABLE
        The Cashier cannot select this entryof the menu
      • SUB_MENU

        public static final MenuEntryTagType SUB_MENU
        The selection of this entry produces the display of a sub-menu (by the sending of another Input Request messageType containing the entries of this sub-menu).
      • NON_SELECTABLE_SUB_MENU

        public static final MenuEntryTagType NON_SELECTABLE_SUB_MENU
        The menu entry is a submenu, but cannot be selected.
    • Method Detail

      • values

        public static MenuEntryTagType[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (MenuEntryTagType c : MenuEntryTagType.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static MenuEntryTagType valueOf​(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:
        IllegalArgumentException - if this enum type has no constant with the specified name
        NullPointerException - if the argument is null
      • value

        public String value()
        Value string.
        Returns:
        the string
      • fromValue

        public static MenuEntryTagType fromValue​(String v)
        From value menu entry tag type.
        Parameters:
        v - the v
        Returns:
        the menu entry tag type