Package ca.uhn.fhir.jpa.searchparam.util
Enum JpaParamUtil
- All Implemented Interfaces:
Serializable
,Comparable<JpaParamUtil>
-
Method Summary
Modifier and TypeMethodDescriptionstatic ca.uhn.fhir.model.api.IQueryParameterAnd
<?> parseQueryParams
(ca.uhn.fhir.context.FhirContext theContext, ca.uhn.fhir.rest.api.RestSearchParameterTypeEnum paramType, String theUnqualifiedParamName, List<ca.uhn.fhir.rest.api.QualifiedParamList> theParameters) This is a utility method intended provided to help the JPA module.static ca.uhn.fhir.model.api.IQueryParameterAnd
<?> parseQueryParams
(ca.uhn.fhir.rest.server.util.ISearchParamRegistry theSearchParamRegistry, ca.uhn.fhir.context.FhirContext theContext, ca.uhn.fhir.context.RuntimeSearchParam theParamDef, String theUnqualifiedParamName, List<ca.uhn.fhir.rest.api.QualifiedParamList> theParameters) This is a utility method intended provided to help the JPA module.static List
<ca.uhn.fhir.context.RuntimeSearchParam> resolveComponentParameters
(ca.uhn.fhir.rest.server.util.ISearchParamRegistry theSearchParamRegistry, ca.uhn.fhir.context.RuntimeSearchParam theParamDef) static List
<ca.uhn.fhir.context.RuntimeSearchParam> resolveCompositeComponentsDeclaredOrder
(ca.uhn.fhir.rest.server.util.ISearchParamRegistry theSearchParamRegistry, ca.uhn.fhir.context.RuntimeSearchParam theParamDef) static JpaParamUtil
Returns the enum constant of this type with the specified name.static JpaParamUtil[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
parseQueryParams
public static ca.uhn.fhir.model.api.IQueryParameterAnd<?> parseQueryParams(ca.uhn.fhir.context.FhirContext theContext, ca.uhn.fhir.rest.api.RestSearchParameterTypeEnum paramType, String theUnqualifiedParamName, List<ca.uhn.fhir.rest.api.QualifiedParamList> theParameters) This is a utility method intended provided to help the JPA module. -
parseQueryParams
public static ca.uhn.fhir.model.api.IQueryParameterAnd<?> parseQueryParams(ca.uhn.fhir.rest.server.util.ISearchParamRegistry theSearchParamRegistry, ca.uhn.fhir.context.FhirContext theContext, ca.uhn.fhir.context.RuntimeSearchParam theParamDef, String theUnqualifiedParamName, List<ca.uhn.fhir.rest.api.QualifiedParamList> theParameters) This is a utility method intended provided to help the JPA module. -
resolveComponentParameters
public static List<ca.uhn.fhir.context.RuntimeSearchParam> resolveComponentParameters(ca.uhn.fhir.rest.server.util.ISearchParamRegistry theSearchParamRegistry, ca.uhn.fhir.context.RuntimeSearchParam theParamDef) -
resolveCompositeComponentsDeclaredOrder
@Nonnull public static List<ca.uhn.fhir.context.RuntimeSearchParam> resolveCompositeComponentsDeclaredOrder(ca.uhn.fhir.rest.server.util.ISearchParamRegistry theSearchParamRegistry, ca.uhn.fhir.context.RuntimeSearchParam theParamDef)
-