T - the type of the property setV - the property typepublic interface PropertyDefinition<T,V> extends Serializable
PropertySet.| Modifier and Type | Method and Description |
|---|---|
String |
getCaption()
Gets the human readable caption to show for this property.
|
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.
|
Class<?> |
getPropertyHolderType()
Gets the type of the class containing this property.
|
PropertySet<T> |
getPropertySet()
Gets the
PropertySet that this property belongs to. |
Optional<Setter<T,V>> |
getSetter()
Gets an optional setter for storing a property value in a bean.
|
default String |
getTopLevelName()
Gets the top level name of this property.
|
Class<V> |
getType()
Gets the type of this property.
|
default boolean |
isSubProperty()
Gets whether this property belongs to some other property in the property
set, or directly to the property set.
|
ValueProvider<T,V> getGetter()
nullOptional<Setter<T,V>> getSetter()
Class<?> getPropertyHolderType()
nullString getName()
nulldefault String getTopLevelName()
nullString getCaption()
nullPropertySet<T> getPropertySet()
PropertySet that this property belongs to.nullPropertyDefinition<T,?> getParent()
null.nulldefault boolean isSubProperty()
true if this property is a sub-property of the property
set it belongs to, false otherwiseCopyright © 2025. All rights reserved.