Enum DeviceType

  • All Implemented Interfaces:
    Serializable, Comparable<DeviceType>

    public enum DeviceType
    extends Enum<DeviceType>

    Java class for DeviceType.

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

     <simpleType name="DeviceType">
       <restriction base="{http://www.w3.org/2001/XMLSchema}string">
         <enumeration value="CashierDisplay"/>
         <enumeration value="CustomerDisplay"/>
         <enumeration value="CashierInput"/>
         <enumeration value="CustomerInput"/>
       </restriction>
     </simpleType>
     
    • Enum Constant Detail

      • CASHIER_DISPLAY

        public static final DeviceType CASHIER_DISPLAY
        Used by the POI System (or the Sale System when the device is managed by the POI Terminal), to display some information to the Cashier.
      • CUSTOMER_DISPLAY

        public static final DeviceType CUSTOMER_DISPLAY
        Used by the Sale System (or the POI System when the device is managed by the Sale Terminal), to display some information to the Customer.
      • CASHIER_INPUT

        public static final DeviceType CASHIER_INPUT
        Any kind of keyboard allowing all or part of the commands of the Input messageType request from the Sale System to the POI System (InputCommand data element). The
      • CUSTOMER_INPUT

        public static final DeviceType CUSTOMER_INPUT
        Any kind of keyboard allowing all or part of the commands of the Input messageType request from the POI System to the Sale System (InputCommand data element). The
    • Method Detail

      • values

        public static DeviceType[] 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 (DeviceType c : DeviceType.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static DeviceType 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 DeviceType fromValue​(String v)
        From value device type.
        Parameters:
        v - the v
        Returns:
        the device type