MagicSmoke  $VERSION$
srcMOPriceCategory.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_MOPriceCategory
4 #define WOBGEN_MOPriceCategory
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 
15 {
16  Q_GADGET
18  Q_PROPERTY(Nullable<qint64> pricecategoryid READ pricecategoryid WRITE setpricecategoryid)
20  Q_PROPERTY(Nullable<QString> name READ name WRITE setname)
22  Q_PROPERTY(Nullable<QString> abbreviation READ abbreviation WRITE setabbreviation)
24  Q_PROPERTY(Nullable<QString> formula READ formula WRITE setformula)
26  Q_PROPERTY(Nullable<QString> flags READ flags WRITE setflags)
28  Q_PROPERTY(Nullable<QString> tags READ tags WRITE settags)
30  Q_PROPERTY(Nullable<bool> canuse READ canuse WRITE setcanuse)
31  protected:
32  Nullable<qint64> mp_pricecategoryid;
33  Nullable<QString> mp_name;
34  Nullable<QString> mp_abbreviation;
35  Nullable<QString> mp_formula;
36  Nullable<QString> mp_flags;
37  Nullable<QString> mp_tags;
38  Nullable<bool> mp_canuse;
39  public:
41  virtual Nullable<qint64> pricecategoryid()const{return mp_pricecategoryid;}
43  virtual Nullable<QString> name()const{return mp_name;}
45  virtual Nullable<QString> abbreviation()const{return mp_abbreviation;}
47  virtual Nullable<QString> formula()const{return mp_formula;}
49  virtual Nullable<QString> flags()const{return mp_flags;}
51  virtual Nullable<QString> tags()const{return mp_tags;}
53  virtual Nullable<bool> canuse()const{return mp_canuse;}
55  virtual void setpricecategoryid(Nullable<qint64> s){mp_pricecategoryid=s;}
57  virtual void setname(Nullable<QString> s){mp_name=s;}
59  virtual void setabbreviation(Nullable<QString> s){mp_abbreviation=s;}
61  virtual void setformula(Nullable<QString> s){mp_formula=s;}
63  virtual void setflags(Nullable<QString> s){mp_flags=s;}
65  virtual void settags(Nullable<QString> s){mp_tags=s;}
67  virtual void setcanuse(Nullable<bool> s){mp_canuse=s;}
68  public:
70  QString toString();
74  QDomElement toXml(QDomDocument&doc,QString name="PriceCategory");
76  void toXml(QDomDocument&,QDomElement&);
77  public:
79  MOPriceCategory():WObject(){}
83  MOPriceCategory& operator=(const MOPriceCategory&);
85  explicit MOPriceCategory(const QDomElement&);
87  static MOPriceCategory fromXml(const QDomElement&);
89  static MOPriceCategory fromString(const QString&);
91  virtual ~MOPriceCategory(){}
92 
93 };
97 
98 //END OF AUTOMATICALLY GENERATED FILE
99 #endif
virtual Nullable< QString > flags() const
Definition: srcMOPriceCategory.h:49
virtual void setname(Nullable< QString > s)
Definition: srcMOPriceCategory.h:57
virtual void setflags(Nullable< QString > s)
Definition: srcMOPriceCategory.h:63
Nullable< QString > mp_abbreviation
Definition: srcMOPriceCategory.h:34
virtual Nullable< QString > abbreviation() const
Definition: srcMOPriceCategory.h:45
virtual void settags(Nullable< QString > s)
Definition: srcMOPriceCategory.h:65
virtual Nullable< bool > canuse() const
Definition: srcMOPriceCategory.h:53
virtual void setabbreviation(Nullable< QString > s)
Definition: srcMOPriceCategory.h:59
Nullable< qint64 > mp_pricecategoryid
Definition: srcMOPriceCategory.h:32
Nullable< QString > mp_flags
Definition: srcMOPriceCategory.h:36
MOPriceCategory()
default constructor: constructs an invalid instance of MOPriceCategory
Definition: srcMOPriceCategory.h:79
virtual Nullable< qint64 > pricecategoryid() const
Definition: srcMOPriceCategory.h:41
Nullable< bool > mp_canuse
Definition: srcMOPriceCategory.h:38
virtual void setpricecategoryid(Nullable< qint64 > s)
Definition: srcMOPriceCategory.h:55
Nullable< QString > mp_tags
Definition: srcMOPriceCategory.h:37
Definition: srcMOPriceCategory.h:14
virtual Nullable< QString > name() const
Definition: srcMOPriceCategory.h:43
Nullable< QString > mp_formula
Definition: srcMOPriceCategory.h:35
virtual Nullable< QString > formula() const
Definition: srcMOPriceCategory.h:47
virtual void setcanuse(Nullable< bool > s)
Definition: srcMOPriceCategory.h:67
Q_DECLARE_METATYPE(QDomNode)
Nullable< QString > mp_name
Definition: srcMOPriceCategory.h:33
#define WOBGEN_MAGICSMOKE__WOB_EXPORT
Definition: srcMOPriceCategory.h:8
virtual void setformula(Nullable< QString > s)
Definition: srcMOPriceCategory.h:61
virtual ~MOPriceCategory()
destructor: deletes this copy of the object
Definition: srcMOPriceCategory.h:91
virtual Nullable< QString > tags() const
Definition: srcMOPriceCategory.h:51