Class ExtractedParameterValue
- java.lang.Object
-
- com.ibm.fhir.persistence.jdbc.dto.ExtractedParameterValue
-
- All Implemented Interfaces:
Comparable<ExtractedParameterValue>
- Direct Known Subclasses:
CompositeParmVal
,DateParmVal
,LocationParmVal
,NumberParmVal
,QuantityParmVal
,ReferenceParmVal
,StringParmVal
,TokenParmVal
public abstract class ExtractedParameterValue extends Object implements Comparable<ExtractedParameterValue>
A search parameter value extracted from a resource and ready to store / index for search
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
ExtractedParameterValue()
Protected constructor
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract void
accept(ExtractedParameterValueVisitor visitor)
We know our type, so we can call the correct method on the visitorint
compareTo(ExtractedParameterValue o)
protected abstract int
compareToInner(ExtractedParameterValue o)
Additional extracted parameter value comparisions when the same class.String
getName()
String
getResourceType()
Getter for the parameter's resource typeString
getUrl()
String
getVersion()
boolean
isWholeSystem()
void
setName(String name)
void
setResourceType(String resourceType)
Setter for the parameter's resource typevoid
setUrl(String url)
void
setVersion(String version)
void
setWholeSystem(boolean wholeSystem)
-
-
-
Method Detail
-
getResourceType
public String getResourceType()
Getter for the parameter's resource type- Returns:
-
setResourceType
public void setResourceType(String resourceType)
Setter for the parameter's resource type- Parameters:
resourceType
-
-
accept
public abstract void accept(ExtractedParameterValueVisitor visitor) throws FHIRPersistenceException
We know our type, so we can call the correct method on the visitor- Throws:
FHIRPersistenceException
-
isWholeSystem
public boolean isWholeSystem()
- Returns:
- the wholeSystem
-
setWholeSystem
public void setWholeSystem(boolean wholeSystem)
- Parameters:
wholeSystem
- the wholeSystem to set
-
getName
public String getName()
- Returns:
- the name
-
setName
public void setName(String name)
- Parameters:
name
- the name to set
-
getUrl
public String getUrl()
- Returns:
- the url
-
setUrl
public void setUrl(String url)
- Parameters:
url
- the url to set
-
getVersion
public String getVersion()
- Returns:
- the version
-
setVersion
public void setVersion(String version)
- Parameters:
version
- the version to set
-
compareTo
public int compareTo(ExtractedParameterValue o)
- Specified by:
compareTo
in interfaceComparable<ExtractedParameterValue>
-
compareToInner
protected abstract int compareToInner(ExtractedParameterValue o)
Additional extracted parameter value comparisions when the same class.- 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.
-
-