MagicSmoke  $VERSION$
srcMOVoucherAudit.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_MOVoucherAudit
4 #define WOBGEN_MOVoucherAudit
5 
6 
7 #ifndef WOBGEN_MAGICSMOKE__WOB_EXPORT
8 #define WOBGEN_MAGICSMOKE__WOB_EXPORT Q_DECL_IMPORT
9 #endif
10 
11 #include "MOVoucher"
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> comment READ comment WRITE setcomment)
25  protected:
26  Nullable<qint64> mp_audittime;
27  Nullable<QString> mp_audituname;
28  Nullable<QString> mp_audittransaction;
29  Nullable<QString> mp_comment;
30  public:
32  virtual Nullable<qint64> audittime()const{return mp_audittime;}
34  virtual Nullable<QString> audituname()const{return mp_audituname;}
36  virtual Nullable<QString> audittransaction()const{return mp_audittransaction;}
38  virtual Nullable<QString> comment()const{return mp_comment;}
40  virtual void setaudittime(Nullable<qint64> s){mp_audittime=s;}
42  virtual void setaudituname(Nullable<QString> s){mp_audituname=s;}
44  virtual void setaudittransaction(Nullable<QString> s){mp_audittransaction=s;}
46  virtual void setcomment(Nullable<QString> s){mp_comment=s;}
47  public:
49  QString toString();
53  QDomElement toXml(QDomDocument&doc,QString name="VoucherAudit");
55  void toXml(QDomDocument&,QDomElement&);
56  public:
64  explicit MOVoucherAudit(const QDomElement&);
66  static MOVoucherAudit fromXml(const QDomElement&);
68  static MOVoucherAudit fromString(const QString&);
70  virtual ~MOVoucherAudit(){}
71 
72 };
76 
77 //END OF AUTOMATICALLY GENERATED FILE
78 #endif
static MOVoucherAbstract fromString(const QString &)
create MOVoucherAbstract from XML formatted string (inverse of toString)
Definition: srcMOVoucherAbstract.cpp:160
Definition: srcMOVoucherAudit.h:14
virtual void setaudittime(Nullable< qint64 > s)
Definition: srcMOVoucherAudit.h:40
Nullable< qint64 > mp_audittime
Definition: srcMOVoucherAudit.h:26
Definition: voucher.h:24
Nullable< QString > mp_audituname
Definition: srcMOVoucherAudit.h:27
virtual Nullable< QString > comment() const
Definition: srcMOVoucherAudit.h:38
virtual Nullable< qint64 > audittime() const
Definition: srcMOVoucherAudit.h:32
Nullable< QString > mp_comment
Definition: srcMOVoucherAudit.h:29
virtual void setaudittransaction(Nullable< QString > s)
Definition: srcMOVoucherAudit.h:44
Nullable< QString > mp_audittransaction
Definition: srcMOVoucherAudit.h:28
virtual ~MOVoucherAudit()
destructor: deletes this copy of the object
Definition: srcMOVoucherAudit.h:70
MOVoucherAudit()
default constructor: constructs an invalid instance of MOVoucherAudit
Definition: srcMOVoucherAudit.h:58
#define WOBGEN_MAGICSMOKE__WOB_EXPORT
Definition: srcMOVoucherAudit.h:8
virtual void setcomment(Nullable< QString > s)
Definition: srcMOVoucherAudit.h:46
virtual Nullable< QString > audituname() const
Definition: srcMOVoucherAudit.h:34
Q_DECLARE_METATYPE(QDomNode)
virtual void setaudituname(Nullable< QString > s)
Definition: srcMOVoucherAudit.h:42
static MOVoucherAbstract fromXml(const QDomElement &)
create MOVoucherAbstract from XML (inverse of toXml)
Definition: srcMOVoucherAbstract.cpp:159
QDomElement toXml(QDomDocument &doc, QString name="Voucher")
Transforms the object into its XML representation, the element node returned is not appended to the d...
Definition: srcMOVoucherAbstract.cpp:51
virtual Nullable< QString > audittransaction() const
Definition: srcMOVoucherAudit.h:36
MOVoucherAbstract & operator=(const MOVoucherAbstract &)
copy assignment: creates a (deep) copy of the object
Definition: srcMOVoucherAbstract.cpp:100
QString toString()
Serializes the object to XML and returns the string representation of that XML.
Definition: srcMOVoucherAbstract.cpp:45