4 #include "RelationalAccess/SchemaException.h"
21 mdError(source, name,
"Already exists");
25 mdError(source, name,
"does not exists");
42 m_userSession.storage().setObjectName( name, oid );
43 }
catch(
const coral::DuplicateEntryInUniqueKeyException& er ){
44 mdDuplicateEntryError(
"addMapping",name);
46 mdError(
"MetaData::addMapping",name,er.what());
57 ok = m_userSession.storage().getItemId( name, oid );
62 mdError(
"MetaData::getToken", name,er.what() );
64 if (!ok) mdNoEntry(
"MetaData::getToken", name);
72 result = m_userSession.storage().getItemId( name, oid );
74 mdError(
"MetaData::hasTag", name, er.what() );
82 m_userSession.storage().listObjectNames( result );
91 m_userSession.storage().eraseAllNames();
99 m_userSession.storage().eraseObjectName( tag );
std::string toString() const
bool fromString(const std::string &s)
static std::string const source