Top Description Fields Constructors Methods
org.hibernate.validator.internal.engine.valueextraction

pack-priv Class ReadOnlyMapPropertyValueExtractor

extends Object
implements ValueExtractor<ReadOnlyMapProperty<?, @ExtractedValue ?>>
Class Inheritance
All Implemented Interfaces
jakarta.validation.valueextraction.ValueExtractor
Annotations
@SuppressWarnings:restriction
@IgnoreForbiddenApisErrors
reason:Usage of JavaFX classes
Imports
java.util.Map, .Optional, jakarta.validation.valueextraction.ExtractedValue, .ValueExtractor, org.hibernate.validator.internal.IgnoreForbiddenApisErrors, org.hibernate.validator.internal.engine.path.NodeImpl, javafx.beans.property.ReadOnlyMapProperty, javafx.beans.value.ObservableValue

A value extractor for the value of JavaFX's ReadOnlyMapProperty.

It is necessary to define one as ReadOnlyMapProperty inherits from both Map and ObservableValue and it is not possible to determine the corresponding ValueExtractor without creating a specific one.

Author
Guillaume Smet

Field Summary

Modifier and TypeField and Description
pack-priv static final ValueExtractorDescriptor

Constructor Summary

AccessConstructor and Description
private

Method Summary

Modifier and TypeMethod and Description
public void
extractValues(ReadOnlyMapProperty<?, ?>
the original value from which to extract the values, never null
originalValue
,
ValueExtractor.ValueReceiver
the corresponding ValueReceiver
receiver
)

Implements jakarta.validation.valueextraction.ValueExtractor.extractValues.

Extracts the values to validate from the original object.
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

DESCRIPTORback to summary
pack-priv static final ValueExtractorDescriptor DESCRIPTOR

Constructor Detail

ReadOnlyMapPropertyValueExtractorback to summary
private ReadOnlyMapPropertyValueExtractor()

Method Detail

extractValuesback to summary
public void extractValues(ReadOnlyMapProperty<?, ?> originalValue, ValueExtractor.ValueReceiver receiver)

Implements jakarta.validation.valueextraction.ValueExtractor.extractValues.

Doc from jakarta.validation.valueextraction.ValueExtractor.extractValues.

Extracts the values to validate from the original object.

Parameters
originalValue:ReadOnlyMapProperty<?, ?>

the original value from which to extract the values, never null

receiver:ValueExtractor.ValueReceiver

the corresponding ValueReceiver

Annotations
@Override