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.
 
◆ MetadataAnnotation()
      
        
          | te::md::MetadataAnnotation::MetadataAnnotation  | 
          ( | 
          const std::string &  | 
          aid = std::string("") | ) | 
           | 
        
      
 
Constructor. 
- Parameters
 - 
  
    | aid | The annotation unique id. If empty, the constructor will provide one.  | 
  
   
 
 
◆ ~MetadataAnnotation()
      
        
          | te::md::MetadataAnnotation::~MetadataAnnotation  | 
          ( | 
           | ) | 
           | 
        
      
 
 
◆ getAnnotationtId()
      
        
          | const std::string& te::md::MetadataAnnotation::getAnnotationtId  | 
          ( | 
           | ) | 
           const | 
        
      
 
Gets the annotation identifier. 
 
 
◆ getAnnotationURI()
      
        
          | const std::string& te::md::MetadataAnnotation::getAnnotationURI  | 
          ( | 
           | ) | 
           const | 
        
      
 
Gets the link to the metadata. 
 
 
◆ getElementId()
      
        
          | const std::string& te::md::MetadataAnnotation::getElementId  | 
          ( | 
           | ) | 
           const | 
        
      
 
Gets the element being annotated identifier. 
 
 
◆ getElementName()
      
        
          | const std::string& te::md::MetadataAnnotation::getElementName  | 
          ( | 
           | ) | 
           const | 
        
      
 
Gets the element being annotated name. 
 
 
◆ setAnnotationURI()
      
        
          | void te::md::MetadataAnnotation::setAnnotationURI  | 
          ( | 
          const std::string &  | 
          uri | ) | 
           | 
        
      
 
Sets the link to the metadata. 
- Parameters
 - 
  
    | uri | The link to the metadata.  | 
  
   
 
 
◆ setElementId()
      
        
          | 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.  | 
  
   
 
 
◆ setElementName()
      
        
          | 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.  | 
  
   
 
 
◆ m_annotId
  
  
      
        
          | std::string te::md::MetadataAnnotation::m_annotId | 
         
       
   | 
  
private   | 
  
 
 
◆ m_annotURI
  
  
      
        
          | std::string te::md::MetadataAnnotation::m_annotURI | 
         
       
   | 
  
private   | 
  
 
 
◆ m_elementId
  
  
      
        
          | std::string te::md::MetadataAnnotation::m_elementId | 
         
       
   | 
  
private   | 
  
 
 
◆ m_elementName
  
  
      
        
          | 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_release/src/terralib/metadata/MetadataAnnotation.h