|
MagicSmoke
$VERSION$
|
#include <srcMOContact.h>
Public Member Functions | |
| MOContact () | |
| default constructor: constructs an invalid instance of MOContact More... | |
| MOContact (const MOContact &) | |
| copy constructor: creates a (deep) copy of the object More... | |
| MOContact (const QDomElement &) | |
| special constructor: create from the XML representation, deserializing the object More... | |
| virtual | ~MOContact () |
| destructor: deletes this copy of the object More... | |
| virtual Nullable< QString > | contact () const |
| virtual Nullable< qint64 > | contactid () const |
| virtual Nullable< MOContactType > | contacttype () const |
| virtual Nullable< qint64 > | contacttypeid () const |
| virtual Nullable< qint64 > | customerid () const |
| MOContact & | operator= (const MOContact &) |
| copy assignment: creates a (deep) copy of the object More... | |
| virtual void | setcontact (Nullable< QString > s) |
| virtual void | setcontactid (Nullable< qint64 > s) |
| virtual void | setcontacttype (Nullable< MOContactType > s) |
| virtual void | setcontacttypeid (Nullable< qint64 > s) |
| virtual void | setcustomerid (Nullable< qint64 > s) |
| QString | toString () |
| Serializes the object to XML and returns the string representation of that XML. More... | |
| QDomElement | toXml (QDomDocument &doc, QString name="Contact") |
| 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 MOContact | fromString (const QString &) |
| create MOContact from XML formatted string (inverse of toString) More... | |
| static MOContact | fromXml (const QDomElement &) |
| create MOContact from XML (inverse of toXml) More... | |
Protected Attributes | |
| Nullable< QString > | mp_contact |
| Nullable< qint64 > | mp_contactid |
| Nullable< MOContactType > | mp_contacttype |
| Nullable< qint64 > | mp_contacttypeid |
| Nullable< qint64 > | mp_customerid |
|
inline |
default constructor: constructs an invalid instance of MOContact
Referenced by fromString(), and fromXml().
| MOContact::MOContact | ( | const MOContact & | o | ) |
copy constructor: creates a (deep) copy of the object
References mp_contact, mp_contactid, mp_contacttype, mp_contacttypeid, and mp_customerid.
|
explicit |
special constructor: create from the XML representation, deserializing the object
References setcontact(), setcontactid(), setcontacttype(), setcontacttypeid(), and setcustomerid().
|
inlinevirtual |
destructor: deletes this copy of the object
|
inlinevirtual |
|
inlinevirtual |
|
inlinevirtual |
|
inlinevirtual |
|
inlinevirtual |
|
static |
create MOContact from XML formatted string (inverse of toString)
References MOContact().
|
static |
create MOContact from XML (inverse of toXml)
References MOContact().
copy assignment: creates a (deep) copy of the object
References mp_contact, mp_contactid, mp_contacttype, mp_contacttypeid, and mp_customerid.
|
inlinevirtual |
Referenced by MCustomerDialog::getCustomer(), and MOContact().
|
inlinevirtual |
Referenced by MCustomerDialog::getCustomer(), and MOContact().
|
inlinevirtual |
Referenced by MOContact().
|
inlinevirtual |
Referenced by MCustomerDialog::getCustomer(), and MOContact().
|
inlinevirtual |
Referenced by MCustomerDialog::getCustomer(), and MOContact().
| QString MOContact::toString | ( | ) |
Serializes the object to XML and returns the string representation of that XML.
References toXml().
| QDomElement MOContact::toXml | ( | QDomDocument & | doc, |
| QString | name = "Contact" |
||
| ) |
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 "MOContact" is used |
Referenced by toString().
| void MOContact::toXml | ( | QDomDocument & | doc, |
| QDomElement & | r | ||
| ) |
Serializes the object into the given element.
References mp_contact, mp_contactid, mp_contacttype, mp_contacttypeid, and mp_customerid.
|
protected |
Referenced by MOContact(), operator=(), and toXml().
|
protected |
Referenced by MOContact(), operator=(), and toXml().
|
protected |
Referenced by MOContact(), operator=(), and toXml().
|
protected |
Referenced by MOContact(), operator=(), and toXml().
|
protected |
Referenced by MOContact(), operator=(), and toXml().