Package com.vaadin.flow.templatemodel
Annotation Type Exclude
-
@Retention(RUNTIME) @Target(METHOD) @Documented public @interface Exclude
Deprecated.Template model and polymer template support is deprecated - we recommend you to useLitTemplateinstead. Read more details from the Vaadin blog.Defines which properties to exclude when importing a bean into a template model.Use this annotation on bean setters in your
TemplateModelclass to restrict which properties of the beans are imported into the model.You can only define exact matches using this filter. If you need more control, you can use
TemplateModel.importBean(String, Object, java.util.function.Predicate)and define a custom filter.Note that
@Excludeannotations are not inherited.- Since:
- 1.0
- Author:
- Vaadin Ltd
- See Also:
Include
-
-
Element Detail
-
value
String[] value
Deprecated.Properties to exclude from a bean when importing into a template model.By default no properties are excluded.
- Returns:
- the properties to exclude from a bean when importing into a template model
-
-