MagicSmoke
$VERSION$
|
#include <srcMOItemAudit.h>
Public Member Functions | |
MOItemAudit () | |
default constructor: constructs an invalid instance of MOItemAudit More... | |
MOItemAudit (const MOItemAudit &) | |
copy constructor: creates a (deep) copy of the object More... | |
MOItemAudit (const QDomElement &) | |
special constructor: create from the XML representation, deserializing the object More... | |
virtual | ~MOItemAudit () |
destructor: deletes this copy of the object More... | |
virtual Nullable< qint64 > | audittime () const |
virtual Nullable< QString > | audittransaction () const |
virtual Nullable< QString > | audituname () const |
MOItemAudit & | operator= (const MOItemAudit &) |
copy assignment: creates a (deep) copy of the object More... | |
virtual void | setaudittime (Nullable< qint64 > s) |
virtual void | setaudittransaction (Nullable< QString > s) |
virtual void | setaudituname (Nullable< QString > s) |
QString | toString () |
Serializes the object to XML and returns the string representation of that XML. More... | |
QDomElement | toXml (QDomDocument &doc, QString name="ItemAudit") |
Transforms the object into its XML representation, the element node returned is not appended to the document - you have to do that yourself. More... | |
void | toXml (QDomDocument &, QDomElement &) |
Serializes the object into the given element. More... | |
Public Member Functions inherited from MOItemInfo | |
MOItemInfo () | |
default constructor: constructs an invalid instance of MOItemInfo More... | |
MOItemInfo (const MOItemInfo &) | |
copy constructor: creates a (deep) copy of the object More... | |
MOItemInfo (const QDomElement &) | |
special constructor: create from the XML representation, deserializing the object More... | |
virtual | ~MOItemInfo () |
destructor: deletes this copy of the object More... | |
virtual Nullable< qint64 > | amount () const |
virtual Nullable< qint64 > | itemid () const |
MOItemInfo & | operator= (const MOItemInfo &) |
copy assignment: creates a (deep) copy of the object More... | |
virtual Nullable< qint64 > | orderid () const |
virtual Nullable< qint64 > | productid () const |
virtual Nullable< QString > | productname () const |
virtual void | setamount (Nullable< qint64 > s) |
virtual void | setitemid (Nullable< qint64 > s) |
virtual void | setorderid (Nullable< qint64 > s) |
virtual void | setproductid (Nullable< qint64 > s) |
virtual void | setproductname (Nullable< QString > s) |
virtual void | settotalprice (Nullable< qint64 > s) |
QString | toString () |
Serializes the object to XML and returns the string representation of that XML. More... | |
virtual Nullable< qint64 > | totalprice () const |
QDomElement | toXml (QDomDocument &doc, QString name="ItemInfo") |
Transforms the object into its XML representation, the element node returned is not appended to the document - you have to do that yourself. More... | |
void | toXml (QDomDocument &, QDomElement &) |
Serializes the object into the given element. More... | |
Static Public Member Functions | |
static MOItemAudit | fromString (const QString &) |
create MOItemAudit from XML formatted string (inverse of toString) More... | |
static MOItemAudit | fromXml (const QDomElement &) |
create MOItemAudit from XML (inverse of toXml) More... | |
Static Public Member Functions inherited from MOItemInfo | |
static MOItemInfo | fromString (const QString &) |
create MOItemInfo from XML formatted string (inverse of toString) More... | |
static MOItemInfo | fromXml (const QDomElement &) |
create MOItemInfo from XML (inverse of toXml) More... | |
Protected Attributes | |
Nullable< qint64 > | mp_audittime |
Nullable< QString > | mp_audittransaction |
Nullable< QString > | mp_audituname |
Protected Attributes inherited from MOItemInfo | |
Nullable< qint64 > | mp_amount |
Nullable< qint64 > | mp_itemid |
Nullable< qint64 > | mp_orderid |
Nullable< qint64 > | mp_productid |
Nullable< QString > | mp_productname |
Nullable< qint64 > | mp_totalprice |
|
inline |
default constructor: constructs an invalid instance of MOItemAudit
Referenced by fromString(), and fromXml().
MOItemAudit::MOItemAudit | ( | const MOItemAudit & | o | ) |
copy constructor: creates a (deep) copy of the object
References mp_audittime, mp_audittransaction, and mp_audituname.
|
explicit |
special constructor: create from the XML representation, deserializing the object
References setaudittime(), setaudittransaction(), and setaudituname().
|
inlinevirtual |
destructor: deletes this copy of the object
|
inlinevirtual |
|
inlinevirtual |
|
inlinevirtual |
|
static |
create MOItemAudit from XML formatted string (inverse of toString)
References MOItemAudit().
|
static |
create MOItemAudit from XML (inverse of toXml)
References MOItemAudit().
MOItemAudit & MOItemAudit::operator= | ( | const MOItemAudit & | o | ) |
copy assignment: creates a (deep) copy of the object
References mp_audittime, mp_audittransaction, mp_audituname, and MOItemInfo::operator=().
|
inlinevirtual |
Referenced by MOItemAudit().
|
inlinevirtual |
Referenced by MOItemAudit().
|
inlinevirtual |
Referenced by MOItemAudit().
QString MOItemAudit::toString | ( | ) |
Serializes the object to XML and returns the string representation of that XML.
References toXml().
QDomElement MOItemAudit::toXml | ( | QDomDocument & | doc, |
QString | name = "ItemAudit" |
||
) |
Transforms the object into its XML representation, the element node returned is not appended to the document - you have to do that yourself.
doc | the DOM document node for which to generate the element |
name | the name to give the generated element, per default "MOItemAudit" is used |
Referenced by toString().
void MOItemAudit::toXml | ( | QDomDocument & | doc, |
QDomElement & | r | ||
) |
Serializes the object into the given element.
References mp_audittime, mp_audittransaction, mp_audituname, and MOItemInfo::toXml().
|
protected |
Referenced by MOItemAudit(), operator=(), and toXml().
|
protected |
Referenced by MOItemAudit(), operator=(), and toXml().
|
protected |
Referenced by MOItemAudit(), operator=(), and toXml().