#include <Constraint.h>
Public Member Functions | |
Constraint (Schema::ConstraintType c) | |
std::string | getName () const |
void | setName (const std::string &n) |
virtual Schema::ConstraintType | getConstraintType () |
void | setSelector (const std::string &xpath) |
void | addField (const std::string &xpath) |
std::string | selector () const |
const std::list< std::string > & | fields () |
virtual | ~Constraint () |
void | setAnnotation (const std::string &s) |
Definition at line 33 of file Constraint.h.
Schema::Constraint::Constraint | ( | Schema::ConstraintType | c | ) | [inline] |
Definition at line 56 of file Constraint.h.
Schema::Constraint::~Constraint | ( | ) | [inline, virtual] |
Definition at line 112 of file Constraint.h.
std::string Schema::Constraint::getName | ( | ) | const [inline] |
Definition at line 92 of file Constraint.h.
void Schema::Constraint::setName | ( | const std::string & | n | ) | [inline] |
Definition at line 99 of file Constraint.h.
Schema::ConstraintType Schema::Constraint::getConstraintType | ( | ) | [inline, virtual] |
void Schema::Constraint::setSelector | ( | const std::string & | xpath | ) | [inline] |
Definition at line 64 of file Constraint.h.
void Schema::Constraint::addField | ( | const std::string & | xpath | ) | [inline] |
Definition at line 85 of file Constraint.h.
std::string Schema::Constraint::selector | ( | ) | const [inline] |
Definition at line 71 of file Constraint.h.
const std::list< std::string > & Schema::Constraint::fields | ( | ) | [inline] |
Definition at line 78 of file Constraint.h.
void Schema::Constraint::setAnnotation | ( | const std::string & | s | ) | [inline] |
Definition at line 106 of file Constraint.h.