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:
  • Constructor Details

    • Query

      public Query()
      For JAXB serialization only.
    • Query

      protected Query(QueryType type)
      Constructs the query.
      Parameters:
      type - the type of the query.
  • Method Details

    • accept

      public abstract void accept(Query.Visitor visitor)
      Accept a visitor to process an instance of this class.
      Parameters:
      visitor - the visitor implementation.
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • canEqual

      protected boolean canEqual(Object other)
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • getType

      public QueryType getType()