87 m_fieldVec.push_back(f);
virtual ~IdentityConstraint()
Destructor.
void addField(Field *f)
Adds a new field to this element.
A base class for XSD classes that may allow annotation.
It models the selector element of an XML Schema.
std::string * m_name
It specifies the name of this element. (Required)
void setName(std::string *name)
It sets a name for this element.
IdentityConstraint(std::string *name, Annotation *ann=0, std::string *id=0)
Constructor.
A base class for XSD classes that must provide a unique ID property.
It models the field element of an XML Schema.
IdentityConstraint & operator=(const IdentityConstraint &rhs)
Assignment operator.
It models the selector element of an XML Schema.
This is the base class for XML Schema elements that are related to identity constraint.
const boost::ptr_vector< Field > & getFields() const
It returns the list of Fields elements of this element.
Selector * getSelector() const
It returns the Selector element of this element.
A class that models a XSD annotation element.
std::string * getName() const
It returns the name of this element.
This is the base class for XML Schema elements that are related to identity constraint.
void setSelector(Selector *s)
It sets the Selector element of this element.