MagicSmoke  $VERSION$
srcMOContact.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_MOContact
4 #define WOBGEN_MOContact
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 
14 #include "MOContactType"
16 {
17  Q_GADGET
19  Q_PROPERTY(Nullable<qint64> contactid READ contactid WRITE setcontactid)
21  Q_PROPERTY(Nullable<qint64> customerid READ customerid WRITE setcustomerid)
23  Q_PROPERTY(Nullable<qint64> contacttypeid READ contacttypeid WRITE setcontacttypeid)
25  Q_PROPERTY(Nullable<QString> contact READ contact WRITE setcontact)
27  Q_PROPERTY(Nullable<MOContactType> contacttype READ contacttype WRITE setcontacttype)
28  protected:
29  Nullable<qint64> mp_contactid;
30  Nullable<qint64> mp_customerid;
31  Nullable<qint64> mp_contacttypeid;
32  Nullable<QString> mp_contact;
33  Nullable<MOContactType> mp_contacttype;
34  public:
36  virtual Nullable<qint64> contactid()const{return mp_contactid;}
38  virtual Nullable<qint64> customerid()const{return mp_customerid;}
40  virtual Nullable<qint64> contacttypeid()const{return mp_contacttypeid;}
42  virtual Nullable<QString> contact()const{return mp_contact;}
44  virtual Nullable<MOContactType> contacttype()const{return mp_contacttype;}
46  virtual void setcontactid(Nullable<qint64> s){mp_contactid=s;}
48  virtual void setcustomerid(Nullable<qint64> s){mp_customerid=s;}
50  virtual void setcontacttypeid(Nullable<qint64> s){mp_contacttypeid=s;}
52  virtual void setcontact(Nullable<QString> s){mp_contact=s;}
54  virtual void setcontacttype(Nullable<MOContactType> s){mp_contacttype=s;}
55  public:
57  QString toString();
61  QDomElement toXml(QDomDocument&doc,QString name="Contact");
63  void toXml(QDomDocument&,QDomElement&);
64  public:
66  MOContact():WObject(){}
68  MOContact(const MOContact&);
70  MOContact& operator=(const MOContact&);
72  explicit MOContact(const QDomElement&);
74  static MOContact fromXml(const QDomElement&);
76  static MOContact fromString(const QString&);
78  virtual ~MOContact(){}
79 
80 };
84 
85 //END OF AUTOMATICALLY GENERATED FILE
86 #endif
Nullable< MOContactType > mp_contacttype
Definition: srcMOContact.h:33
virtual void setcustomerid(Nullable< qint64 > s)
Definition: srcMOContact.h:48
Nullable< QString > mp_contact
Definition: srcMOContact.h:32
virtual void setcontacttype(Nullable< MOContactType > s)
Definition: srcMOContact.h:54
#define WOBGEN_MAGICSMOKE__WOB_EXPORT
Definition: srcMOContact.h:8
virtual void setcontact(Nullable< QString > s)
Definition: srcMOContact.h:52
virtual Nullable< QString > contact() const
Definition: srcMOContact.h:42
virtual void setcontactid(Nullable< qint64 > s)
Definition: srcMOContact.h:46
virtual Nullable< MOContactType > contacttype() const
Definition: srcMOContact.h:44
Nullable< qint64 > mp_contacttypeid
Definition: srcMOContact.h:31
virtual Nullable< qint64 > contacttypeid() const
Definition: srcMOContact.h:40
Nullable< qint64 > mp_contactid
Definition: srcMOContact.h:29
Nullable< qint64 > mp_customerid
Definition: srcMOContact.h:30
virtual ~MOContact()
destructor: deletes this copy of the object
Definition: srcMOContact.h:78
Definition: srcMOContact.h:15
virtual Nullable< qint64 > contactid() const
Definition: srcMOContact.h:36
Q_DECLARE_METATYPE(QDomNode)
virtual void setcontacttypeid(Nullable< qint64 > s)
Definition: srcMOContact.h:50
MOContact()
default constructor: constructs an invalid instance of MOContact
Definition: srcMOContact.h:66
virtual Nullable< qint64 > customerid() const
Definition: srcMOContact.h:38