Package com.vaadin.flow.data.binder
Class PropertyFilterDefinition
java.lang.Object
com.vaadin.flow.data.binder.PropertyFilterDefinition
- All Implemented Interfaces:
Serializable
Contains the constraints for filtering nested properties.
- Since:
- 1.0
- Author:
- Vaadin Ltd
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionPropertyFilterDefinition
(int maxNestingDepth, List<String> ignorePackageNamesStartingWith) Create a property filter with max nesting depth and package names to ignore. -
Method Summary
Modifier and TypeMethodDescriptionstatic PropertyFilterDefinition
Get the default nested property filtering conditions.Returns a list of package name prefixes to ignore.int
Returns the maximum amount of nesting levels for sub-properties.
-
Constructor Details
-
PropertyFilterDefinition
Create a property filter with max nesting depth and package names to ignore.- Parameters:
maxNestingDepth
- The maximum amount of nesting levels for sub-properties.ignorePackageNamesStartingWith
- Ignore package names that start with this string, for example "java.lang".
-
-
Method Details
-
getMaxNestingDepth
public int getMaxNestingDepth()Returns the maximum amount of nesting levels for sub-properties.- Returns:
- maximum nesting depth
-
getIgnorePackageNamesStartingWith
Returns a list of package name prefixes to ignore.- Returns:
- list of strings that
-
getDefaultFilter
Get the default nested property filtering conditions.- Returns:
- default property filter
-