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 void
accept(ExtractedParameterValueVisitor visitor)
We know our type, so we can call the correct method on the visitorString
getBase()
String
getName()
ReferenceValue
getRefValue()
Get the refValueString
getResourceType()
Get the reference type of the parameter (the origin, not the target of the reference)SearchConstants.Type
getType()
void
setBase(String base)
void
setName(String name)
void
setRefValue(ReferenceValue refValue)
Set the refValuevoid
setResourceType(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:
setName
in interfaceExtractedParameterValue
-
getName
public String getName()
- Specified by:
getName
in 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:
getResourceType
in interfaceExtractedParameterValue
-
setResourceType
public void setResourceType(String resourceType)
Set the reference type of the parameter (the origin, not the target of the reference)- Specified by:
setResourceType
in 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:
accept
in interfaceExtractedParameterValue
- Throws:
FHIRPersistenceException
-
getBase
public String getBase()
- Specified by:
getBase
in interfaceExtractedParameterValue
- Returns:
- the base
-
setBase
public void setBase(String base)
- Specified by:
setBase
in interfaceExtractedParameterValue
- Parameters:
base
- the base to set
-
-