MagicSmoke  $VERSION$
srcMOTicketAudit.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_MOTicketAudit
4 #define WOBGEN_MOTicketAudit
5 
6 
7 #ifndef WOBGEN_MAGICSMOKE__WOB_EXPORT
8 #define WOBGEN_MAGICSMOKE__WOB_EXPORT Q_DECL_IMPORT
9 #endif
10 
11 #include "MOTicket"
12 #include <QCoreApplication>
13 
15 {
16  Q_GADGET
18  Q_PROPERTY(Nullable<qint64> audittime READ audittime WRITE setaudittime)
20  Q_PROPERTY(Nullable<QString> audituname READ audituname WRITE setaudituname)
22  Q_PROPERTY(Nullable<QString> audittransaction READ audittransaction WRITE setaudittransaction)
24  Q_PROPERTY(Nullable<QString> eventname READ eventname WRITE seteventname)
26  Q_PROPERTY(Nullable<qint64> eventstart READ eventstart WRITE seteventstart)
27  protected:
28  Nullable<qint64> mp_audittime;
29  Nullable<QString> mp_audituname;
30  Nullable<QString> mp_audittransaction;
31  Nullable<QString> mp_eventname;
32  Nullable<qint64> mp_eventstart;
33  public:
35  virtual Nullable<qint64> audittime()const{return mp_audittime;}
37  virtual Nullable<QString> audituname()const{return mp_audituname;}
39  virtual Nullable<QString> audittransaction()const{return mp_audittransaction;}
41  virtual Nullable<QString> eventname()const{return mp_eventname;}
43  virtual Nullable<qint64> eventstart()const{return mp_eventstart;}
45  virtual void setaudittime(Nullable<qint64> s){mp_audittime=s;}
47  virtual void setaudituname(Nullable<QString> s){mp_audituname=s;}
49  virtual void setaudittransaction(Nullable<QString> s){mp_audittransaction=s;}
51  virtual void seteventname(Nullable<QString> s){mp_eventname=s;}
53  virtual void seteventstart(Nullable<qint64> s){mp_eventstart=s;}
54  public:
56  QString toString();
60  QDomElement toXml(QDomDocument&doc,QString name="TicketAudit");
62  void toXml(QDomDocument&,QDomElement&);
63  public:
71  explicit MOTicketAudit(const QDomElement&);
73  static MOTicketAudit fromXml(const QDomElement&);
75  static MOTicketAudit fromString(const QString&);
77  virtual ~MOTicketAudit(){}
78 
79 };
83 
84 //END OF AUTOMATICALLY GENERATED FILE
85 #endif
virtual Nullable< QString > audituname() const
Definition: srcMOTicketAudit.h:37
static MOTicketAbstract fromXml(const QDomElement &)
create MOTicketAbstract from XML (inverse of toXml)
Definition: srcMOTicketAbstract.cpp:192
virtual void seteventname(Nullable< QString > s)
Definition: srcMOTicketAudit.h:51
Nullable< QString > mp_audittransaction
Definition: srcMOTicketAudit.h:30
QString toString()
Serializes the object to XML and returns the string representation of that XML.
Definition: srcMOTicketAbstract.cpp:69
Nullable< qint64 > mp_eventstart
Definition: srcMOTicketAudit.h:32
static MOTicketAbstract fromString(const QString &)
create MOTicketAbstract from XML formatted string (inverse of toString)
Definition: srcMOTicketAbstract.cpp:193
MOTicketAbstract & operator=(const MOTicketAbstract &)
copy assignment: creates a (deep) copy of the object
Definition: srcMOTicketAbstract.cpp:128
Definition: ticket.h:25
Nullable< QString > mp_eventname
Definition: srcMOTicketAudit.h:31
QDomElement toXml(QDomDocument &doc, QString name="Ticket")
Transforms the object into its XML representation, the element node returned is not appended to the d...
Definition: srcMOTicketAbstract.cpp:75
virtual void setaudittime(Nullable< qint64 > s)
Definition: srcMOTicketAudit.h:45
virtual void setaudittransaction(Nullable< QString > s)
Definition: srcMOTicketAudit.h:49
Nullable< QString > mp_audituname
Definition: srcMOTicketAudit.h:29
virtual Nullable< QString > audittransaction() const
Definition: srcMOTicketAudit.h:39
virtual void setaudituname(Nullable< QString > s)
Definition: srcMOTicketAudit.h:47
Nullable< qint64 > mp_audittime
Definition: srcMOTicketAudit.h:28
virtual void seteventstart(Nullable< qint64 > s)
Definition: srcMOTicketAudit.h:53
virtual Nullable< qint64 > audittime() const
Definition: srcMOTicketAudit.h:35
virtual Nullable< QString > eventname() const
Definition: srcMOTicketAudit.h:41
Q_DECLARE_METATYPE(QDomNode)
virtual Nullable< qint64 > eventstart() const
Definition: srcMOTicketAudit.h:43
#define WOBGEN_MAGICSMOKE__WOB_EXPORT
Definition: srcMOTicketAudit.h:8
Definition: srcMOTicketAudit.h:14
MOTicketAudit()
default constructor: constructs an invalid instance of MOTicketAudit
Definition: srcMOTicketAudit.h:65
virtual ~MOTicketAudit()
destructor: deletes this copy of the object
Definition: srcMOTicketAudit.h:77