Class FilterAttribute<T,V>

java.lang.Object
org.patternfly.filter.FilterAttribute<T,V>
Type Parameters:
T - the type of objects to be filtered
V - the type of the attribute's value

public class FilterAttribute<T,V> extends Object
Represents a filter attribute with a specified name, persistence flag, and filter condition. The attribute maintains a value and a defined state, allowing it to determine if it matches a given object based on the defined filter condition.
  • Constructor Details

  • Method Details

    • toString

      public String toString()
      Overrides:
      toString in class Object
    • defined

      public boolean defined()
      Checks if the filter attribute has been defined with a specific value.
      Returns:
      true if the filter attribute is defined, false otherwise
    • value

      public V value()
      Retrieves the current value of the filter attribute.
      Returns:
      the current value of the filter attribute