Package org.dellroad.stuff.vaadin24.data
Class SimplePropertySet.Definition<V>
java.lang.Object
org.dellroad.stuff.vaadin24.data.SimplePropertySet.Definition<V>
- Type Parameters:
V- property value type
- All Implemented Interfaces:
PropertyDefinition<T,,V> Serializable
- Enclosing class:
- SimplePropertySet<T>
A
PropertyDefinition within a SimplePropertySet.
Instances provide SimplePropertySet<T>.Definition<V>.Getters that allow recovery of the originating instance; see
SimplePropertySet.propertyDefinitionForBinding().
- See Also:
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.vaadin.flow.data.binder.PropertyDefinition
getTopLevelName, isSubProperty
-
Constructor Details
-
Definition
public Definition(String name, Class<V> type, String caption, ValueProvider<? super T, ? extends V> getter, Setter<? super T, ? super V> setter) Constructor.- Parameters:
name- property nametype- property typecaption- property captiongetter- getter methodsetter- setter method, or null for none- Throws:
IllegalArgumentException- if any parameter other thansetteris null
-
-
Method Details
-
getCaption
- Specified by:
getCaptionin interfacePropertyDefinition<T,V>
-
getGetter
- Specified by:
getGetterin interfacePropertyDefinition<T,V>
-
getName
- Specified by:
getNamein interfacePropertyDefinition<T,V>
-
getParent
- Specified by:
getParentin interfacePropertyDefinition<T,V>
-
getPropertyHolderType
- Specified by:
getPropertyHolderTypein interfacePropertyDefinition<T,V>
-
getPropertySet
- Specified by:
getPropertySetin interfacePropertyDefinition<T,V>
-
getSetter
- Specified by:
getSetterin interfacePropertyDefinition<T,V>
-
getType
- Specified by:
getTypein interfacePropertyDefinition<T,V>
-
isGenericType
public boolean isGenericType()- Specified by:
isGenericTypein interfacePropertyDefinition<T,V>
-