#include <librets/MetadataFinder.h>
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. |
virtual ~MetadataFinder | ( | ) | [virtual] |
virtual MetadataElementListPtr FindByLevel | ( | MetadataElement::Type | type, | |
std::string | level | |||
) | [pure virtual] |
Find the metadta for a given table/object.
type | The type of the metadata such as TABLE, SYSTEM, RESOURCE. | |
level | The resource/class of the metadata such as "Property:RES". |
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.
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. |
Implemented in DefaultMetadataCollector, and IncrementalMetadataFinder.