Enum CQL2Conformance

  • All Implemented Interfaces:
    Serializable, Comparable<CQL2Conformance>

    public enum CQL2Conformance
    extends Enum<CQL2Conformance>
    Conformance clasess for CQL2
    • Method Detail

      • values

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

        public static CQL2Conformance 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
      • matches

        public boolean matches​(List<String> conformance)
        Checks if this STAC conformance class is a match, ignoring details about the version such as beta/RC/minor version changes (as long as it's a 1.0.x)
        Parameters:
        conformance -
      • getCapabilities

        public FilterCapabilities getCapabilities()
        Returns the capabilities linked to this conformance class, or an empty capabilities set, otherwise