Schema::Constraint Class Reference

#include <Constraint.h>

Collaboration diagram for Schema::Constraint:

Collaboration graph
[legend]

List of all members.

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)


Detailed Description

Definition at line 33 of file Constraint.h.


Constructor & Destructor Documentation

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.


Member Function Documentation

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]

Definition at line 118 of file Constraint.h.

References Schema::NoConstraint.

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.


The documentation for this class was generated from the following file:

Generated on Sat Jan 10 19:07:15 2009 for wsdlpull by  doxygen 1.5.5