Class Query
- java.lang.Object
-
- org.openehealth.ipf.commons.ihe.xds.core.requests.query.Query
-
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
StoredQuery
public abstract class Query extends Object implements Serializable
Base class for all query requests.- Author:
- Jens Riemschneider
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
Query.Visitor
Visitor interface used for this class to implement the visitor pattern.
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract void
accept(Query.Visitor visitor)
Accept a visitor to process an instance of this class.protected boolean
canEqual(Object other)
boolean
equals(Object o)
QueryType
getType()
int
hashCode()
String
toString()
-
-
-
Constructor Detail
-
Query
public Query()
For JAXB serialization only.
-
Query
protected Query(QueryType type)
Constructs the query.- Parameters:
type
- the type of the query.
-
-
Method Detail
-
accept
public abstract void accept(Query.Visitor visitor)
Accept a visitor to process an instance of this class.- Parameters:
visitor
- the visitor implementation.
-
canEqual
protected boolean canEqual(Object other)
-
getType
public QueryType getType()
-
-