Class DomainSortParameter
- java.lang.Object
-
- com.ibm.fhir.persistence.jdbc.domain.DomainSortParameter
-
public class DomainSortParameter extends java.lang.Object
Decorates SortParameter for use with the new query builder domain model. There's no interface for SortParameter, so it's not true decoration, of course.
-
-
Constructor Summary
Constructors Constructor Description DomainSortParameter(SortParameter sp)
Public constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SortParameter
getSortParameter()
Get the sort parameter.<T> void
visit(T queryData, SearchQueryVisitor<T> visitor)
Visitor to apply the sort parameter to the query builder represented by the visitor
-
-
-
Constructor Detail
-
DomainSortParameter
public DomainSortParameter(SortParameter sp)
Public constructor- Parameters:
sp
-
-
-
Method Detail
-
getSortParameter
public SortParameter getSortParameter()
Get the sort parameter.- Returns:
- sort parameter
-
visit
public <T> void visit(T queryData, SearchQueryVisitor<T> visitor) throws FHIRPersistenceException
Visitor to apply the sort parameter to the query builder represented by the visitor- Parameters:
queryData
-visitor
-- Throws:
FHIRPersistenceException
-
-