MagicSmoke  $VERSION$
srcMOAddressAbstract.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_MOAddressAbstract
4 #define WOBGEN_MOAddressAbstract
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 "MOCountry"
16 {
17  Q_GADGET
19  Q_PROPERTY(Nullable<qint64> addressid READ addressid WRITE setaddressid)
21  Q_PROPERTY(Nullable<qint64> customerid READ customerid WRITE setcustomerid)
23  Q_PROPERTY(Nullable<qint64> lastused READ lastused WRITE setlastused)
25  Q_PROPERTY(Nullable<QString> name READ name WRITE setname)
27  Q_PROPERTY(Nullable<QString> addr1 READ addr1 WRITE setaddr1)
29  Q_PROPERTY(Nullable<QString> addr2 READ addr2 WRITE setaddr2)
31  Q_PROPERTY(Nullable<QString> city READ city WRITE setcity)
33  Q_PROPERTY(Nullable<QString> state READ state WRITE setstate)
35  Q_PROPERTY(Nullable<QString> zipcode READ zipcode WRITE setzipcode)
37  Q_PROPERTY(Nullable<QString> countryid READ countryid WRITE setcountryid)
39  Q_PROPERTY(Nullable<bool> isdeleted READ isdeleted WRITE setisdeleted)
41  Q_PROPERTY(Nullable<MOCountry> country READ country WRITE setcountry)
42  protected:
43  Nullable<qint64> mp_addressid;
44  Nullable<qint64> mp_customerid;
45  Nullable<qint64> mp_lastused;
46  Nullable<QString> mp_name;
47  Nullable<QString> mp_addr1;
48  Nullable<QString> mp_addr2;
49  Nullable<QString> mp_city;
50  Nullable<QString> mp_state;
51  Nullable<QString> mp_zipcode;
52  Nullable<QString> mp_countryid;
53  Nullable<bool> mp_isdeleted;
54  Nullable<MOCountry> mp_country;
55  public:
57  virtual Nullable<qint64> addressid()const{return mp_addressid;}
59  virtual Nullable<qint64> customerid()const{return mp_customerid;}
61  virtual Nullable<qint64> lastused()const{return mp_lastused;}
63  virtual Nullable<QString> name()const{return mp_name;}
65  virtual Nullable<QString> addr1()const{return mp_addr1;}
67  virtual Nullable<QString> addr2()const{return mp_addr2;}
69  virtual Nullable<QString> city()const{return mp_city;}
71  virtual Nullable<QString> state()const{return mp_state;}
73  virtual Nullable<QString> zipcode()const{return mp_zipcode;}
75  virtual Nullable<QString> countryid()const{return mp_countryid;}
77  virtual Nullable<bool> isdeleted()const{return mp_isdeleted;}
79  virtual Nullable<MOCountry> country()const{return mp_country;}
81  virtual void setaddressid(Nullable<qint64> s){mp_addressid=s;}
83  virtual void setcustomerid(Nullable<qint64> s){mp_customerid=s;}
85  virtual void setlastused(Nullable<qint64> s){mp_lastused=s;}
87  virtual void setname(Nullable<QString> s){mp_name=s;}
89  virtual void setaddr1(Nullable<QString> s){mp_addr1=s;}
91  virtual void setaddr2(Nullable<QString> s){mp_addr2=s;}
93  virtual void setcity(Nullable<QString> s){mp_city=s;}
95  virtual void setstate(Nullable<QString> s){mp_state=s;}
97  virtual void setzipcode(Nullable<QString> s){mp_zipcode=s;}
99  virtual void setcountryid(Nullable<QString> s){mp_countryid=s;}
101  virtual void setisdeleted(Nullable<bool> s){mp_isdeleted=s;}
103  virtual void setcountry(Nullable<MOCountry> s){mp_country=s;}
104  public:
106  QString toString();
110  QDomElement toXml(QDomDocument&doc,QString name="Address");
112  void toXml(QDomDocument&,QDomElement&);
113  public:
115  MOAddressAbstract():WObject(){}
119  MOAddressAbstract& operator=(const MOAddressAbstract&);
121  explicit MOAddressAbstract(const QDomElement&);
123  static MOAddressAbstract fromXml(const QDomElement&);
125  static MOAddressAbstract fromString(const QString&);
127  virtual ~MOAddressAbstract(){}
128 
129 };
133 
134 //END OF AUTOMATICALLY GENERATED FILE
135 #endif
virtual void setisdeleted(Nullable< bool > s)
Definition: srcMOAddressAbstract.h:101
virtual Nullable< QString > zipcode() const
Definition: srcMOAddressAbstract.h:73
virtual Nullable< QString > countryid() const
Definition: srcMOAddressAbstract.h:75
virtual Nullable< QString > name() const
Definition: srcMOAddressAbstract.h:63
Definition: srcMOAddressAbstract.h:15
virtual void setname(Nullable< QString > s)
Definition: srcMOAddressAbstract.h:87
virtual void setcustomerid(Nullable< qint64 > s)
Definition: srcMOAddressAbstract.h:83
virtual void setstate(Nullable< QString > s)
Definition: srcMOAddressAbstract.h:95
Nullable< QString > mp_name
Definition: srcMOAddressAbstract.h:46
virtual Nullable< QString > addr2() const
Definition: srcMOAddressAbstract.h:67
Nullable< QString > mp_state
Definition: srcMOAddressAbstract.h:50
Nullable< qint64 > mp_lastused
Definition: srcMOAddressAbstract.h:45
virtual Nullable< bool > isdeleted() const
Definition: srcMOAddressAbstract.h:77
MOAddressAbstract()
default constructor: constructs an invalid instance of MOAddressAbstract
Definition: srcMOAddressAbstract.h:115
virtual void setaddr1(Nullable< QString > s)
Definition: srcMOAddressAbstract.h:89
virtual ~MOAddressAbstract()
destructor: deletes this copy of the object
Definition: srcMOAddressAbstract.h:127
Nullable< QString > mp_addr2
Definition: srcMOAddressAbstract.h:48
virtual Nullable< qint64 > addressid() const
Definition: srcMOAddressAbstract.h:57
virtual Nullable< MOCountry > country() const
Definition: srcMOAddressAbstract.h:79
virtual void setcountry(Nullable< MOCountry > s)
Definition: srcMOAddressAbstract.h:103
virtual void setcity(Nullable< QString > s)
Definition: srcMOAddressAbstract.h:93
Nullable< qint64 > mp_customerid
Definition: srcMOAddressAbstract.h:44
Nullable< bool > mp_isdeleted
Definition: srcMOAddressAbstract.h:53
virtual Nullable< QString > city() const
Definition: srcMOAddressAbstract.h:69
virtual void setlastused(Nullable< qint64 > s)
Definition: srcMOAddressAbstract.h:85
virtual void setzipcode(Nullable< QString > s)
Definition: srcMOAddressAbstract.h:97
Nullable< MOCountry > mp_country
Definition: srcMOAddressAbstract.h:54
Nullable< QString > mp_zipcode
Definition: srcMOAddressAbstract.h:51
virtual Nullable< QString > addr1() const
Definition: srcMOAddressAbstract.h:65
Nullable< QString > mp_city
Definition: srcMOAddressAbstract.h:49
Nullable< QString > mp_countryid
Definition: srcMOAddressAbstract.h:52
virtual Nullable< qint64 > customerid() const
Definition: srcMOAddressAbstract.h:59
virtual void setcountryid(Nullable< QString > s)
Definition: srcMOAddressAbstract.h:99
virtual Nullable< qint64 > lastused() const
Definition: srcMOAddressAbstract.h:61
Q_DECLARE_METATYPE(QDomNode)
virtual Nullable< QString > state() const
Definition: srcMOAddressAbstract.h:71
#define WOBGEN_MAGICSMOKE__WOB_EXPORT
Definition: srcMOAddressAbstract.h:8
Nullable< QString > mp_addr1
Definition: srcMOAddressAbstract.h:47
virtual void setaddressid(Nullable< qint64 > s)
Definition: srcMOAddressAbstract.h:81
virtual void setaddr2(Nullable< QString > s)
Definition: srcMOAddressAbstract.h:91
Nullable< qint64 > mp_addressid
Definition: srcMOAddressAbstract.h:43