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 classDateParmVal.TimeType
-
Constructor Summary
Constructors Constructor Description DateParmVal()
-
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 visitorprotected intcompareToInner(ExtractedParameterValue o)Additional extracted parameter value comparisions when the same class.java.sql.TimestampgetValueDateEnd()java.sql.TimestampgetValueDateStart()voidsetValueDateEnd(java.sql.Timestamp valueDateEnd)voidsetValueDateStart(java.sql.Timestamp valueDateStart)java.lang.StringtoString()-
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:
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.
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-