Class DateParmVal
- java.lang.Object
-
- org.linuxforhealth.fhir.persistence.jdbc.dto.ExtractedParameterValue
-
- org.linuxforhealth.fhir.persistence.jdbc.dto.DateParmVal
-
- All Implemented Interfaces:
java.lang.Comparable<ExtractedParameterValue>
public class DateParmVal extends ExtractedParameterValue
This class defines the Data Transfer Object representing a row in the X_DATE_VALUES tables.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
DateParmVal.TimeType
-
Constructor Summary
Constructors Constructor Description DateParmVal()
-
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.java.sql.Timestamp
getValueDateEnd()
java.sql.Timestamp
getValueDateStart()
void
setValueDateEnd(java.sql.Timestamp valueDateEnd)
void
setValueDateStart(java.sql.Timestamp valueDateStart)
java.lang.String
toString()
-
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
-
getValueDateStart
public java.sql.Timestamp getValueDateStart()
-
setValueDateStart
public void setValueDateStart(java.sql.Timestamp valueDateStart)
-
getValueDateEnd
public java.sql.Timestamp getValueDateEnd()
-
setValueDateEnd
public void setValueDateEnd(java.sql.Timestamp valueDateEnd)
-
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.
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-