Enum AttributeTreatmentType

    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
      ABSENT
      Attribute must not exist in the search response.
      APPROXIMATED
      Attribute must exist and be approximated in the search response.
      DIFFERENT
      Attribute must exist and have a different value (not APPROXIMATED) in the search response.
      STRICT
      Attribute must exist and be strictly equal in the search response.
      STRICTLY_APPROXIMATED
      Attribute must exist and be strictly approximated in the search response, which means it cannot be equal.
    • Enum Constant Detail

      • DIFFERENT

        public static final AttributeTreatmentType DIFFERENT
        Attribute must exist and have a different value (not APPROXIMATED) in the search response.
      • APPROXIMATED

        public static final AttributeTreatmentType APPROXIMATED
        Attribute must exist and be approximated in the search response.
      • STRICTLY_APPROXIMATED

        public static final AttributeTreatmentType STRICTLY_APPROXIMATED
        Attribute must exist and be strictly approximated in the search response, which means it cannot be equal.
      • STRICT

        public static final AttributeTreatmentType STRICT
        Attribute must exist and be strictly equal in the search response.
    • Method Detail

      • values

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

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

        public boolean isForRules()
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Enum<AttributeTreatmentType>
      • getLabel

        public java.lang.String getLabel()