com.vaadin.data.
Class PropertyFilterDefinition
- java.lang.Object
-
- com.vaadin.data.PropertyFilterDefinition
-
All Implemented Interfaces:
public class PropertyFilterDefinition extends Object implements Serializable
Class containing the constraints for filtering nested properties.
Since:
8.2
Author:
Vaadin Ltd
See Also:
-
-
Constructor Summary
Constructors Constructor Description PropertyFilterDefinition​(int maxNestingDepth, List<String> ignorePackageNamesStartingWith)
Create a property filter with max nesting depth and package names to ignore.
-
Method Summary
All Methods Modifier and Type Method Description static PropertyFilterDefinition
getDefaultFilter()
Get the default nested property filtering conditions.
List<String>
getIgnorePackageNamesStartingWith()
Returns a list of package name prefixes to ignore.
int
getMaxNestingDepth()
Returns the maximum amount of nesting levels for sub-properties.
-
-
-
Constructor Detail
-
PropertyFilterDefinition
public PropertyFilterDefinition​(int maxNestingDepth, List<String> ignorePackageNamesStartingWith)
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 Detail
-
getMaxNestingDepth
public int getMaxNestingDepth()
Returns the maximum amount of nesting levels for sub-properties.
Returns:
maximum nesting depth
-
getIgnorePackageNamesStartingWith
public List<String> getIgnorePackageNamesStartingWith()
Returns a list of package name prefixes to ignore.
Returns:
list of strings that
-
getDefaultFilter
public static PropertyFilterDefinition getDefaultFilter()
Get the default nested property filtering conditions.
Returns:
default property filter
-
-