org.jboss.seam.solder.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

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

Author:
Shane Bryzak
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 © 2008-2011 Seam Framework. All Rights Reserved.