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