Package org.dellroad.querystream.jpa
Class CalendarParamBinding
java.lang.Object
org.dellroad.querystream.jpa.ParamBinding<T>
org.dellroad.querystream.jpa.CalendarParamBinding
-
Constructor Summary
ConstructorsConstructorDescriptionCalendarParamBinding
(Parameter<Calendar> parameter, Calendar value, TemporalType temporalType) Constructor. -
Method Summary
Methods inherited from class org.dellroad.querystream.jpa.ParamBinding
applyTo, getParameter, getValue
-
Constructor Details
-
CalendarParamBinding
public CalendarParamBinding(Parameter<Calendar> parameter, Calendar value, TemporalType temporalType) Constructor.- Parameters:
parameter
- the parameter to setvalue
- parameter valuetemporalType
- temporal type forvalue
- Throws:
IllegalArgumentException
- ifparameter
ortemporalType
is null
-
-
Method Details
-
getTemporalType
Get theTemporalType
.- Returns:
- temporal type to use when binding parameter value
-
equals
- Overrides:
equals
in classParamBinding<T>
-
hashCode
public int hashCode()- Overrides:
hashCode
in classParamBinding<T>
-
toString
- Overrides:
toString
in classParamBinding<T>
-