Enum TotalDetailsType

  • All Implemented Interfaces:
    Serializable, Comparable<TotalDetailsType>

    public enum TotalDetailsType
    extends Enum<TotalDetailsType>

    Java class for TotalDetailsType.

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

     <simpleType name="TotalDetailsType">
       <restriction base="{http://www.w3.org/2001/XMLSchema}string">
         <enumeration value="POIID"/>
         <enumeration value="SaleID"/>
         <enumeration value="OperatorID"/>
         <enumeration value="ShiftNumber"/>
         <enumeration value="TotalsGroupID"/>
       </restriction>
     </simpleType>
     
    • Enum Constant Detail

      • POIID

        public static final TotalDetailsType POIID
        Give the totals result per POIID value.
      • SALE_ID

        public static final TotalDetailsType SALE_ID
        Give the totals result per SaleID value.
      • OPERATOR_ID

        public static final TotalDetailsType OPERATOR_ID
        Give the totals result per OperatorID value.
      • SHIFT_NUMBER

        public static final TotalDetailsType SHIFT_NUMBER
        Give the totals result per ShiftNumber value.
      • TOTALS_GROUP_ID

        public static final TotalDetailsType TOTALS_GROUP_ID
        Give the totals result per TotalsGroupID value.
    • Method Detail

      • values

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

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