net.sf.farrago.namespace.util
Class MedMetadataFilterImpl
java.lang.Object
net.sf.farrago.namespace.util.MedMetadataFilterImpl
- All Implemented Interfaces:
- FarragoMedMetadataFilter
public class MedMetadataFilterImpl
- extends Object
- implements FarragoMedMetadataFilter
MedMetadataFilterImpl is a default implementation FarragoMedMetadataFilter
.
- Version:
- $Id: //open/dev/farrago/src/net/sf/farrago/namespace/util/MedMetadataFilterImpl.java#6 $
- Author:
- John V. Sichi
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
exclude
private final boolean exclude
roster
private final Set roster
pattern
private final String pattern
MedMetadataFilterImpl
public MedMetadataFilterImpl(boolean exclude,
Set roster,
String pattern)
isExclusion
public boolean isExclusion()
- Specified by:
isExclusion
in interface FarragoMedMetadataFilter
- Returns:
- true if objects matching filter are to be excluded from query
results; false if only objects matching filter are to be included in the
results
getRoster
public Set getRoster()
- Specified by:
getRoster
in interface FarragoMedMetadataFilter
- Returns:
- Set representing filter membership, or null for a pattern
filter
getPattern
public String getPattern()
- Specified by:
getPattern
in interface FarragoMedMetadataFilter
- Returns:
- LIKE pattern, or null for a roster filter