Class TemporalParameterValue
java.lang.Object
cz.cvut.kbss.jopa.query.parameter.TemporalParameterValue
- All Implemented Interfaces:
ParameterValue
Query parameter value representation for date/time.
Based on the Java 8 TemporalAccessor
implementations. Query string mapping uses XSD datatypes.
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface cz.cvut.kbss.jopa.query.parameter.ParameterValue
isSet, toQueryValues, valueCount
-
Constructor Details
-
TemporalParameterValue
-
-
Method Details
-
getValue
Description copied from interface:ParameterValue
Gets the value held by this wrapper.- Returns:
- The parameter value
-
getQueryString
Description copied from interface:ParameterValue
Gets this parameter value as a string which can be inserted directly into a query.- Returns:
- Value as query string
-
toString
-