Package ca.uhn.fhir.rest.client.method
Class ResourceParameter
- java.lang.Object
-
- ca.uhn.fhir.rest.client.method.ResourceParameter
-
- All Implemented Interfaces:
IParameter
public class ResourceParameter extends Object implements IParameter
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classResourceParameter.Mode
-
Constructor Summary
Constructors Constructor Description ResourceParameter(Class<?> theParameterType)Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Class<? extends org.hl7.fhir.instance.model.api.IBaseResource>getResourceType()voidinitializeTypes(Method theMethod, Class<? extends Collection<?>> theOuterCollectionType, Class<? extends Collection<?>> theInnerCollectionType, Class<?> theParameterType)voidtranslateClientArgumentIntoQueryArgument(ca.uhn.fhir.context.FhirContext theContext, Object theSourceClientArgument, Map<String,List<String>> theTargetQueryArguments, org.hl7.fhir.instance.model.api.IBaseResource theTargetResource)
-
-
-
Constructor Detail
-
ResourceParameter
public ResourceParameter(Class<?> theParameterType)
Constructor
-
-
Method Detail
-
initializeTypes
public void initializeTypes(Method theMethod, Class<? extends Collection<?>> theOuterCollectionType, Class<? extends Collection<?>> theInnerCollectionType, Class<?> theParameterType)
- Specified by:
initializeTypesin interfaceIParameter
-
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
-
getResourceType
public Class<? extends org.hl7.fhir.instance.model.api.IBaseResource> getResourceType()
-
-