MagicSmoke  $VERSION$
srcMOEventAbstract.h
Go to the documentation of this file.
1 //BEGIN OF AUTOMATICALLY GENERATED FILE
2 //DO NOT EDIT THIS FILE DIRECTLY, USE THE XML SOURCE!
3 #ifndef WOBGEN_MOEventAbstract
4 #define WOBGEN_MOEventAbstract
5 
6 
7 #ifndef WOBGEN_MAGICSMOKE__WOB_EXPORT
8 #define WOBGEN_MAGICSMOKE__WOB_EXPORT Q_DECL_IMPORT
9 #endif
10 
11 #include "WObject"
12 #include <QCoreApplication>
13 
14 #include "MOEventPrice"
15 #include "MOArtist"
16 #include "MOSeatPlanInfo"
18 {
19  Q_GADGET
21  Q_PROPERTY(Nullable<qint64> id READ id WRITE setid)
23  Q_PROPERTY(Nullable<qint64> start READ start WRITE setstart)
25  Q_PROPERTY(Nullable<qint64> end READ end WRITE setend)
27  Q_PROPERTY(Nullable<qint64> capacity READ capacity WRITE setcapacity)
29  Q_PROPERTY(QList<MOEventPrice> price READ price WRITE setprice)
31  Q_PROPERTY(Nullable<QString> title READ title WRITE settitle)
33  Q_PROPERTY(Nullable<qint64> artistid READ artistid WRITE setartistid)
35  Q_PROPERTY(Nullable<MOArtist> artist READ artist WRITE setartist)
37  Q_PROPERTY(Nullable<QString> room READ room WRITE setroom)
39  Q_PROPERTY(Nullable<qint64> seatplanid READ seatplanid WRITE setseatplanid)
41  Q_PROPERTY(Nullable<MOSeatPlanInfo> seatplan READ seatplan WRITE setseatplan)
43  Q_PROPERTY(Nullable<bool> iscancelled READ iscancelled WRITE setiscancelled)
45  Q_PROPERTY(Nullable<QString> cancelreason READ cancelreason WRITE setcancelreason)
47  Q_PROPERTY(Nullable<qint64> amountSold READ amountSold WRITE setamountSold)
49  Q_PROPERTY(Nullable<qint64> amountReserved READ amountReserved WRITE setamountReserved)
51  Q_PROPERTY(Nullable<qint64> amountFree READ amountFree WRITE setamountFree)
53  Q_PROPERTY(Nullable<QString> description READ description WRITE setdescription)
55  Q_PROPERTY(Nullable<QString> comment READ comment WRITE setcomment)
57  Q_PROPERTY(Nullable<qint64> tax READ tax WRITE settax)
59  Q_PROPERTY(Nullable<QString> flags READ flags WRITE setflags)
61  Q_PROPERTY(Nullable<QString> tags READ tags WRITE settags)
63  Q_PROPERTY(Nullable<bool> canuse READ canuse WRITE setcanuse)
64  protected:
65  Nullable<qint64> mp_id;
66  Nullable<qint64> mp_start;
67  Nullable<qint64> mp_end;
68  Nullable<qint64> mp_capacity;
69  QList<MOEventPrice> mp_price;
70  Nullable<QString> mp_title;
71  Nullable<qint64> mp_artistid;
72  Nullable<MOArtist> mp_artist;
73  Nullable<QString> mp_room;
74  Nullable<qint64> mp_seatplanid;
75  Nullable<MOSeatPlanInfo> mp_seatplan;
76  Nullable<bool> mp_iscancelled;
77  Nullable<QString> mp_cancelreason;
78  Nullable<qint64> mp_amountSold;
79  Nullable<qint64> mp_amountReserved;
80  Nullable<qint64> mp_amountFree;
81  Nullable<QString> mp_description;
82  Nullable<QString> mp_comment;
83  Nullable<qint64> mp_tax;
84  Nullable<QString> mp_flags;
85  Nullable<QString> mp_tags;
86  Nullable<bool> mp_canuse;
87  public:
89  virtual Nullable<qint64> id()const{return mp_id;}
91  virtual Nullable<qint64> start()const{return mp_start;}
93  virtual Nullable<qint64> end()const{return mp_end;}
95  virtual Nullable<qint64> capacity()const{return mp_capacity;}
97  virtual QList<MOEventPrice> price()const{return mp_price;}
99  virtual Nullable<QString> title()const{return mp_title;}
101  virtual Nullable<qint64> artistid()const{return mp_artistid;}
103  virtual Nullable<MOArtist> artist()const{return mp_artist;}
105  virtual Nullable<QString> room()const{return mp_room;}
107  virtual Nullable<qint64> seatplanid()const{return mp_seatplanid;}
109  virtual Nullable<MOSeatPlanInfo> seatplan()const{return mp_seatplan;}
111  virtual Nullable<bool> iscancelled()const{return mp_iscancelled;}
113  virtual Nullable<QString> cancelreason()const{return mp_cancelreason;}
115  virtual Nullable<qint64> amountSold()const{return mp_amountSold;}
117  virtual Nullable<qint64> amountReserved()const{return mp_amountReserved;}
119  virtual Nullable<qint64> amountFree()const{return mp_amountFree;}
121  virtual Nullable<QString> description()const{return mp_description;}
123  virtual Nullable<QString> comment()const{return mp_comment;}
125  virtual Nullable<qint64> tax()const{return mp_tax;}
127  virtual Nullable<QString> flags()const{return mp_flags;}
129  virtual Nullable<QString> tags()const{return mp_tags;}
131  virtual Nullable<bool> canuse()const{return mp_canuse;}
133  virtual void setid(Nullable<qint64> s){mp_id=s;}
135  virtual void setstart(Nullable<qint64> s){mp_start=s;}
137  virtual void setend(Nullable<qint64> s){mp_end=s;}
139  virtual void setcapacity(Nullable<qint64> s){mp_capacity=s;}
141  virtual void setprice(QList<MOEventPrice> s){mp_price=s;}
142  virtual void clearprice(){mp_price.clear();}
143  virtual void addprice(Nullable<MOEventPrice> a){mp_price.append(a);}
145  virtual void settitle(Nullable<QString> s){mp_title=s;}
147  virtual void setartistid(Nullable<qint64> s){mp_artistid=s;}
149  virtual void setartist(Nullable<MOArtist> s){mp_artist=s;}
151  virtual void setroom(Nullable<QString> s){mp_room=s;}
153  virtual void setseatplanid(Nullable<qint64> s){mp_seatplanid=s;}
155  virtual void setseatplan(Nullable<MOSeatPlanInfo> s){mp_seatplan=s;}
157  virtual void setiscancelled(Nullable<bool> s){mp_iscancelled=s;}
159  virtual void setcancelreason(Nullable<QString> s){mp_cancelreason=s;}
161  virtual void setamountSold(Nullable<qint64> s){mp_amountSold=s;}
163  virtual void setamountReserved(Nullable<qint64> s){mp_amountReserved=s;}
165  virtual void setamountFree(Nullable<qint64> s){mp_amountFree=s;}
167  virtual void setdescription(Nullable<QString> s){mp_description=s;}
169  virtual void setcomment(Nullable<QString> s){mp_comment=s;}
171  virtual void settax(Nullable<qint64> s){mp_tax=s;}
173  virtual void setflags(Nullable<QString> s){mp_flags=s;}
175  virtual void settags(Nullable<QString> s){mp_tags=s;}
177  virtual void setcanuse(Nullable<bool> s){mp_canuse=s;}
178  public:
180  QString toString();
184  QDomElement toXml(QDomDocument&doc,QString name="Event");
186  void toXml(QDomDocument&,QDomElement&);
187  public:
189  MOEventAbstract():WObject(){}
193  MOEventAbstract& operator=(const MOEventAbstract&);
195  explicit MOEventAbstract(const QDomElement&);
197  static MOEventAbstract fromXml(const QDomElement&);
199  static MOEventAbstract fromString(const QString&);
201  virtual ~MOEventAbstract(){}
202 
203 };
207 
208 //END OF AUTOMATICALLY GENERATED FILE
209 #endif
Nullable< QString > mp_description
Definition: srcMOEventAbstract.h:81
QList< MOEventPrice > mp_price
Definition: srcMOEventAbstract.h:69
virtual Nullable< qint64 > capacity() const
Definition: srcMOEventAbstract.h:95
virtual void setcomment(Nullable< QString > s)
Definition: srcMOEventAbstract.h:169
MOEventAbstract()
default constructor: constructs an invalid instance of MOEventAbstract
Definition: srcMOEventAbstract.h:189
virtual void setid(Nullable< qint64 > s)
Definition: srcMOEventAbstract.h:133
virtual void setamountReserved(Nullable< qint64 > s)
Definition: srcMOEventAbstract.h:163
Nullable< QString > mp_comment
Definition: srcMOEventAbstract.h:82
Nullable< qint64 > mp_id
Definition: srcMOEventAbstract.h:65
virtual void settitle(Nullable< QString > s)
Definition: srcMOEventAbstract.h:145
QDomNodeIterator end(const QDomNodeList &l)
Definition: domiterator.h:41
Nullable< QString > mp_flags
Definition: srcMOEventAbstract.h:84
virtual Nullable< QString > tags() const
Definition: srcMOEventAbstract.h:129
virtual void setartistid(Nullable< qint64 > s)
Definition: srcMOEventAbstract.h:147
virtual Nullable< qint64 > start() const
Definition: srcMOEventAbstract.h:91
Nullable< qint64 > mp_amountSold
Definition: srcMOEventAbstract.h:78
virtual void setcanuse(Nullable< bool > s)
Definition: srcMOEventAbstract.h:177
virtual Nullable< MOSeatPlanInfo > seatplan() const
Definition: srcMOEventAbstract.h:109
virtual void setartist(Nullable< MOArtist > s)
Definition: srcMOEventAbstract.h:149
Nullable< MOSeatPlanInfo > mp_seatplan
Definition: srcMOEventAbstract.h:75
Nullable< QString > mp_title
Definition: srcMOEventAbstract.h:70
Nullable< QString > mp_tags
Definition: srcMOEventAbstract.h:85
virtual void settax(Nullable< qint64 > s)
Definition: srcMOEventAbstract.h:171
virtual Nullable< bool > canuse() const
Definition: srcMOEventAbstract.h:131
Nullable< qint64 > mp_amountFree
Definition: srcMOEventAbstract.h:80
Nullable< qint64 > mp_end
Definition: srcMOEventAbstract.h:67
Nullable< bool > mp_iscancelled
Definition: srcMOEventAbstract.h:76
virtual Nullable< qint64 > id() const
Definition: srcMOEventAbstract.h:89
virtual Nullable< qint64 > artistid() const
Definition: srcMOEventAbstract.h:101
virtual void clearprice()
Definition: srcMOEventAbstract.h:142
virtual void setseatplan(Nullable< MOSeatPlanInfo > s)
Definition: srcMOEventAbstract.h:155
virtual void setiscancelled(Nullable< bool > s)
Definition: srcMOEventAbstract.h:157
virtual void setstart(Nullable< qint64 > s)
Definition: srcMOEventAbstract.h:135
virtual Nullable< qint64 > tax() const
Definition: srcMOEventAbstract.h:125
virtual Nullable< qint64 > amountReserved() const
Definition: srcMOEventAbstract.h:117
virtual Nullable< QString > comment() const
Definition: srcMOEventAbstract.h:123
Nullable< qint64 > mp_seatplanid
Definition: srcMOEventAbstract.h:74
virtual Nullable< QString > description() const
Definition: srcMOEventAbstract.h:121
virtual void setamountSold(Nullable< qint64 > s)
Definition: srcMOEventAbstract.h:161
virtual Nullable< qint64 > end() const
Definition: srcMOEventAbstract.h:93
virtual void setamountFree(Nullable< qint64 > s)
Definition: srcMOEventAbstract.h:165
virtual ~MOEventAbstract()
destructor: deletes this copy of the object
Definition: srcMOEventAbstract.h:201
virtual void setend(Nullable< qint64 > s)
Definition: srcMOEventAbstract.h:137
Nullable< qint64 > mp_amountReserved
Definition: srcMOEventAbstract.h:79
Nullable< qint64 > mp_tax
Definition: srcMOEventAbstract.h:83
virtual Nullable< MOArtist > artist() const
Definition: srcMOEventAbstract.h:103
virtual Nullable< bool > iscancelled() const
Definition: srcMOEventAbstract.h:111
virtual Nullable< qint64 > amountSold() const
Definition: srcMOEventAbstract.h:115
virtual void setprice(QList< MOEventPrice > s)
Definition: srcMOEventAbstract.h:141
virtual Nullable< QString > cancelreason() const
Definition: srcMOEventAbstract.h:113
virtual void setseatplanid(Nullable< qint64 > s)
Definition: srcMOEventAbstract.h:153
virtual Nullable< QString > title() const
Definition: srcMOEventAbstract.h:99
virtual Nullable< QString > flags() const
Definition: srcMOEventAbstract.h:127
Q_DECLARE_METATYPE(QDomNode)
virtual QList< MOEventPrice > price() const
Definition: srcMOEventAbstract.h:97
virtual void settags(Nullable< QString > s)
Definition: srcMOEventAbstract.h:175
virtual void setroom(Nullable< QString > s)
Definition: srcMOEventAbstract.h:151
Nullable< MOArtist > mp_artist
Definition: srcMOEventAbstract.h:72
Nullable< qint64 > mp_start
Definition: srcMOEventAbstract.h:66
virtual Nullable< qint64 > amountFree() const
Definition: srcMOEventAbstract.h:119
virtual void setcapacity(Nullable< qint64 > s)
Definition: srcMOEventAbstract.h:139
Nullable< bool > mp_canuse
Definition: srcMOEventAbstract.h:86
Definition: srcMOEventAbstract.h:17
Nullable< qint64 > mp_capacity
Definition: srcMOEventAbstract.h:68
Nullable< QString > mp_room
Definition: srcMOEventAbstract.h:73
virtual void setflags(Nullable< QString > s)
Definition: srcMOEventAbstract.h:173
Nullable< QString > mp_cancelreason
Definition: srcMOEventAbstract.h:77
virtual void addprice(Nullable< MOEventPrice > a)
Definition: srcMOEventAbstract.h:143
Nullable< qint64 > mp_artistid
Definition: srcMOEventAbstract.h:71
virtual void setcancelreason(Nullable< QString > s)
Definition: srcMOEventAbstract.h:159
virtual Nullable< qint64 > seatplanid() const
Definition: srcMOEventAbstract.h:107
#define WOBGEN_MAGICSMOKE__WOB_EXPORT
Definition: srcMOEventAbstract.h:8
virtual void setdescription(Nullable< QString > s)
Definition: srcMOEventAbstract.h:167
virtual Nullable< QString > room() const
Definition: srcMOEventAbstract.h:105