Class HasAttributeFilter
java.lang.Object
net.sf.basedb.util.overview.filter.HasAttributeFilter
A filter implementation that checks if a value for a given attribute
exists on a node. It will evaluate to true for all
Node
:s that
has a value for a specific attribute.- Since:
- 3.0
- Author:
- Nicklas
- Last modified
- $Date $
-
Field Summary
-
Constructor Summary
ConstructorDescriptionHasAttributeFilter
(NodeAttribute<?> attribute) Create a filter that finds nodes that has value for the given attribute.HasAttributeFilter
(NodeAttribute<?> attribute, Object value) Create a filter that finds nodes that has a specific value for the given attribute. -
Method Summary
-
Field Details
-
attribute
-
value
-
-
Constructor Details
-
HasAttributeFilter
Create a filter that finds nodes that has value for the given attribute.- Parameters:
attribute
- The attribute to check
-
HasAttributeFilter
Create a filter that finds nodes that has a specific value for the given attribute.- Parameters:
attribute
- The attribute to checkvalue
- The value that must match- Since:
- 3.3
-
-
Method Details