MagicSmoke  $VERSION$
MOItemAudit Class Reference

#include <srcMOItemAudit.h>

Inheritance diagram for MOItemAudit:
MOItemInfo

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
 
MOItemAuditoperator= (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
 
MOItemInfooperator= (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
 

Constructor & Destructor Documentation

MOItemAudit::MOItemAudit ( )
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.

MOItemAudit::MOItemAudit ( const QDomElement &  root)
explicit

special constructor: create from the XML representation, deserializing the object

References setaudittime(), setaudittransaction(), and setaudituname().

virtual MOItemAudit::~MOItemAudit ( )
inlinevirtual

destructor: deletes this copy of the object

Member Function Documentation

virtual Nullable<qint64> MOItemAudit::audittime ( ) const
inlinevirtual
virtual Nullable<QString> MOItemAudit::audittransaction ( ) const
inlinevirtual
virtual Nullable<QString> MOItemAudit::audituname ( ) const
inlinevirtual
MOItemAudit MOItemAudit::fromString ( const QString &  txt)
static

create MOItemAudit from XML formatted string (inverse of toString)

References MOItemAudit().

MOItemAudit MOItemAudit::fromXml ( const QDomElement &  root)
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=().

virtual void MOItemAudit::setaudittime ( Nullable< qint64 >  s)
inlinevirtual

Referenced by MOItemAudit().

virtual void MOItemAudit::setaudittransaction ( Nullable< QString >  s)
inlinevirtual

Referenced by MOItemAudit().

virtual void MOItemAudit::setaudituname ( Nullable< QString >  s)
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.

Parameters
docthe DOM document node for which to generate the element
namethe 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().

Member Data Documentation

Nullable<qint64> MOItemAudit::mp_audittime
protected

Referenced by MOItemAudit(), operator=(), and toXml().

Nullable<QString> MOItemAudit::mp_audittransaction
protected

Referenced by MOItemAudit(), operator=(), and toXml().

Nullable<QString> MOItemAudit::mp_audituname
protected

Referenced by MOItemAudit(), operator=(), and toXml().


The documentation for this class was generated from the following files: