Class PropertyNode
java.lang.Object
com.vaadin.hilla.parser.core.AbstractNode<tools.jackson.databind.introspect.BeanPropertyDefinition,String>
com.vaadin.hilla.parser.plugins.backbone.nodes.PropertyNode
- All Implemented Interfaces:
Node<tools.jackson.databind.introspect.BeanPropertyDefinition,,String> AnnotatedNode
public class PropertyNode
extends AbstractNode<tools.jackson.databind.introspect.BeanPropertyDefinition,String>
implements AnnotatedNode
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedPropertyNode(@NonNull tools.jackson.databind.introspect.BeanPropertyDefinition source, @NonNull String target) -
Method Summary
Modifier and TypeMethodDescriptionThe annotations of the field, the getter and the setter parameter of the property, in this order.The types the getter returns, the setter takes and the field holds, in this order, for those the property has.The member the property is read through: the getter, or else the setter, or else the field.protected StringThe name of the source, asAbstractNode.toString()shows it.What the walk says about the type of the value the property holds, which the walk carries as a node below this one.static @NonNull PropertyNodeof(@NonNull tools.jackson.databind.introspect.BeanPropertyDefinition source) voidsetValueType(TypeModel.Builder valueType)
-
Constructor Details
-
PropertyNode
protected PropertyNode(@NonNull tools.jackson.databind.introspect.BeanPropertyDefinition source, @NonNull String target)
-
-
Method Details
-
getValueType
What the walk says about the type of the value the property holds, which the walk carries as a node below this one. Until that node is left, it is what is known about a type nothing has been walked for. -
setValueType
-
getAnnotations
The annotations of the field, the getter and the setter parameter of the property, in this order.- Specified by:
getAnnotationsin interfaceAnnotatedNode
-
getAssociatedTypes
The types the getter returns, the setter takes and the field holds, in this order, for those the property has. -
getPrimaryMember
The member the property is read through: the getter, or else the setter, or else the field. -
getSourceName
Description copied from class:AbstractNodeThe name of the source, asAbstractNode.toString()shows it.- Overrides:
getSourceNamein classAbstractNode<tools.jackson.databind.introspect.BeanPropertyDefinition,String>
-
of
public static @NonNull PropertyNode of(@NonNull tools.jackson.databind.introspect.BeanPropertyDefinition source)
-