Class CompositeParmVal
- java.lang.Object
-
- org.linuxforhealth.fhir.persistence.jdbc.dto.ExtractedParameterValue
-
- org.linuxforhealth.fhir.persistence.jdbc.dto.CompositeParmVal
-
- All Implemented Interfaces:
java.lang.Comparable<ExtractedParameterValue>
public class CompositeParmVal extends ExtractedParameterValue
This class defines the Data Transfer Object representing a composite parameter.
-
-
Constructor Summary
Constructors Constructor Description CompositeParmVal()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 visitorvoidaddComponent(ExtractedParameterValue... component)protected intcompareToInner(ExtractedParameterValue o)Additional extracted parameter value comparisions when the same class.java.util.List<ExtractedParameterValue>getComponent()voidsetComponent(java.util.List<ExtractedParameterValue> components)-
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
-
getComponent
public java.util.List<ExtractedParameterValue> getComponent()
- Returns:
- get the list of components in this composite parameter
-
setComponent
public void setComponent(java.util.List<ExtractedParameterValue> components)
- Parameters:
set- the list of components in this composite parameter
-
addComponent
public void addComponent(ExtractedParameterValue... component)
-
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 classExtractedParameterValue- Throws:
FHIRPersistenceException
-
compareToInner
protected int compareToInner(ExtractedParameterValue o)
Description copied from class:ExtractedParameterValueAdditional extracted parameter value comparisions when the same class.- Specified by:
compareToInnerin 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.
-
-