public final class PojoModelPathPropertyNode extends PojoModelPath
PojoModelPath representing a property.
Property nodes represent the property with no indication as to how its value(s) are extracted:
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.
PojoModelPath.Builder| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
PojoModelPathValueNode |
getParent() |
String |
getPropertyName() |
int |
hashCode() |
String |
toPropertyString() |
PojoModelPathValueNode |
value(ContainerExtractorPath extractorPath) |
builder, ofProperty, ofValue, ofValue, parse, toPathString, toStringpublic PojoModelPathValueNode getParent()
getParent in class PojoModelPathnull.public PojoModelPathValueNode value(ContainerExtractorPath extractorPath)
extractorPath - The extractor path allowing extraction of a value from this property.
The extractor path may be invalid: no check will be performed.public String getPropertyName()
public String toPropertyString()
propertyA.propertyB.propertyC.
Completely ignores container extractors.
Copyright © 2006-2020 Red Hat, Inc. and others. Licensed under the GNU Lesser General Public License (LGPL), version 2.1 or later.