A class to relate a metadata annotation to a TerraLib element (or entity).
More...
#include <MetadataAnnotation.h>
A class to relate a metadata annotation to a TerraLib element (or entity).
Definition at line 43 of file MetadataAnnotation.h.
te::md::MetadataAnnotation::MetadataAnnotation |
( |
const std::string & |
aid = std::string("") | ) |
|
Constructor.
- Parameters
-
aid | The annotation unique id. If empty, the constructor will provide one. |
te::md::MetadataAnnotation::~MetadataAnnotation |
( |
| ) |
|
const std::string& te::md::MetadataAnnotation::getAnnotationtId |
( |
| ) |
const |
Gets the annotation identifier.
const std::string& te::md::MetadataAnnotation::getAnnotationURI |
( |
| ) |
const |
Gets the link to the metadata.
const std::string& te::md::MetadataAnnotation::getElementId |
( |
| ) |
const |
Gets the element being annotated identifier.
const std::string& te::md::MetadataAnnotation::getElementName |
( |
| ) |
const |
Gets the element being annotated name.
void te::md::MetadataAnnotation::setAnnotationURI |
( |
const std::string & |
uri | ) |
|
Sets the link to the metadata.
- Parameters
-
uri | The link to the metadata. |
void te::md::MetadataAnnotation::setElementId |
( |
const std::string & |
eid | ) |
|
Sets the TerrsLib element idenfification.
- Parameters
-
edi | The TerraLib element identification id. Do not pass empty. |
void te::md::MetadataAnnotation::setElementName |
( |
const std::string & |
ename | ) |
|
Set the element being annotated name.
- Parameters
-
ename | The element being annnotated name. Do not pass null. |
std::string te::md::MetadataAnnotation::m_annotId |
|
private |
std::string te::md::MetadataAnnotation::m_annotURI |
|
private |
std::string te::md::MetadataAnnotation::m_elementId |
|
private |
std::string te::md::MetadataAnnotation::m_elementName |
|
private |
The documentation for this class was generated from the following file:
- /home/castejon/castejon_files/develop/terralib5/git_master/terralib5/src/terralib/metadata/MetadataAnnotation.h