com.vaadin.flow.data.binder.
Interface PropertySet<T>
Type Parameters:
T
- the type for which the properties are defined
All Superinterfaces:
All Known Implementing Classes:
Describes a set of properties that can be used for configuration based on property names instead of setter and getter callbacks.
Since:
1.0
Author:
Vaadin Ltd
-
Method Summary
Modifier and TypeMethodDescriptionGets all known properties as a stream.
getProperty
(String name) Gets the definition for the named property, or an empty optional if there is no property with the given name.
-
Method Details
-
getProperties
Stream<PropertyDefinition<T,?>> getProperties()Gets all known properties as a stream.
Returns:
a stream of property names, not
null
-
getProperty
Gets the definition for the named property, or an empty optional if there is no property with the given name.
Parameters:
name
- the property name to look for, notnull
Returns:
the property definition, or empty optional if property doesn't exist
-