net.sf.farrago.namespace.util
Class MedMetadataQueryImpl

java.lang.Object
  extended by 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

Field Summary
private  Map<String,FarragoMedMetadataFilter> filterMap
           
private  Set<String> resultObjectTypes
           
 
Fields inherited from interface net.sf.farrago.namespace.FarragoMedMetadataQuery
OTN_COLUMN, OTN_PACKAGE, OTN_SCHEMA, OTN_TABLE
 
Constructor Summary
MedMetadataQueryImpl()
           
 
Method Summary
 Map<String,FarragoMedMetadataFilter> getFilterMap()
          Retrieves a map of filters to be applied to queried metadata.
 Set<String> getResultObjectTypes()
          Retrieves a set of result object types to be returned by the query, identified by object type name.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

filterMap

private final Map<String,FarragoMedMetadataFilter> filterMap

resultObjectTypes

private final Set<String> resultObjectTypes
Constructor Detail

MedMetadataQueryImpl

public MedMetadataQueryImpl()
Method Detail

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