MagicSmoke  $VERSION$
srcMOOrderDocument.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_MOOrderDocument
4 #define WOBGEN_MOOrderDocument
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 
16 {
17  Q_GADGET
19  Q_PROPERTY(Nullable<qint64> fileid READ fileid WRITE setfileid)
21  Q_PROPERTY(Nullable<qint64> orderid READ orderid WRITE setorderid)
23  Q_PROPERTY(Nullable<QString> filename READ filename WRITE setfilename)
25  Q_PROPERTY(Nullable<qint64> mtime READ mtime WRITE setmtime)
27  Q_PROPERTY(Nullable<qint64> rtime READ rtime WRITE setrtime)
29  Q_PROPERTY(Nullable<QByteArray> content READ content WRITE setcontent)
31  Q_PROPERTY(Nullable<bool> visible READ visible WRITE setvisible)
32  protected:
33  Nullable<qint64> mp_fileid;
34  Nullable<qint64> mp_orderid;
35  Nullable<QString> mp_filename;
36  Nullable<qint64> mp_mtime;
37  Nullable<qint64> mp_rtime;
38  Nullable<QByteArray> mp_content;
39  Nullable<bool> mp_visible;
40  public:
42  virtual Nullable<qint64> fileid()const{return mp_fileid;}
44  virtual Nullable<qint64> orderid()const{return mp_orderid;}
46  virtual Nullable<QString> filename()const{return mp_filename;}
48  virtual Nullable<qint64> mtime()const{return mp_mtime;}
50  virtual Nullable<qint64> rtime()const{return mp_rtime;}
52  virtual Nullable<QByteArray> content()const{return mp_content;}
54  virtual Nullable<bool> visible()const{return mp_visible;}
56  virtual void setfileid(Nullable<qint64> s){mp_fileid=s;}
58  virtual void setorderid(Nullable<qint64> s){mp_orderid=s;}
60  virtual void setfilename(Nullable<QString> s){mp_filename=s;}
62  virtual void setmtime(Nullable<qint64> s){mp_mtime=s;}
64  virtual void setrtime(Nullable<qint64> s){mp_rtime=s;}
66  virtual void setcontent(Nullable<QByteArray> s){mp_content=s;}
68  virtual void setvisible(Nullable<bool> s){mp_visible=s;}
69  public:
71  QString toString();
75  QDomElement toXml(QDomDocument&doc,QString name="OrderDocument");
77  void toXml(QDomDocument&,QDomElement&);
78  public:
80  MOOrderDocument():WObject(){}
84  MOOrderDocument& operator=(const MOOrderDocument&);
86  explicit MOOrderDocument(const QDomElement&);
88  static MOOrderDocument fromXml(const QDomElement&);
90  static MOOrderDocument fromString(const QString&);
92  virtual ~MOOrderDocument(){}
93 
94 };
98 
99 //END OF AUTOMATICALLY GENERATED FILE
100 #endif
virtual void setrtime(Nullable< qint64 > s)
Web Retrieval Time.
Definition: srcMOOrderDocument.h:64
virtual void setvisible(Nullable< bool > s)
True if the file is visible for the customer.
Definition: srcMOOrderDocument.h:68
This class represents a document stored for a specific order.
Definition: srcMOOrderDocument.h:15
virtual ~MOOrderDocument()
destructor: deletes this copy of the object
Definition: srcMOOrderDocument.h:92
virtual Nullable< qint64 > mtime() const
Modification Time.
Definition: srcMOOrderDocument.h:48
virtual Nullable< QString > filename() const
The file name of the document.
Definition: srcMOOrderDocument.h:46
Nullable< qint64 > mp_fileid
Definition: srcMOOrderDocument.h:33
virtual Nullable< qint64 > orderid() const
The order it belongs to.
Definition: srcMOOrderDocument.h:44
virtual void setcontent(Nullable< QByteArray > s)
File Content.
Definition: srcMOOrderDocument.h:66
MOOrderDocument()
default constructor: constructs an invalid instance of MOOrderDocument
Definition: srcMOOrderDocument.h:80
Nullable< QByteArray > mp_content
Definition: srcMOOrderDocument.h:38
Nullable< bool > mp_visible
Definition: srcMOOrderDocument.h:39
virtual Nullable< QByteArray > content() const
File Content.
Definition: srcMOOrderDocument.h:52
#define WOBGEN_MAGICSMOKE__WOB_EXPORT
Definition: srcMOOrderDocument.h:8
virtual Nullable< bool > visible() const
True if the file is visible for the customer.
Definition: srcMOOrderDocument.h:54
virtual void setfileid(Nullable< qint64 > s)
Informational: internal file ID.
Definition: srcMOOrderDocument.h:56
virtual void setorderid(Nullable< qint64 > s)
The order it belongs to.
Definition: srcMOOrderDocument.h:58
Nullable< qint64 > mp_orderid
Definition: srcMOOrderDocument.h:34
virtual void setmtime(Nullable< qint64 > s)
Modification Time.
Definition: srcMOOrderDocument.h:62
Q_DECLARE_METATYPE(QDomNode)
Nullable< qint64 > mp_mtime
Definition: srcMOOrderDocument.h:36
virtual void setfilename(Nullable< QString > s)
The file name of the document.
Definition: srcMOOrderDocument.h:60
Nullable< QString > mp_filename
Definition: srcMOOrderDocument.h:35
Nullable< qint64 > mp_rtime
Definition: srcMOOrderDocument.h:37
virtual Nullable< qint64 > rtime() const
Web Retrieval Time.
Definition: srcMOOrderDocument.h:50
virtual Nullable< qint64 > fileid() const
Informational: internal file ID.
Definition: srcMOOrderDocument.h:42