Enum FilterOperator.ValueSet

    • Enum Constant Detail

      • EQUALS

        public static final FilterOperator.ValueSet EQUALS
        Equals

        The specified property of the code equals the provided value.

      • IS_A

        public static final FilterOperator.ValueSet IS_A
        Is A (by subsumption)

        Includes all concept ids that have a transitive is-a relationship with the concept Id provided as the value, including the provided concept itself (include descendant codes and self).

      • DESCENDENT_OF

        public static final FilterOperator.ValueSet DESCENDENT_OF
        Descendent Of (by subsumption)

        Includes all concept ids that have a transitive is-a relationship with the concept Id provided as the value, excluding the provided concept itself i.e. include descendant codes only).

      • IS_NOT_A

        public static final FilterOperator.ValueSet IS_NOT_A
        Not (Is A) (by subsumption)

        The specified property of the code does not have an is-a relationship with the provided value.

      • REGEX

        public static final FilterOperator.ValueSet REGEX
        Regular Expression

        The specified property of the code matches the regex specified in the provided value.

      • IN

        public static final FilterOperator.ValueSet IN
        In Set

        The specified property of the code is in the set of codes or concepts specified in the provided value (comma separated list).

      • NOT_IN

        public static final FilterOperator.ValueSet NOT_IN
        Not in Set

        The specified property of the code is not in the set of codes or concepts specified in the provided value (comma separated list).

      • GENERALIZES

        public static final FilterOperator.ValueSet GENERALIZES
        Generalizes (by Subsumption)

        Includes all concept ids that have a transitive is-a relationship from the concept Id provided as the value, including the provided concept itself (i.e. include ancestor codes and self).

      • EXISTS

        public static final FilterOperator.ValueSet EXISTS
        Exists

        The specified property of the code has at least one value (if the specified value is true; if the specified value is false, then matches when the specified property of the code has no values).

    • Method Detail

      • values

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

        public static FilterOperator.ValueSet 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()
        Returns:
        The java.lang.String value of the code represented by this enum
      • from

        public static FilterOperator.ValueSet from​(String value)
        Factory method for creating FilterOperator.ValueSet values from a passed string value.
        Parameters:
        value - A string that matches one of the allowed code values
        Throws:
        IllegalArgumentException - If the passed string cannot be parsed into an allowed code value