public class QueryCapability
extends java.lang.Object
Constructor and Description |
---|
QueryCapability(java.lang.String urlString,
java.lang.String name,
java.lang.String version)
Construct from fields in XML catalog.
|
Modifier and Type | Method and Description |
---|---|
void |
addSelector(Selector s) |
void |
addUniqueSelector(Selector s) |
void |
addUserInterface(java.lang.Object s) |
void |
appendErrorMessage(java.lang.String message,
boolean fatal)
Append an error message to the message log.
|
boolean |
equals(java.lang.Object o) |
java.util.ArrayList |
getAllUniqueSelectors() |
java.lang.String |
getCreateFrom() |
java.lang.String |
getErrorMessages() |
java.lang.String |
getName() |
Query |
getQuery() |
java.util.ArrayList |
getSelectors() |
Selector |
getServiceSelector()
Get ServiceSelector
|
java.util.ArrayList |
getUserInterfaces() |
java.lang.String |
getVersion() |
boolean |
hasFatalError() |
int |
hashCode()
Override Object.hashCode() to implement equals.
|
void |
setQuery(Query q) |
void |
setServiceSelector(Selector ss)
Set ServiceSelector
|
java.lang.String |
toString()
String representation
|
public QueryCapability(java.lang.String urlString, java.lang.String name, java.lang.String version)
urlString
- the DQC document URIname
- name of DQC documentversion
- version stringpublic void appendErrorMessage(java.lang.String message, boolean fatal)
message
- append this message to logfatal
- true if this is a fatal error.public java.lang.String getErrorMessages()
public boolean hasFatalError()
public void addSelector(Selector s)
public void setQuery(Query q)
public java.lang.String getName()
public java.lang.String getVersion()
public Query getQuery()
public java.util.ArrayList getSelectors()
public java.util.ArrayList getAllUniqueSelectors()
public java.lang.String getCreateFrom()
public Selector getServiceSelector()
public void setServiceSelector(Selector ss)
public void addUserInterface(java.lang.Object s)
public java.util.ArrayList getUserInterfaces()
public java.lang.String toString()
toString
in class java.lang.Object
public void addUniqueSelector(Selector s)
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object