Class ReferenceParmVal
- java.lang.Object
-
- com.ibm.fhir.persistence.jdbc.dto.ReferenceParmVal
-
- All Implemented Interfaces:
ExtractedParameterValue
public class ReferenceParmVal extends Object implements ExtractedParameterValue
DTO representing external and local reference parameters
-
-
Constructor Summary
Constructors Constructor Description ReferenceParmVal()Public constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaccept(ExtractedParameterValueVisitor visitor)We know our type, so we can call the correct method on the visitorStringgetBase()StringgetName()ReferenceValuegetRefValue()Get the refValueStringgetResourceType()Get the reference type of the parameter (the origin, not the target of the reference)SearchConstants.TypegetType()voidsetBase(String base)voidsetName(String name)voidsetRefValue(ReferenceValue refValue)Set the refValuevoidsetResourceType(String resourceType)Set the reference type of the parameter (the origin, not the target of the reference)
-
-
-
Method Detail
-
setName
public void setName(String name)
- Specified by:
setNamein interfaceExtractedParameterValue
-
getName
public String getName()
- Specified by:
getNamein interfaceExtractedParameterValue
-
getRefValue
public ReferenceValue getRefValue()
Get the refValue- Returns:
-
setRefValue
public void setRefValue(ReferenceValue refValue)
Set the refValue- Parameters:
refValue-
-
getResourceType
public String getResourceType()
Get the reference type of the parameter (the origin, not the target of the reference)- Specified by:
getResourceTypein interfaceExtractedParameterValue
-
setResourceType
public void setResourceType(String resourceType)
Set the reference type of the parameter (the origin, not the target of the reference)- Specified by:
setResourceTypein interfaceExtractedParameterValue
-
getType
public SearchConstants.Type getType()
-
accept
public void accept(ExtractedParameterValueVisitor visitor) throws FHIRPersistenceException
We know our type, so we can call the correct method on the visitor- Specified by:
acceptin interfaceExtractedParameterValue- Throws:
FHIRPersistenceException
-
getBase
public String getBase()
- Specified by:
getBasein interfaceExtractedParameterValue- Returns:
- the base
-
setBase
public void setBase(String base)
- Specified by:
setBasein interfaceExtractedParameterValue- Parameters:
base- the base to set
-
-