MagicSmoke  $VERSION$
srcMOOrderDocumentInfo.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_MOOrderDocumentInfo
4 #define WOBGEN_MOOrderDocumentInfo
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 
17 {
18  Q_GADGET
20  Q_PROPERTY(Nullable<qint64> fileid READ fileid WRITE setfileid)
22  Q_PROPERTY(Nullable<qint64> orderid READ orderid WRITE setorderid)
24  Q_PROPERTY(Nullable<QString> filename READ filename WRITE setfilename)
26  Q_PROPERTY(Nullable<qint64> mtime READ mtime WRITE setmtime)
28  Q_PROPERTY(Nullable<qint64> rtime READ rtime WRITE setrtime)
30  Q_PROPERTY(Nullable<bool> visible READ visible WRITE setvisible)
31  protected:
32  Nullable<qint64> mp_fileid;
33  Nullable<qint64> mp_orderid;
34  Nullable<QString> mp_filename;
35  Nullable<qint64> mp_mtime;
36  Nullable<qint64> mp_rtime;
37  Nullable<bool> mp_visible;
38  public:
40  virtual Nullable<qint64> fileid()const{return mp_fileid;}
42  virtual Nullable<qint64> orderid()const{return mp_orderid;}
44  virtual Nullable<QString> filename()const{return mp_filename;}
46  virtual Nullable<qint64> mtime()const{return mp_mtime;}
48  virtual Nullable<qint64> rtime()const{return mp_rtime;}
50  virtual Nullable<bool> visible()const{return mp_visible;}
52  virtual void setfileid(Nullable<qint64> s){mp_fileid=s;}
54  virtual void setorderid(Nullable<qint64> s){mp_orderid=s;}
56  virtual void setfilename(Nullable<QString> s){mp_filename=s;}
58  virtual void setmtime(Nullable<qint64> s){mp_mtime=s;}
60  virtual void setrtime(Nullable<qint64> s){mp_rtime=s;}
62  virtual void setvisible(Nullable<bool> s){mp_visible=s;}
63  public:
65  QString toString();
69  QDomElement toXml(QDomDocument&doc,QString name="OrderDocumentInfo");
71  void toXml(QDomDocument&,QDomElement&);
72  public:
74  MOOrderDocumentInfo():WObject(){}
78  MOOrderDocumentInfo& operator=(const MOOrderDocumentInfo&);
80  explicit MOOrderDocumentInfo(const QDomElement&);
82  static MOOrderDocumentInfo fromXml(const QDomElement&);
84  static MOOrderDocumentInfo fromString(const QString&);
87 
88 };
92 
93 //END OF AUTOMATICALLY GENERATED FILE
94 #endif
Nullable< qint64 > mp_mtime
Definition: srcMOOrderDocumentInfo.h:35
virtual void setmtime(Nullable< qint64 > s)
Modification Time.
Definition: srcMOOrderDocumentInfo.h:58
virtual void setorderid(Nullable< qint64 > s)
The order it belongs to.
Definition: srcMOOrderDocumentInfo.h:54
virtual ~MOOrderDocumentInfo()
destructor: deletes this copy of the object
Definition: srcMOOrderDocumentInfo.h:86
Nullable< qint64 > mp_orderid
Definition: srcMOOrderDocumentInfo.h:33
virtual Nullable< qint64 > fileid() const
Informational: internal file ID.
Definition: srcMOOrderDocumentInfo.h:40
virtual void setrtime(Nullable< qint64 > s)
Web Retrieval Time.
Definition: srcMOOrderDocumentInfo.h:60
virtual void setfilename(Nullable< QString > s)
The file name of the document.
Definition: srcMOOrderDocumentInfo.h:56
virtual void setvisible(Nullable< bool > s)
True if the file is visible for the customer.
Definition: srcMOOrderDocumentInfo.h:62
This class represents a document stored for a specific order without the actual content blob...
Definition: srcMOOrderDocumentInfo.h:16
virtual void setfileid(Nullable< qint64 > s)
Informational: internal file ID.
Definition: srcMOOrderDocumentInfo.h:52
MOOrderDocumentInfo()
default constructor: constructs an invalid instance of MOOrderDocumentInfo
Definition: srcMOOrderDocumentInfo.h:74
virtual Nullable< QString > filename() const
The file name of the document.
Definition: srcMOOrderDocumentInfo.h:44
virtual Nullable< qint64 > rtime() const
Web Retrieval Time.
Definition: srcMOOrderDocumentInfo.h:48
virtual Nullable< bool > visible() const
True if the file is visible for the customer.
Definition: srcMOOrderDocumentInfo.h:50
virtual Nullable< qint64 > mtime() const
Modification Time.
Definition: srcMOOrderDocumentInfo.h:46
virtual Nullable< qint64 > orderid() const
The order it belongs to.
Definition: srcMOOrderDocumentInfo.h:42
Q_DECLARE_METATYPE(QDomNode)
Nullable< bool > mp_visible
Definition: srcMOOrderDocumentInfo.h:37
Nullable< qint64 > mp_rtime
Definition: srcMOOrderDocumentInfo.h:36
#define WOBGEN_MAGICSMOKE__WOB_EXPORT
Definition: srcMOOrderDocumentInfo.h:8
Nullable< qint64 > mp_fileid
Definition: srcMOOrderDocumentInfo.h:32
Nullable< QString > mp_filename
Definition: srcMOOrderDocumentInfo.h:34