Package ca.uhn.fhir.rest.client.method
Class OperationParameter
- java.lang.Object
-
- ca.uhn.fhir.rest.client.method.OperationParameter
-
- All Implemented Interfaces:
IParameter
public class OperationParameter extends Object implements IParameter
-
-
Constructor Summary
Constructors Constructor Description OperationParameter(ca.uhn.fhir.context.FhirContext theCtx, String theOperationName, ca.uhn.fhir.rest.annotation.OperationParam theOperationParam)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected ca.uhn.fhir.context.FhirContextgetContext()StringgetName()StringgetParamType()StringgetSearchParamType()voidinitializeTypes(Method theMethod, Class<? extends Collection<?>> theOuterCollectionType, Class<? extends Collection<?>> theInnerCollectionType, Class<?> theParameterType)OperationParametersetConverter(ca.uhn.fhir.rest.client.method.OperationParameter.IOperationParamConverter theConverter)static voidthrowInvalidMode(String paramValues)voidtranslateClientArgumentIntoQueryArgument(ca.uhn.fhir.context.FhirContext theContext, Object theSourceClientArgument, Map<String,List<String>> theTargetQueryArguments, org.hl7.fhir.instance.model.api.IBaseResource theTargetResource)
-
-
-
Constructor Detail
-
OperationParameter
public OperationParameter(ca.uhn.fhir.context.FhirContext theCtx, String theOperationName, ca.uhn.fhir.rest.annotation.OperationParam theOperationParam)
-
-
Method Detail
-
getContext
protected ca.uhn.fhir.context.FhirContext getContext()
-
getParamType
public String getParamType()
-
getSearchParamType
public String getSearchParamType()
-
initializeTypes
public void initializeTypes(Method theMethod, Class<? extends Collection<?>> theOuterCollectionType, Class<? extends Collection<?>> theInnerCollectionType, Class<?> theParameterType)
- Specified by:
initializeTypesin 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:
translateClientArgumentIntoQueryArgumentin interfaceIParameter- Throws:
ca.uhn.fhir.rest.server.exceptions.InternalErrorException
-
throwInvalidMode
public static void throwInvalidMode(String paramValues)
-
-