
Package ca.uhn.fhir.rest.param
Class ReferenceParam
java.lang.Object
ca.uhn.fhir.rest.param.BaseParam
ca.uhn.fhir.rest.param.ReferenceParam
- All Implemented Interfaces:
- IQueryParameterType,- Serializable
- See Also:
- 
Constructor SummaryConstructorsConstructorDescriptionConstructorReferenceParam(String theValue) ConstructorReferenceParam(String theChain, String theValue) ConstructorReferenceParam(String theResourceType, String theChain, String theValue) ConstructorReferenceParam(IIdType theValue) Constructor
- 
Method SummaryModifier and TypeMethodDescriptionbooleangetChain()Class<? extends IBaseResource> getResourceType(FhirContext theCtx) getValue()booleanhasChain()Returnstrueif this parameter has a chain value (i.e.inthashCode()booleanbooleanbooleanprotected booleanDoes this parameter type support chained parameters (only reference should returntruefor this)setMdmExpand(boolean theMdmExpand) Note that the parameter to this method must be a resource reference, e.g123orPatient/123orhttp://example.com/fhir/Patient/123or something like this.toDateParam(FhirContext theContext) Returns a new param containing the same value as this param, but with the type copnverted toDateParam.toNumberParam(FhirContext theContext) Returns a new param containing the same value as this param, but with the type copnverted toNumberParam.toQuantityParam(FhirContext theContext) Returns a new param containing the same value as this param, but with the type copnverted toQuantityParam.toString()toStringParam(FhirContext theContext) Returns a new param containing the same value as this param, but with the type copnverted toStringParam.toTokenParam(FhirContext theContext) Returns a new param containing the same value as this param, but with the type copnverted toTokenParam.Methods inherited from class ca.uhn.fhir.rest.param.BaseParamgetMissing, getQueryParameterQualifier, getValueAsQueryToken, isEmpty, setMissing, setValueAsQueryTokenMethods inherited from class java.lang.Objectclone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface ca.uhn.fhir.model.api.IQueryParameterTypegetValueAsQueryToken
- 
Constructor Details- 
ReferenceParampublic ReferenceParam()Constructor
- 
ReferenceParamConstructor
- 
ReferenceParamConstructor
- 
ReferenceParamConstructor
- 
ReferenceParamConstructor- Since:
- 5.0.0
 
 
- 
- 
Method Details- 
getBaseUrl
- 
isMdmExpand
- 
setMdmExpand
- 
hasChainReturnstrueif this parameter has a chain value (i.e.getChain()will not return null or an empty string)- Since:
- 8.6.0
 
- 
getChain
- 
setChain
- 
getIdPart
- 
getIdPartAsBigDecimal
- 
getIdPartAsLong
- 
getResourceType
- 
getResourceType
- 
getValue
- 
setValueNote that the parameter to this method must be a resource reference, e.g123orPatient/123orhttp://example.com/fhir/Patient/123or something like this. This is not appropriate for cases where a chain is being used and the value is for a different type of parameter (e.g. a token). In that case, use one of the setter constructors.
- 
hasResourceType
- 
isSupportsChainDescription copied from class:BaseParamDoes this parameter type support chained parameters (only reference should returntruefor this)- Overrides:
- isSupportsChainin class- BaseParam
 
- 
toDateParamReturns a new param containing the same value as this param, but with the type copnverted toDateParam. This is useful if you are using reference parameters and want to handle chained parameters of different types in a single method.See Dynamic Chains in the HAPI FHIR documentation for an example of how to use this method. 
- 
toNumberParamReturns a new param containing the same value as this param, but with the type copnverted toNumberParam. This is useful if you are using reference parameters and want to handle chained parameters of different types in a single method.See Dynamic Chains in the HAPI FHIR documentation for an example of how to use this method. 
- 
toQuantityParamReturns a new param containing the same value as this param, but with the type copnverted toQuantityParam. This is useful if you are using reference parameters and want to handle chained parameters of different types in a single method.See Dynamic Chains in the HAPI FHIR documentation for an example of how to use this method. 
- 
toString
- 
toStringParamReturns a new param containing the same value as this param, but with the type copnverted toStringParam. This is useful if you are using reference parameters and want to handle chained parameters of different types in a single method.See Dynamic Chains in the HAPI FHIR documentation for an example of how to use this method. 
- 
toTokenParamReturns a new param containing the same value as this param, but with the type copnverted toTokenParam. This is useful if you are using reference parameters and want to handle chained parameters of different types in a single method.See Dynamic Chains in the HAPI FHIR documentation for an example of how to use this method. 
- 
isIdPartValidLong
- 
equals
- 
hashCode
 
-