|
MagicSmoke
$VERSION$
|
#include <srcMOCustomerAbstract.h>
Public Member Functions | |
| MOCustomerAbstract () | |
| default constructor: constructs an invalid instance of MOCustomerAbstract More... | |
| MOCustomerAbstract (const MOCustomerAbstract &) | |
| copy constructor: creates a (deep) copy of the object More... | |
| MOCustomerAbstract (const QDomElement &) | |
| special constructor: create from the XML representation, deserializing the object More... | |
| virtual | ~MOCustomerAbstract () |
| destructor: deletes this copy of the object More... | |
| virtual void | addaddresses (Nullable< MOAddress > a) |
| virtual void | addcontacts (Nullable< MOContact > a) |
| virtual QList< MOAddress > | addresses () const |
| virtual Nullable< QString > | cflags () const |
| virtual void | clearaddresses () |
| virtual void | clearcontacts () |
| virtual Nullable< QString > | comments () const |
| virtual QList< MOContact > | contacts () const |
| virtual Nullable< QString > | email () const |
| virtual Nullable< QString > | firstname () const |
| virtual Nullable< qint64 > | id () const |
| virtual Nullable< QString > | name () const |
| MOCustomerAbstract & | operator= (const MOCustomerAbstract &) |
| copy assignment: creates a (deep) copy of the object More... | |
| virtual void | setaddresses (QList< MOAddress > s) |
| virtual void | setcflags (Nullable< QString > s) |
| virtual void | setcomments (Nullable< QString > s) |
| virtual void | setcontacts (QList< MOContact > s) |
| virtual void | setemail (Nullable< QString > s) |
| virtual void | setfirstname (Nullable< QString > s) |
| virtual void | setid (Nullable< qint64 > s) |
| virtual void | setname (Nullable< QString > s) |
| virtual void | settags (Nullable< QString > s) |
| virtual void | settitle (Nullable< QString > s) |
| virtual Nullable< QString > | tags () const |
| virtual Nullable< QString > | title () const |
| QString | toString () |
| Serializes the object to XML and returns the string representation of that XML. More... | |
| QDomElement | toXml (QDomDocument &doc, QString name="Customer") |
| Transforms the object into its XML representation, the element node returned is not appended to the document - you have to do that yourself. More... | |
| void | toXml (QDomDocument &, QDomElement &) |
| Serializes the object into the given element. More... | |
Static Public Member Functions | |
| static MOCustomerAbstract | fromString (const QString &) |
| create MOCustomerAbstract from XML formatted string (inverse of toString) More... | |
| static MOCustomerAbstract | fromXml (const QDomElement &) |
| create MOCustomerAbstract from XML (inverse of toXml) More... | |
Protected Attributes | |
| QList< MOAddress > | mp_addresses |
| Nullable< QString > | mp_cflags |
| Nullable< QString > | mp_comments |
| QList< MOContact > | mp_contacts |
| Nullable< QString > | mp_email |
| Nullable< QString > | mp_firstname |
| Nullable< qint64 > | mp_id |
| Nullable< QString > | mp_name |
| Nullable< QString > | mp_tags |
| Nullable< QString > | mp_title |
|
inline |
default constructor: constructs an invalid instance of MOCustomerAbstract
Referenced by fromString(), and fromXml().
| MOCustomerAbstract::MOCustomerAbstract | ( | const MOCustomerAbstract & | o | ) |
copy constructor: creates a (deep) copy of the object
References mp_addresses, mp_cflags, mp_comments, mp_contacts, mp_email, mp_firstname, mp_id, mp_name, mp_tags, and mp_title.
|
explicit |
special constructor: create from the XML representation, deserializing the object
References addaddresses(), addcontacts(), setcflags(), setcomments(), setemail(), setfirstname(), setid(), setname(), settags(), and settitle().
|
inlinevirtual |
destructor: deletes this copy of the object
|
inlinevirtual |
Referenced by MOCustomerAbstract().
|
inlinevirtual |
Referenced by MOCustomerAbstract().
|
inlinevirtual |
|
inlinevirtual |
|
inlinevirtual |
|
inlinevirtual |
|
inlinevirtual |
Referenced by MCustomerDialog::MCustomerDialog().
|
inlinevirtual |
Referenced by MCustomerDialog::MCustomerDialog().
|
inlinevirtual |
Referenced by MCustomerDialog::MCustomerDialog().
|
inlinevirtual |
Referenced by MOCustomer::fullName(), and MCustomerDialog::MCustomerDialog().
|
static |
create MOCustomerAbstract from XML formatted string (inverse of toString)
References MOCustomerAbstract().
|
static |
create MOCustomerAbstract from XML (inverse of toXml)
References MOCustomerAbstract().
|
inlinevirtual |
Referenced by MOCustomer::customerid(), and MOCustomer::isValid().
|
inlinevirtual |
Referenced by MOCustomer::fullName(), and MCustomerDialog::MCustomerDialog().
| MOCustomerAbstract & MOCustomerAbstract::operator= | ( | const MOCustomerAbstract & | o | ) |
copy assignment: creates a (deep) copy of the object
References mp_addresses, mp_cflags, mp_comments, mp_contacts, mp_email, mp_firstname, mp_id, mp_name, mp_tags, and mp_title.
|
inlinevirtual |
Referenced by MCustomerDialog::getCustomer().
|
inlinevirtual |
Referenced by MOCustomerAbstract().
|
inlinevirtual |
Referenced by MCustomerDialog::getCustomer(), and MOCustomerAbstract().
|
inlinevirtual |
Referenced by MCustomerDialog::getCustomer().
|
inlinevirtual |
Referenced by MOCustomerAbstract().
|
inlinevirtual |
Referenced by MCustomerDialog::getCustomer(), and MOCustomerAbstract().
|
inlinevirtual |
Referenced by MOCustomerAbstract().
|
inlinevirtual |
Referenced by MCustomerDialog::getCustomer(), and MOCustomerAbstract().
|
inlinevirtual |
Referenced by MOCustomerAbstract().
|
inlinevirtual |
Referenced by MCustomerDialog::getCustomer(), and MOCustomerAbstract().
|
inlinevirtual |
|
inlinevirtual |
Referenced by MOCustomer::fullName(), and MCustomerDialog::MCustomerDialog().
| QString MOCustomerAbstract::toString | ( | ) |
Serializes the object to XML and returns the string representation of that XML.
References toXml().
| QDomElement MOCustomerAbstract::toXml | ( | QDomDocument & | doc, |
| QString | name = "Customer" |
||
| ) |
Transforms the object into its XML representation, the element node returned is not appended to the document - you have to do that yourself.
| doc | the DOM document node for which to generate the element |
| name | the name to give the generated element, per default "MOCustomerAbstract" is used |
Referenced by toString(), and toXml().
| void MOCustomerAbstract::toXml | ( | QDomDocument & | doc, |
| QDomElement & | r | ||
| ) |
Serializes the object into the given element.
References mp_addresses, mp_cflags, mp_comments, mp_contacts, mp_email, mp_firstname, mp_id, mp_name, mp_tags, mp_title, and toXml().
|
protected |
Referenced by MOCustomerAbstract(), operator=(), and toXml().
|
protected |
Referenced by MOCustomerAbstract(), operator=(), and toXml().
|
protected |
Referenced by MOCustomerAbstract(), operator=(), and toXml().
|
protected |
Referenced by MOCustomerAbstract(), operator=(), and toXml().
|
protected |
Referenced by MOCustomerAbstract(), operator=(), and toXml().
|
protected |
Referenced by MOCustomerAbstract(), operator=(), and toXml().
|
protected |
Referenced by MOCustomerAbstract(), operator=(), and toXml().
|
protected |
Referenced by MOCustomerAbstract(), operator=(), and toXml().
|
protected |
Referenced by MOCustomerAbstract(), operator=(), and toXml().
|
protected |
Referenced by MOCustomerAbstract(), operator=(), and toXml().