Class ReferenceParmVal
- java.lang.Object
-
- org.linuxforhealth.fhir.persistence.jdbc.dto.ExtractedParameterValue
-
- org.linuxforhealth.fhir.persistence.jdbc.dto.ReferenceParmVal
-
- All Implemented Interfaces:
java.lang.Comparable<ExtractedParameterValue>
public class ReferenceParmVal extends 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 visitorprotected int
compareToInner(ExtractedParameterValue o)
Additional extracted parameter value comparisions when the same class.ReferenceValue
getRefValue()
Get the refValueSearchConstants.Type
getType()
void
setRefValue(ReferenceValue refValue)
Set the refValue-
Methods inherited from class org.linuxforhealth.fhir.persistence.jdbc.dto.ExtractedParameterValue
compareTo, getCompartments, getName, getResourceType, getUrl, getVersion, isCompartmentInclusionParam, isForStoring, isWholeSystem, setCompartments, setForStoring, setName, setResourceType, setUrl, setVersion, setWholeSystem
-
-
-
-
Method Detail
-
getRefValue
public ReferenceValue getRefValue()
Get the refValue- Returns:
-
setRefValue
public void setRefValue(ReferenceValue refValue)
Set the refValue- Parameters:
refValue
-
-
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 classExtractedParameterValue
- Throws:
FHIRPersistenceException
-
compareToInner
protected int compareToInner(ExtractedParameterValue o)
Description copied from class:ExtractedParameterValue
Additional extracted parameter value comparisions when the same class.- Specified by:
compareToInner
in classExtractedParameterValue
- Parameters:
o
- an extracted parameter value to compare to- Returns:
- a negative integer, zero, or a positive integer as this extracted parameter value is less than, equal to, or greater than the specified extracted parameter value.
-
-