Package org.patternfly.filter
Class FilterAttribute<T,V>
java.lang.Object
org.patternfly.filter.FilterAttribute<T,V>
- Type Parameters:
T- the type of objects to be filteredV- the type of the attribute's value
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 Summary
ConstructorsConstructorDescriptionFilterAttribute(String name, boolean persistent, FilterCondition<T, V> condition) FilterAttribute(String name, FilterCondition<T, V> condition) -
Method Summary
-
Constructor Details
-
FilterAttribute
-
FilterAttribute
-
-
Method Details
-
toString
-
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
Retrieves the current value of the filter attribute.- Returns:
- the current value of the filter attribute
-