Package thredds.catalog.query
Class QueryCapability
- java.lang.Object
-
- thredds.catalog.query.QueryCapability
-
public class QueryCapability extends Object
Implementation of a thredds DQC object.
-
-
Constructor Summary
Constructors Constructor Description QueryCapability(String urlString, String name, String version)
Construct from fields in XML catalog.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addSelector(Selector s)
void
addUniqueSelector(Selector s)
void
addUserInterface(Object s)
void
appendErrorMessage(String message, boolean fatal)
Append an error message to the message log.boolean
equals(Object o)
ArrayList
getAllUniqueSelectors()
String
getCreateFrom()
String
getErrorMessages()
String
getName()
Query
getQuery()
ArrayList
getSelectors()
Selector
getServiceSelector()
Get ServiceSelectorArrayList
getUserInterfaces()
String
getVersion()
boolean
hasFatalError()
int
hashCode()
Override Object.hashCode() to implement equals.void
setQuery(Query q)
void
setServiceSelector(Selector ss)
Set ServiceSelectorString
toString()
String representation
-
-
-
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 logfatal
- 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)
-
-