| Package | Description |
|---|---|
| org.vaadin.miki.superfields.object | |
| org.vaadin.miki.superfields.object.reflect |
| Modifier and Type | Method and Description |
|---|---|
Map<String,PropertyMetadata> |
Property.getMetadata()
Returns the map of
PropertyMetadata, organised by metadata name for easier use. |
| Constructor and Description |
|---|
Property(Class<T> owner,
String name,
Class<P> type,
com.vaadin.flow.function.SerializableBiConsumer<T,P> setter,
com.vaadin.flow.function.SerializableFunction<T,P> getter,
PropertyMetadata... metadata)
Constructs a
Property of a given that belongs to the given owner, has a given value type, a corresponding setter and getter and optional PropertyMetadata. |
| Constructor and Description |
|---|
Property(Class<T> owner,
String name,
Class<P> type,
com.vaadin.flow.function.SerializableBiConsumer<T,P> setter,
com.vaadin.flow.function.SerializableFunction<T,P> getter,
Collection<PropertyMetadata> metadata)
Constructs a
Property of a given that belongs to the given owner, has a given value type, a corresponding setter and getter and optional PropertyMetadata. |
| Modifier and Type | Method and Description |
|---|---|
Collection<PropertyMetadata> |
MetadataProvider.getMetadata(String name,
Field field,
Method setter,
Method getter)
Collects
PropertyMetadata for a given property. |
Collection<PropertyMetadata> |
AnnotationMetadataProvider.getMetadata(String name,
Field field,
Method setter,
Method getter) |
Copyright © 2023 Miki. All rights reserved.