Record Class AbstractNestablePropertyAccessor.ResolvedProperty
java.lang.Object
java.lang.Record
org.springframework.beans.AbstractNestablePropertyAccessor.ResolvedProperty
- Record Components:
accessor- the accessor for the target beansegment- the final segment of the resolved path (the property to actually get or set onaccessor)
- Enclosing class:
AbstractNestablePropertyAccessor
protected static record AbstractNestablePropertyAccessor.ResolvedProperty(AbstractNestablePropertyAccessor accessor, PropertyPath.Segment segment)
extends Record
The result of resolving a property path: the accessor owning its final
segment, and that segment itself.
- Since:
- 7.1
- Author:
- Juergen Hoeller, Stephane Nicoll, Rod Johnson, Rob Harrop, Sam Brannen, Brian Clozel
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedResolvedProperty(AbstractNestablePropertyAccessor accessor, PropertyPath.Segment segment) Creates an instance of aResolvedPropertyrecord class. -
Method Summary
Modifier and TypeMethodDescriptionaccessor()Returns the value of theaccessorrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.segment()Returns the value of thesegmentrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
Method Details
-
toString
-
hashCode
-
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared withObjects::equals(Object,Object). -
accessor
-
segment
-