3 #ifndef WOBGEN_MOOrderDocumentInfo
4 #define WOBGEN_MOOrderDocumentInfo
7 #ifndef WOBGEN_MAGICSMOKE__WOB_EXPORT
8 #define WOBGEN_MAGICSMOKE__WOB_EXPORT Q_DECL_IMPORT
12 #include <QCoreApplication>
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)
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;}
58 virtual void setmtime(Nullable<qint64> s){mp_mtime=s;}
60 virtual void setrtime(Nullable<qint64> s){mp_rtime=s;}
69 QDomElement toXml(QDomDocument&doc,QString name=
"OrderDocumentInfo");
71 void toXml(QDomDocument&,QDomElement&);
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