3 #ifndef WOBGEN_MOCustomerAbstract
4 #define WOBGEN_MOCustomerAbstract
7 #ifndef WOBGEN_MAGICSMOKE__WOB_EXPORT
8 #define WOBGEN_MAGICSMOKE__WOB_EXPORT Q_DECL_IMPORT
12 #include <QCoreApplication>
20 Q_PROPERTY(Nullable<qint64>
id READ
id WRITE setid)
22 Q_PROPERTY(Nullable<QString> title READ title WRITE settitle)
24 Q_PROPERTY(Nullable<QString> firstname READ firstname WRITE setfirstname)
26 Q_PROPERTY(Nullable<QString> name READ name WRITE setname)
28 Q_PROPERTY(Nullable<QString> comments READ comments WRITE setcomments)
30 Q_PROPERTY(Nullable<QString> cflags READ cflags WRITE setcflags)
32 Q_PROPERTY(Nullable<QString> tags READ tags WRITE settags)
34 Q_PROPERTY(Nullable<QString> email READ email WRITE setemail)
36 Q_PROPERTY(QList<MOAddress> addresses READ addresses WRITE setaddresses)
38 Q_PROPERTY(QList<MOContact> contacts READ contacts WRITE setcontacts)
52 virtual Nullable<qint64>
id()
const{
return mp_id;}
54 virtual Nullable<QString>
title()
const{
return mp_title;}
56 virtual Nullable<QString>
firstname()
const{
return mp_firstname;}
58 virtual Nullable<QString>
name()
const{
return mp_name;}
60 virtual Nullable<QString>
comments()
const{
return mp_comments;}
62 virtual Nullable<QString>
cflags()
const{
return mp_cflags;}
64 virtual Nullable<QString>
tags()
const{
return mp_tags;}
66 virtual Nullable<QString>
email()
const{
return mp_email;}
68 virtual QList<MOAddress>
addresses()
const{
return mp_addresses;}
70 virtual QList<MOContact>
contacts()
const{
return mp_contacts;}
72 virtual void setid(Nullable<qint64> s){mp_id=s;}
74 virtual void settitle(Nullable<QString> s){mp_title=s;}
78 virtual void setname(Nullable<QString> s){mp_name=s;}
82 virtual void setcflags(Nullable<QString> s){mp_cflags=s;}
84 virtual void settags(Nullable<QString> s){mp_tags=s;}
86 virtual void setemail(Nullable<QString> s){mp_email=s;}
90 virtual void addaddresses(Nullable<MOAddress> a){mp_addresses.append(a);}
94 virtual void addcontacts(Nullable<MOContact> a){mp_contacts.append(a);}
101 QDomElement toXml(QDomDocument&doc,QString name=
"Customer");
103 void toXml(QDomDocument&,QDomElement&);
virtual void clearaddresses()
Definition: srcMOCustomerAbstract.h:89
virtual void setcflags(Nullable< QString > s)
Definition: srcMOCustomerAbstract.h:82
virtual Nullable< QString > firstname() const
Definition: srcMOCustomerAbstract.h:56
virtual QList< MOContact > contacts() const
Definition: srcMOCustomerAbstract.h:70
virtual void setaddresses(QList< MOAddress > s)
Definition: srcMOCustomerAbstract.h:88
virtual QList< MOAddress > addresses() const
Definition: srcMOCustomerAbstract.h:68
MOCustomerAbstract()
default constructor: constructs an invalid instance of MOCustomerAbstract
Definition: srcMOCustomerAbstract.h:106
virtual Nullable< QString > tags() const
Definition: srcMOCustomerAbstract.h:64
virtual void setcomments(Nullable< QString > s)
Definition: srcMOCustomerAbstract.h:80
virtual Nullable< QString > title() const
Definition: srcMOCustomerAbstract.h:54
virtual void setfirstname(Nullable< QString > s)
Definition: srcMOCustomerAbstract.h:76
virtual Nullable< QString > comments() const
Definition: srcMOCustomerAbstract.h:60
virtual void clearcontacts()
Definition: srcMOCustomerAbstract.h:93
Nullable< QString > mp_email
Definition: srcMOCustomerAbstract.h:47
Nullable< QString > mp_title
Definition: srcMOCustomerAbstract.h:41
Nullable< QString > mp_tags
Definition: srcMOCustomerAbstract.h:46
virtual void addaddresses(Nullable< MOAddress > a)
Definition: srcMOCustomerAbstract.h:90
Nullable< QString > mp_name
Definition: srcMOCustomerAbstract.h:43
virtual void addcontacts(Nullable< MOContact > a)
Definition: srcMOCustomerAbstract.h:94
QList< MOContact > mp_contacts
Definition: srcMOCustomerAbstract.h:49
QList< MOAddress > mp_addresses
Definition: srcMOCustomerAbstract.h:48
virtual void setid(Nullable< qint64 > s)
Definition: srcMOCustomerAbstract.h:72
virtual void setcontacts(QList< MOContact > s)
Definition: srcMOCustomerAbstract.h:92
virtual void settags(Nullable< QString > s)
Definition: srcMOCustomerAbstract.h:84
virtual Nullable< qint64 > id() const
Definition: srcMOCustomerAbstract.h:52
Nullable< QString > mp_comments
Definition: srcMOCustomerAbstract.h:44
virtual void setemail(Nullable< QString > s)
Definition: srcMOCustomerAbstract.h:86
Nullable< QString > mp_firstname
Definition: srcMOCustomerAbstract.h:42
virtual Nullable< QString > name() const
Definition: srcMOCustomerAbstract.h:58
Definition: srcMOCustomerAbstract.h:16
Q_DECLARE_METATYPE(QDomNode)
virtual void setname(Nullable< QString > s)
Definition: srcMOCustomerAbstract.h:78
virtual void settitle(Nullable< QString > s)
Definition: srcMOCustomerAbstract.h:74
virtual Nullable< QString > cflags() const
Definition: srcMOCustomerAbstract.h:62
Nullable< qint64 > mp_id
Definition: srcMOCustomerAbstract.h:40
virtual ~MOCustomerAbstract()
destructor: deletes this copy of the object
Definition: srcMOCustomerAbstract.h:118
virtual Nullable< QString > email() const
Definition: srcMOCustomerAbstract.h:66
#define WOBGEN_MAGICSMOKE__WOB_EXPORT
Definition: srcMOCustomerAbstract.h:8
Nullable< QString > mp_cflags
Definition: srcMOCustomerAbstract.h:45