Package ca.uhn.fhir.rest.client.method
Class OperationParameter
java.lang.Object
ca.uhn.fhir.rest.client.method.OperationParameter
- All Implemented Interfaces:
IParameter
-
Constructor Summary
ConstructorDescriptionOperationParameter
(ca.uhn.fhir.context.FhirContext theCtx, String theOperationName, ca.uhn.fhir.rest.annotation.OperationParam theOperationParam) -
Method Summary
Modifier and TypeMethodDescriptionprotected ca.uhn.fhir.context.FhirContext
getName()
void
initializeTypes
(Method theMethod, Class<? extends Collection<?>> theOuterCollectionType, Class<? extends Collection<?>> theInnerCollectionType, Class<?> theParameterType) setConverter
(ca.uhn.fhir.rest.client.method.OperationParameter.IOperationParamConverter theConverter) static void
throwInvalidMode
(String paramValues) void
translateClientArgumentIntoQueryArgument
(ca.uhn.fhir.context.FhirContext theContext, Object theSourceClientArgument, Map<String, List<String>> theTargetQueryArguments, org.hl7.fhir.instance.model.api.IBaseResource theTargetResource)
-
Constructor Details
-
OperationParameter
public OperationParameter(ca.uhn.fhir.context.FhirContext theCtx, String theOperationName, ca.uhn.fhir.rest.annotation.OperationParam theOperationParam)
-
-
Method Details
-
getContext
-
getName
-
getParamType
-
getSearchParamType
-
initializeTypes
public void initializeTypes(Method theMethod, Class<? extends Collection<?>> theOuterCollectionType, Class<? extends Collection<?>> theInnerCollectionType, Class<?> theParameterType) - Specified by:
initializeTypes
in interfaceIParameter
-
setConverter
public OperationParameter setConverter(ca.uhn.fhir.rest.client.method.OperationParameter.IOperationParamConverter theConverter) -
translateClientArgumentIntoQueryArgument
public void translateClientArgumentIntoQueryArgument(ca.uhn.fhir.context.FhirContext theContext, Object theSourceClientArgument, Map<String, List<String>> theTargetQueryArguments, org.hl7.fhir.instance.model.api.IBaseResource theTargetResource) throws ca.uhn.fhir.rest.server.exceptions.InternalErrorException- Specified by:
translateClientArgumentIntoQueryArgument
in interfaceIParameter
- Throws:
ca.uhn.fhir.rest.server.exceptions.InternalErrorException
-
throwInvalidMode
-