Package org.apache.openjpa.lib.meta
Class SuffixMetaDataFilter
- java.lang.Object
-
- org.apache.openjpa.lib.meta.SuffixMetaDataFilter
-
- All Implemented Interfaces:
MetaDataFilter
public class SuffixMetaDataFilter extends java.lang.Object implements MetaDataFilter
Filters metadata iteration based on resource name suffix.- Author:
- Abe White
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.apache.openjpa.lib.meta.MetaDataFilter
MetaDataFilter.Resource
-
-
Constructor Summary
Constructors Constructor Description SuffixMetaDataFilter(java.lang.String suffix)
Constructor; supply suffix to match against.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
matches(MetaDataFilter.Resource rsrc)
Return whether the given resource passes the filter.
-
-
-
Method Detail
-
matches
public boolean matches(MetaDataFilter.Resource rsrc)
Description copied from interface:MetaDataFilter
Return whether the given resource passes the filter.- Specified by:
matches
in interfaceMetaDataFilter
-
-