net.sf.farrago.namespace.util
Class MedMetadataQueryImpl
java.lang.Object
net.sf.farrago.namespace.util.MedMetadataQueryImpl
- All Implemented Interfaces:
- FarragoMedMetadataQuery
public class MedMetadataQueryImpl
- extends Object
- implements FarragoMedMetadataQuery
MedMetadataQueryImpl is a default implementation for FarragoMedMetadataQuery
.
- Version:
- $Id: //open/dev/farrago/src/net/sf/farrago/namespace/util/MedMetadataQueryImpl.java#8 $
- Author:
- John V. Sichi
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
filterMap
private final Map<String,FarragoMedMetadataFilter> filterMap
resultObjectTypes
private final Set<String> resultObjectTypes
MedMetadataQueryImpl
public MedMetadataQueryImpl()
getFilterMap
public Map<String,FarragoMedMetadataFilter> getFilterMap()
- Description copied from interface:
FarragoMedMetadataQuery
- Retrieves a map of filters to be applied to queried metadata. Map keys
are object type names, and values are instances of the
FarragoMedMetadataFilter
interface. The conjunction of all relevant
filters is used. Metadata queries take place in the context of an
instance of FarragoMedNameDirectory
, which provides additional
filtering context.
- Specified by:
getFilterMap
in interface FarragoMedMetadataQuery
- Returns:
- map
getResultObjectTypes
public Set<String> getResultObjectTypes()
- Description copied from interface:
FarragoMedMetadataQuery
- Retrieves a set of result object types to be returned by the query,
identified by object type name.
- Specified by:
getResultObjectTypes
in interface FarragoMedMetadataQuery
- Returns:
- Set