MagicSmoke  $VERSION$
srcMOCustomerInfoAbstract.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_MOCustomerInfoAbstract
4 #define WOBGEN_MOCustomerInfoAbstract
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 
18 {
19  Q_GADGET
21  Q_PROPERTY(Nullable<qint64> customerid READ customerid WRITE setcustomerid)
23  Q_PROPERTY(Nullable<QString> title READ title WRITE settitle)
25  Q_PROPERTY(Nullable<QString> firstname READ firstname WRITE setfirstname)
27  Q_PROPERTY(Nullable<QString> name READ name WRITE setname)
28  protected:
29  Nullable<qint64> mp_customerid;
30  Nullable<QString> mp_title;
31  Nullable<QString> mp_firstname;
32  Nullable<QString> mp_name;
33  public:
35  virtual Nullable<qint64> customerid()const{return mp_customerid;}
37  virtual Nullable<QString> title()const{return mp_title;}
39  virtual Nullable<QString> firstname()const{return mp_firstname;}
41  virtual Nullable<QString> name()const{return mp_name;}
43  virtual void setcustomerid(Nullable<qint64> s){mp_customerid=s;}
45  virtual void settitle(Nullable<QString> s){mp_title=s;}
47  virtual void setfirstname(Nullable<QString> s){mp_firstname=s;}
49  virtual void setname(Nullable<QString> s){mp_name=s;}
50  public:
52  QString toString();
56  QDomElement toXml(QDomDocument&doc,QString name="CustomerInfo");
58  void toXml(QDomDocument&,QDomElement&);
59  public:
61  MOCustomerInfoAbstract():WObject(){}
67  explicit MOCustomerInfoAbstract(const QDomElement&);
69  static MOCustomerInfoAbstract fromXml(const QDomElement&);
71  static MOCustomerInfoAbstract fromString(const QString&);
74 
75 };
79 
80 //END OF AUTOMATICALLY GENERATED FILE
81 #endif
virtual Nullable< QString > firstname() const
Definition: srcMOCustomerInfoAbstract.h:39
virtual void setfirstname(Nullable< QString > s)
Definition: srcMOCustomerInfoAbstract.h:47
MOCustomerInfoAbstract()
default constructor: constructs an invalid instance of MOCustomerInfoAbstract
Definition: srcMOCustomerInfoAbstract.h:61
virtual Nullable< QString > name() const
Definition: srcMOCustomerInfoAbstract.h:41
virtual Nullable< QString > title() const
Definition: srcMOCustomerInfoAbstract.h:37
virtual void setcustomerid(Nullable< qint64 > s)
Definition: srcMOCustomerInfoAbstract.h:43
Nullable< QString > mp_name
Definition: srcMOCustomerInfoAbstract.h:32
virtual void setname(Nullable< QString > s)
Definition: srcMOCustomerInfoAbstract.h:49
Nullable< qint64 > mp_customerid
Definition: srcMOCustomerInfoAbstract.h:29
virtual Nullable< qint64 > customerid() const
Definition: srcMOCustomerInfoAbstract.h:35
Nullable< QString > mp_title
Definition: srcMOCustomerInfoAbstract.h:30
virtual void settitle(Nullable< QString > s)
Definition: srcMOCustomerInfoAbstract.h:45
Nullable< QString > mp_firstname
Definition: srcMOCustomerInfoAbstract.h:31
This class encapsulates the most basic information about a customer.
Definition: srcMOCustomerInfoAbstract.h:17
virtual ~MOCustomerInfoAbstract()
destructor: deletes this copy of the object
Definition: srcMOCustomerInfoAbstract.h:73
Q_DECLARE_METATYPE(QDomNode)
#define WOBGEN_MAGICSMOKE__WOB_EXPORT
Definition: srcMOCustomerInfoAbstract.h:8