3 #ifndef WOBGEN_MOOrderDocument
4 #define WOBGEN_MOOrderDocument
7 #ifndef WOBGEN_MAGICSMOKE__WOB_EXPORT
8 #define WOBGEN_MAGICSMOKE__WOB_EXPORT Q_DECL_IMPORT
12 #include <QCoreApplication>
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)
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;}
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;}
75 QDomElement toXml(QDomDocument&doc,QString name=
"OrderDocument");
77 void toXml(QDomDocument&,QDomElement&);
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