MetadataFinder Class Reference

(Internal) MetadataFinder defines the API by which other classes that implement the actual metadata finding process inherit. More...

#include <librets/MetadataFinder.h>

Inheritance diagram for MetadataFinder:

DefaultMetadataCollector IncrementalMetadataFinder

List of all members.

Public Member Functions

virtual ~MetadataFinder ()
virtual MetadataElementListPtr FindByLevel (MetadataElement::Type type, std::string level)=0
 Find the metadta for a given table/object.
virtual MetadataElementPtr FindByPath (MetadataElement::Type type, std::string level, std::string id)=0
 Find the metadata for a given table/object by Id.


Detailed Description

(Internal) MetadataFinder defines the API by which other classes that implement the actual metadata finding process inherit.

Constructor & Destructor Documentation

virtual ~MetadataFinder (  )  [virtual]


Member Function Documentation

virtual MetadataElementListPtr FindByLevel ( MetadataElement::Type  type,
std::string  level 
) [pure virtual]

Find the metadta for a given table/object.

Parameters:
type The type of the metadata such as TABLE, SYSTEM, RESOURCE.
level The resource/class of the metadata such as "Property:RES".
Returns:
A pointer to the MetadataElementList containing the metadata.

Implemented in DefaultMetadataCollector, and IncrementalMetadataFinder.

virtual MetadataElementPtr FindByPath ( MetadataElement::Type  type,
std::string  level,
std::string  id 
) [pure virtual]

Find the metadata for a given table/object by Id.

Parameters:
type The type of the metadata such as TABLE, SYSTEM, RESOURCE.
level The resource/class of the metadata such as "Property:RES".
id The Id of the specific metadata element to retrieve.
Returns:
A pointer to the MetadataElement containing the metadata.

Implemented in DefaultMetadataCollector, and IncrementalMetadataFinder.


Generated by  doxygen