| Modifier and Type | Field and Description |
|---|---|
| private final ClockProvider | |
| private final int | |
| private final ScriptEvaluatorFactory | |
| private final Duration |
| Access | Constructor and Description |
|---|---|
| public | HibernateConstraintValidatorInitializationContextImpl(ScriptEvaluatorFactory scriptEvaluatorFactory, ClockProvider clockProvider, Duration temporalValidationTolerance)
|
| Modifier and Type | Method and Description |
|---|---|
| private int | |
| public boolean | equals(Object
the reference object with which to compare. o)Overrides java. |
| public ClockProvider | getClockProvider()
Returns the provider for obtaining the current time in the form of a
Clock, e.g. when validating the
Future and Past constraints.
|
| public ScriptEvaluator | getScriptEvaluatorForLanguage(String
the name of the scripting language languageName)
Returns a ScriptEvaluator created by the ScriptEvaluatorFactory
passed at bootstrap.
|
| public Duration | getTemporalValidationTolerance()
Returns the temporal validation tolerance i.e. the acceptable margin of error when comparing date/time in
temporal constraints.
|
| public int | |
| public static HibernateConstraintValidatorInitializationContextImpl | of(HibernateConstraintValidatorInitializationContextImpl defaultContext, ScriptEvaluatorFactory scriptEvaluatorFactory, ClockProvider clockProvider, Duration temporalValidationTolerance)
|
| clockProvider | back to summary |
|---|---|
| private final ClockProvider clockProvider | |
| hashCode | back to summary |
|---|---|
| private final int hashCode | |
| scriptEvaluatorFactory | back to summary |
|---|---|
| private final ScriptEvaluatorFactory scriptEvaluatorFactory | |
| temporalValidationTolerance | back to summary |
|---|---|
| private final Duration temporalValidationTolerance | |
| HibernateConstraintValidatorInitializationContextImpl | back to summary |
|---|---|
| public HibernateConstraintValidatorInitializationContextImpl(ScriptEvaluatorFactory scriptEvaluatorFactory, ClockProvider clockProvider, Duration temporalValidationTolerance) | |
| createHashCode | back to summary |
|---|---|
| private int createHashCode() | |
| equals | back to summary |
|---|---|
| public boolean equals(Object o) Overrides java. Doc from java. Indicates whether some other object is "equal to" this one.
The
An equivalence relation partitions the elements it operates on into equivalence classes; all the members of an equivalence class are equal to each other. Members of an equivalence class are substitutable for each other, at least for some purposes. | |
| getClockProvider | back to summary |
|---|---|
| public ClockProvider getClockProvider() Returns the provider for obtaining the current time in the form of a
| |
| getScriptEvaluatorForLanguage | back to summary |
|---|---|
| public ScriptEvaluator getScriptEvaluatorForLanguage(String languageName) Returns a
| |
| getTemporalValidationTolerance | back to summary |
|---|---|
| public Duration getTemporalValidationTolerance() Returns the temporal validation tolerance i.e. the acceptable margin of error when comparing date/time in temporal constraints. | |
| hashCode | back to summary |
|---|---|
| public int hashCode() Overrides java. Doc from java. Returns a hash code value for the object. This method is
supported for the benefit of hash tables such as those provided by
The general contract of
| |
| of | back to summary |
|---|---|
| public static HibernateConstraintValidatorInitializationContextImpl of(HibernateConstraintValidatorInitializationContextImpl defaultContext, ScriptEvaluatorFactory scriptEvaluatorFactory, ClockProvider clockProvider, Duration temporalValidationTolerance) | |