Class PojoModelPathValueNode
java.lang.Object
org.hibernate.search.mapper.pojo.model.path.PojoModelPath
org.hibernate.search.mapper.pojo.model.path.PojoModelPathValueNode
A node in a
PojoModelPath representing the value(s) of a property.
Value node give information as to how to extract values from a property,
by specifying a ContainerExtractorPath.
That path will tell Hibernate Search whether it should
it just represent how to access the property itself.
To access the value(s) of that property, additional information is required,
and that information is provided by a PojoModelPathValueNode.
-
Nested Class Summary
Nested classes/interfaces inherited from class PojoModelPath
PojoModelPath.Builder -
Field Summary
Fields inherited from class PojoModelPath
DOT_PATTERN -
Method Summary
Modifier and TypeMethodDescriptionbooleaninthashCode()parent()relativize(PojoModelPathValueNode other) Methods inherited from class PojoModelPath
builder, ofProperty, ofValue, ofValue, parse, toPathString, toString
-
Method Details
-
equals
-
hashCode
-
parent
- Specified by:
parentin classPojoModelPath- Returns:
- The model path to the property from which the value represented by this node is extracted.
-
extractorPath
- Returns:
- The extractor path from the parent property to this value.
The path is guaranteed to be explicit (i.e. it won't be
ContainerExtractorPath.defaultExtractors()).
-
property
- Parameters:
propertyName- The name of a property exposed by the type of this value. The property name may be invalid: no check will be performed.- Returns:
- A new path representing the current path, with an additional access to the given property at the end.
-
relativize
-