Class QueryCapability


  • public class QueryCapability
    extends Object
    Implementation of a thredds DQC object.
    • Constructor Detail

      • QueryCapability

        public QueryCapability​(String urlString,
                               String name,
                               String version)
        Construct from fields in XML catalog.
        Parameters:
        urlString - the DQC document URI
        name - name of DQC document
        version - version string
    • Method Detail

      • appendErrorMessage

        public void appendErrorMessage​(String message,
                                       boolean fatal)
        Append an error message to the message log. Call check() to get the log when everything is done.
        Parameters:
        message - append this message to log
        fatal - true if this is a fatal error.
      • getErrorMessages

        public String getErrorMessages()
      • hasFatalError

        public boolean hasFatalError()
      • addSelector

        public void addSelector​(Selector s)
      • setQuery

        public void setQuery​(Query q)
      • getName

        public String getName()
      • getVersion

        public String getVersion()
      • getQuery

        public Query getQuery()
      • getSelectors

        public ArrayList getSelectors()
      • getAllUniqueSelectors

        public ArrayList getAllUniqueSelectors()
      • getCreateFrom

        public String getCreateFrom()
      • getServiceSelector

        public Selector getServiceSelector()
        Get ServiceSelector
      • setServiceSelector

        public void setServiceSelector​(Selector ss)
        Set ServiceSelector
      • addUserInterface

        public void addUserInterface​(Object s)
      • getUserInterfaces

        public ArrayList getUserInterfaces()
      • addUniqueSelector

        public void addUniqueSelector​(Selector s)
      • hashCode

        public int hashCode()
        Override Object.hashCode() to implement equals.
        Overrides:
        hashCode in class Object