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
ConstructorsConstructorDescriptionPropertyContextImpl(ValueContext owner, com.fasterxml.jackson.databind.introspect.BeanPropertyDefinition beanPropertyDefinition) Creates an instance of aPropertyContextImplrecord class. -
Method Summary
Modifier and TypeMethodDescriptioncom.fasterxml.jackson.databind.introspect.BeanPropertyDefinitionReturns the value of thebeanPropertyDefinitionrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.owner()Returns the value of theownerrecord component.final StringtoString()Returns a string representation of this record class.Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods 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 aPropertyContextImplrecord class.- Parameters:
owner- the value for theownerrecord componentbeanPropertyDefinition- the value for thebeanPropertyDefinitionrecord 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 theownerrecord component.- Specified by:
ownerin interfacePropertyContext- Returns:
- the value of the
ownerrecord component
-
beanPropertyDefinition
public com.fasterxml.jackson.databind.introspect.BeanPropertyDefinition beanPropertyDefinition()Returns the value of thebeanPropertyDefinitionrecord component.- Specified by:
beanPropertyDefinitionin interfacePropertyContext- Returns:
- the value of the
beanPropertyDefinitionrecord component
-