com.vaadin.data.

Class PropertyFilterDefinition

  • All Implemented Interfaces:

    Serializable

    public class PropertyFilterDefinition
    extends Object
    implements Serializable

    Class containing the constraints for filtering nested properties.

    Since:

    8.2

    Author:

    Vaadin Ltd

    See Also:

    Serialized Form

    • 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