T
- the bean typeV
- the value type returned by the getter and set by the setterpublic static class BeanPropertySet.NestedBeanPropertyDefinition<T,V> extends AbstractBeanPropertyDefinition<T,V>
Modifier and Type | Field and Description |
---|---|
protected static int |
MAX_PROPERTY_NESTING_DEPTH
Default maximum depth for scanning nested properties.
|
Constructor and Description |
---|
NestedBeanPropertyDefinition(BeanPropertySet<T> propertySet,
PropertyDefinition<T,?> parent,
PropertyDescriptor descriptor)
Creates a new instance of a nested property definition.
|
Modifier and Type | Method and Description |
---|---|
ValueProvider<T,V> |
getGetter()
Gets the value provider that is used for finding the value of this
property for a bean.
|
String |
getName()
Gets the full name of this property.
|
PropertyDefinition<T,?> |
getParent()
Gets the parent property of this property if this is a sub-property of
the property set.
|
Optional<Setter<T,V>> |
getSetter()
Gets an optional setter for storing a property value in a bean.
|
String |
getTopLevelName()
Gets the top level name of this property.
|
getCaption, getDescriptor, getPropertyHolderType, getPropertySet, getType
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
isSubProperty
protected static final int MAX_PROPERTY_NESTING_DEPTH
public NestedBeanPropertyDefinition(BeanPropertySet<T> propertySet, PropertyDefinition<T,?> parent, PropertyDescriptor descriptor)
propertySet
- the PropertySet
that this property belongs toparent
- the parent property definitiondescriptor
- the property descriptorpublic ValueProvider<T,V> getGetter()
PropertyDefinition
null
public Optional<Setter<T,V>> getSetter()
PropertyDefinition
public String getName()
PropertyDefinition
getName
in interface PropertyDefinition<T,V>
getName
in class AbstractBeanPropertyDefinition<T,V>
null
public String getTopLevelName()
PropertyDefinition
null
public PropertyDefinition<T,?> getParent()
PropertyDefinition
null
.null
Copyright © 2020. All rights reserved.