3 #ifndef WOBGEN_MOWebSession
4 #define WOBGEN_MOWebSession
7 #ifndef WOBGEN_MAGICSMOKE__WOB_EXPORT
8 #define WOBGEN_MAGICSMOKE__WOB_EXPORT Q_DECL_IMPORT
12 #include <QCoreApplication>
19 Q_PROPERTY(Nullable<QString> sessionid READ sessionid WRITE setsessionid)
21 Q_PROPERTY(Nullable<qint64> customerid READ customerid WRITE setcustomerid)
23 Q_PROPERTY(Nullable<MOCustomer> customer READ customer WRITE setcustomer)
25 Q_PROPERTY(Nullable<qint64> timeout READ timeout WRITE settimeout)
33 virtual Nullable<QString>
sessionid()
const{
return mp_sessionid;}
35 virtual Nullable<qint64>
customerid()
const{
return mp_customerid;}
37 virtual Nullable<MOCustomer>
customer()
const{
return mp_customer;}
39 virtual Nullable<qint64>
timeout()
const{
return mp_timeout;}
45 virtual void setcustomer(Nullable<MOCustomer> s){mp_customer=s;}
47 virtual void settimeout(Nullable<qint64> s){mp_timeout=s;}
54 QDomElement toXml(QDomDocument&doc,QString name=
"WebSession");
56 void toXml(QDomDocument&,QDomElement&);
Nullable< MOCustomer > mp_customer
Definition: srcMOWebSession.h:29
virtual void setsessionid(Nullable< QString > s)
Cookie for this session.
Definition: srcMOWebSession.h:41
Nullable< qint64 > mp_timeout
Definition: srcMOWebSession.h:30
#define WOBGEN_MAGICSMOKE__WOB_EXPORT
Definition: srcMOWebSession.h:8
virtual ~MOWebSession()
destructor: deletes this copy of the object
Definition: srcMOWebSession.h:71
virtual void settimeout(Nullable< qint64 > s)
time at which this cookie is deleted
Definition: srcMOWebSession.h:47
virtual Nullable< qint64 > timeout() const
time at which this cookie is deleted
Definition: srcMOWebSession.h:39
MOWebSession()
default constructor: constructs an invalid instance of MOWebSession
Definition: srcMOWebSession.h:59
Nullable< QString > mp_sessionid
Definition: srcMOWebSession.h:27
virtual Nullable< QString > sessionid() const
Cookie for this session.
Definition: srcMOWebSession.h:33
virtual Nullable< MOCustomer > customer() const
customer object or null
Definition: srcMOWebSession.h:37
Nullable< qint64 > mp_customerid
Definition: srcMOWebSession.h:28
virtual void setcustomerid(Nullable< qint64 > s)
ID of the customer using this session or null.
Definition: srcMOWebSession.h:43
virtual void setcustomer(Nullable< MOCustomer > s)
customer object or null
Definition: srcMOWebSession.h:45
Definition: srcMOWebSession.h:15
Q_DECLARE_METATYPE(QDomNode)
virtual Nullable< qint64 > customerid() const
ID of the customer using this session or null.
Definition: srcMOWebSession.h:35