org.jboss.picketlink.cdi.internal.util.properties.query
Interface PropertyCriteria

All Known Implementing Classes:
AnnotatedPropertyCriteria, NamedPropertyCriteria, TypedPropertyCriteria

public interface PropertyCriteria

A property criteria can be used to filter the properties found by a PropertyQuery

DeltaSpike provides a number of property queries ( TypedPropertyCriteria, NamedPropertyCriteria and AnnotatedPropertyCriteria), or you can create a custom query by implementing this interface.

See Also:
PropertyQuery.addCriteria(PropertyCriteria), PropertyQueries, TypedPropertyCriteria, AnnotatedPropertyCriteria, NamedPropertyCriteria

Method Summary
 boolean fieldMatches(Field f)
          Tests whether the specified field matches the criteria
 boolean methodMatches(Method m)
          Tests whether the specified method matches the criteria
 

Method Detail

fieldMatches

boolean fieldMatches(Field f)
Tests whether the specified field matches the criteria

Parameters:
f -
Returns:
true if the field matches

methodMatches

boolean methodMatches(Method m)
Tests whether the specified method matches the criteria

Parameters:
m -
Returns:
true if the method matches


Copyright © 2012. All Rights Reserved.