Package dev.dsf.fhir.search.parameters
Class ResourceId<R extends org.hl7.fhir.r4.model.Resource>
java.lang.Object
dev.dsf.fhir.search.parameters.basic.AbstractSearchParameter<R>
dev.dsf.fhir.search.parameters.ResourceId<R>
- All Implemented Interfaces:
MatcherParameter,SearchQueryParameter<R>
@SearchParameterDefinition(name="_id",
definition="http://hl7.org/fhir/SearchParameter/Resource-id",
type=STRING,
documentation="Logical id of this resource")
public class ResourceId<R extends org.hl7.fhir.r4.model.Resource>
extends AbstractSearchParameter<R>
-
Nested Class Summary
Nested classes/interfaces inherited from interface dev.dsf.fhir.search.SearchQueryParameter
SearchQueryParameter.SearchParameterDefinition -
Field Summary
FieldsFields inherited from class dev.dsf.fhir.search.parameters.basic.AbstractSearchParameter
parameterName -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidconfigureSearchParameter(Map<String, List<String>> queryParameters) protected StringgetSortSql(String sortDirectionWithSpacePrefix) intbooleanbooleanmatches(org.hl7.fhir.r4.model.Resource resource) voidmodifyBundleUri(jakarta.ws.rs.core.UriBuilder bundleUri) Will not be called ifSearchQueryParameter.isDefined()returnsfalsevoidmodifyStatement(int parameterIndex, int subqueryParameterIndex, PreparedStatement statement, BiFunctionWithSqlException<String, Object[], Array> arrayCreator) Methods inherited from class dev.dsf.fhir.search.parameters.basic.AbstractSearchParameter
addError, configure, configureIncludeParameter, getBaseAndModifiedParameterNames, getErrors, getFirst, getIncludeParameters, getModifiedParameterNames, getParameterName, getSortParameter, notDefinedMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface dev.dsf.fhir.search.MatcherParameter
resolveReferencesForMatching
-
Field Details
-
PARAMETER_NAME
- See Also:
-
-
Constructor Details
-
ResourceId
-
-
Method Details
-
configureSearchParameter
- Specified by:
configureSearchParameterin classAbstractSearchParameter<R extends org.hl7.fhir.r4.model.Resource>
-
isDefined
public boolean isDefined() -
getFilterQuery
-
getSqlParameterCount
public int getSqlParameterCount() -
modifyStatement
public void modifyStatement(int parameterIndex, int subqueryParameterIndex, PreparedStatement statement, BiFunctionWithSqlException<String, Object[], throws SQLExceptionArray> arrayCreator) - Throws:
SQLException
-
modifyBundleUri
public void modifyBundleUri(jakarta.ws.rs.core.UriBuilder bundleUri) Description copied from interface:SearchQueryParameterWill not be called ifSearchQueryParameter.isDefined()returnsfalse- Parameters:
bundleUri- nevernull
-
matches
public boolean matches(org.hl7.fhir.r4.model.Resource resource) -
getSortSql
- Specified by:
getSortSqlin classAbstractSearchParameter<R extends org.hl7.fhir.r4.model.Resource>
-