Package org.vaadin.firitin.rad
Record Class PropertyContextImpl
java.lang.Object
java.lang.Record
org.vaadin.firitin.rad.PropertyContextImpl
- All Implemented Interfaces:
PropertyContext
public record PropertyContextImpl(ValueContext owner, com.fasterxml.jackson.databind.introspect.BeanPropertyDefinition beanPropertyDefinition)
extends Record
implements PropertyContext
-
Constructor Summary
ConstructorDescriptionPropertyContextImpl
(ValueContext owner, com.fasterxml.jackson.databind.introspect.BeanPropertyDefinition beanPropertyDefinition) Creates an instance of aPropertyContextImpl
record class. -
Method Summary
Modifier and TypeMethodDescriptioncom.fasterxml.jackson.databind.introspect.BeanPropertyDefinition
Returns the value of thebeanPropertyDefinition
record component.final boolean
Indicates whether some other object is "equal to" this one.final int
hashCode()
Returns a hash code value for this object.owner()
Returns the value of theowner
record component.final String
toString()
Returns a string representation of this record class.Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface org.vaadin.firitin.rad.PropertyContext
asValueContext, getLevel, getLocale, getName, getPrettyPrinter, getPropertyValue, shortToString
-
Constructor Details
-
PropertyContextImpl
public PropertyContextImpl(ValueContext owner, com.fasterxml.jackson.databind.introspect.BeanPropertyDefinition beanPropertyDefinition) Creates an instance of aPropertyContextImpl
record class.- Parameters:
owner
- the value for theowner
record componentbeanPropertyDefinition
- the value for thebeanPropertyDefinition
record component
-
-
Method Details
-
toString
Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components. -
hashCode
public final int hashCode()Returns a hash code value for this object. The value is derived from the hash code of each of the record components. -
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)
. -
owner
Returns the value of theowner
record component.- Specified by:
owner
in interfacePropertyContext
- Returns:
- the value of the
owner
record component
-
beanPropertyDefinition
public com.fasterxml.jackson.databind.introspect.BeanPropertyDefinition beanPropertyDefinition()Returns the value of thebeanPropertyDefinition
record component.- Specified by:
beanPropertyDefinition
in interfacePropertyContext
- Returns:
- the value of the
beanPropertyDefinition
record component
-