This class models a keyref element from a XML Schema element.  
 More...
#include <KeyRef.h>
 | 
| QName *  | m_ref | 
|   | It specifies the name of a key or unique element defined in this or another schema. (Required)  More...
  | 
|   | 
This class models a keyref element from a XML Schema element. 
- Note
 - Parent elements: element. 
 
Definition at line 46 of file KeyRef.h.
 
      
        
          | te::xsd::KeyRef::KeyRef  | 
          ( | 
          QName *  | 
          refer,  | 
        
        
           | 
           | 
          std::string *  | 
          name,  | 
        
        
           | 
           | 
          Annotation *  | 
          ann = 0,  | 
        
        
           | 
           | 
          std::string *  | 
          id = 0  | 
        
        
           | 
          ) | 
           |  | 
        
      
 
Constructor. 
- Parameters
 - 
  
    | id | It specifies a unique ID for the element. It may be a NULL value.  | 
    | name | It specifies the name of the keyref element. It is required a non-NULL value.  | 
    | ref | It specifies the name of a key or unique element defined in this or another schema. It is required a non-NULL value. | 
  
   
- Note
 - The KeyRef object will take the ownership of the given pointers. 
 
 
 
      
        
          | te::xsd::KeyRef::KeyRef  | 
          ( | 
          const KeyRef &  | 
          rhs | ) | 
           | 
        
      
 
Copy constructor. 
- Parameters
 - 
  
    | rhs | Right-hand-side object. | 
  
   
 
 
      
        
          | te::xsd::KeyRef::~KeyRef  | 
          ( | 
           | ) | 
           | 
        
      
 
 
  
  
      
        
          | void te::xsd::IdentityConstraint::addField  | 
          ( | 
          Field *  | 
          f | ) | 
           | 
         
       
   | 
  
inherited   | 
  
 
Adds a new field to this element. 
- Parameters
 - 
  
    | f | The field that will be added. | 
  
   
- Note
 - The IdentityConstraint object will take the ownership of the given pointer. 
 
 
 
  
  
      
        
          | Annotation* te::xsd::Annotated::getAnnotation  | 
          ( | 
           | ) | 
           const | 
         
       
   | 
  
inherited   | 
  
 
It returns the associated annotation. 
- Returns
 - The associated annotation. 
 
 
 
  
  
      
        
          | const boost::ptr_vector<Field>& te::xsd::IdentityConstraint::getFields  | 
          ( | 
           | ) | 
           const | 
         
       
   | 
  
inherited   | 
  
 
It returns the list of Fields elements of this element. 
- Returns
 - The list of Fields. 
 
 
 
  
  
      
        
          | std::string* te::xsd::Identifiable::getId  | 
          ( | 
           | ) | 
           const | 
         
       
   | 
  
inherited   | 
  
 
It returns a pointer (may be NULL) to the object id. 
 
 
  
  
      
        
          | std::string* te::xsd::IdentityConstraint::getName  | 
          ( | 
           | ) | 
           const | 
         
       
   | 
  
inherited   | 
  
 
It returns the name of this element. 
- Returns
 - The name of this element. 
 
 
 
      
        
          | QName* te::xsd::KeyRef::getRef  | 
          ( | 
           | ) | 
           const | 
        
      
 
It returns the reference to a named element. 
- Returns
 - The reference to a named element. 
 
 
 
  
  
      
        
          | Selector* te::xsd::IdentityConstraint::getSelector  | 
          ( | 
           | ) | 
           const | 
         
       
   | 
  
inherited   | 
  
 
 
Assignment operator. 
- Parameters
 - 
  
    | rhs | Right-hand-side object. | 
  
   
- Returns
 - A reference to this object.
 
 
 
  
  
      
        
          | void te::xsd::Annotated::setAnnotation  | 
          ( | 
          Annotation *  | 
          ann | ) | 
           | 
         
       
   | 
  
inherited   | 
  
 
It sets the associated annotation. 
- Parameters
 - 
  
    | ann | The annotation to be associated to the object. The annotated class will take the ownership of the given pointer.  | 
  
   
 
 
  
  
      
        
          | void te::xsd::Identifiable::setId  | 
          ( | 
          std::string *  | 
          id | ) | 
           | 
         
       
   | 
  
inherited   | 
  
 
it sets the id. 
- Parameters
 - 
  
    | id | The id to be associated to the object. It will take the ownership of the given string.  | 
  
   
 
 
  
  
      
        
          | void te::xsd::IdentityConstraint::setName  | 
          ( | 
          std::string *  | 
          name | ) | 
           | 
         
       
   | 
  
inherited   | 
  
 
It sets a name for this element. 
- Parameters
 - 
  
    | name | A name for this element. Required a non-NULL value. | 
  
   
- Note
 - The IdentityConstraint object will take the ownership of the given pointer. 
 
 
 
      
        
          | void te::xsd::KeyRef::setRef  | 
          ( | 
          QName *  | 
          ref | ) | 
           | 
        
      
 
It sets a reference to a named attribute. 
- Parameters
 - 
  
    | ref | A reference to a named attribute. Required a non-NULL value. | 
  
   
- Note
 - The KeyRef object will take the ownership of the given pointer. 
 
 
 
  
  
      
        
          | void te::xsd::IdentityConstraint::setSelector  | 
          ( | 
          Selector *  | 
          s | ) | 
           | 
         
       
   | 
  
inherited   | 
  
 
It sets the Selector element of this element. 
- Parameters
 - 
  
  
 
- Note
 - The IdentityConstraint object will take the ownership of the given pointer. 
 
 
 
  
  
      
        
          | boost::ptr_vector<Field> te::xsd::IdentityConstraint::m_fieldVec | 
         
       
   | 
  
protectedinherited   | 
  
 
 
  
  
      
        
          | std::string* te::xsd::IdentityConstraint::m_name | 
         
       
   | 
  
protectedinherited   | 
  
 
 
  
  
      
        
          | QName* te::xsd::KeyRef::m_ref | 
         
       
   | 
  
private   | 
  
 
It specifies the name of a key or unique element defined in this or another schema. (Required) 
Definition at line 104 of file KeyRef.h.
 
 
  
  
      
        
          | Selector* te::xsd::IdentityConstraint::m_selector | 
         
       
   | 
  
protectedinherited   | 
  
 
 
The documentation for this class was generated from the following file:
- C:/AA_TL5_master/terralib5/src/terralib/xsd/KeyRef.h