MagicSmoke  $VERSION$
MOAddressAbstract Class Reference

#include <srcMOAddressAbstract.h>

Inheritance diagram for MOAddressAbstract:
MOAddress

Public Member Functions

 MOAddressAbstract ()
 default constructor: constructs an invalid instance of MOAddressAbstract More...
 
 MOAddressAbstract (const MOAddressAbstract &)
 copy constructor: creates a (deep) copy of the object More...
 
 MOAddressAbstract (const QDomElement &)
 special constructor: create from the XML representation, deserializing the object More...
 
virtual ~MOAddressAbstract ()
 destructor: deletes this copy of the object More...
 
virtual Nullable< QString > addr1 () const
 
virtual Nullable< QString > addr2 () const
 
virtual Nullable< qint64 > addressid () const
 
virtual Nullable< QString > city () const
 
virtual Nullable< MOCountrycountry () const
 
virtual Nullable< QString > countryid () const
 
virtual Nullable< qint64 > customerid () const
 
virtual Nullable< bool > isdeleted () const
 
virtual Nullable< qint64 > lastused () const
 
virtual Nullable< QString > name () const
 
MOAddressAbstractoperator= (const MOAddressAbstract &)
 copy assignment: creates a (deep) copy of the object More...
 
virtual void setaddr1 (Nullable< QString > s)
 
virtual void setaddr2 (Nullable< QString > s)
 
virtual void setaddressid (Nullable< qint64 > s)
 
virtual void setcity (Nullable< QString > s)
 
virtual void setcountry (Nullable< MOCountry > s)
 
virtual void setcountryid (Nullable< QString > s)
 
virtual void setcustomerid (Nullable< qint64 > s)
 
virtual void setisdeleted (Nullable< bool > s)
 
virtual void setlastused (Nullable< qint64 > s)
 
virtual void setname (Nullable< QString > s)
 
virtual void setstate (Nullable< QString > s)
 
virtual void setzipcode (Nullable< QString > s)
 
virtual Nullable< QString > state () const
 
QString toString ()
 Serializes the object to XML and returns the string representation of that XML. More...
 
QDomElement toXml (QDomDocument &doc, QString name="Address")
 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...
 
virtual Nullable< QString > zipcode () const
 

Static Public Member Functions

static MOAddressAbstract fromString (const QString &)
 create MOAddressAbstract from XML formatted string (inverse of toString) More...
 
static MOAddressAbstract fromXml (const QDomElement &)
 create MOAddressAbstract from XML (inverse of toXml) More...
 

Protected Attributes

Nullable< QString > mp_addr1
 
Nullable< QString > mp_addr2
 
Nullable< qint64 > mp_addressid
 
Nullable< QString > mp_city
 
Nullable< MOCountrymp_country
 
Nullable< QString > mp_countryid
 
Nullable< qint64 > mp_customerid
 
Nullable< bool > mp_isdeleted
 
Nullable< qint64 > mp_lastused
 
Nullable< QString > mp_name
 
Nullable< QString > mp_state
 
Nullable< QString > mp_zipcode
 

Constructor & Destructor Documentation

MOAddressAbstract::MOAddressAbstract ( )
inline

default constructor: constructs an invalid instance of MOAddressAbstract

Referenced by fromString(), and fromXml().

MOAddressAbstract::MOAddressAbstract ( const MOAddressAbstract o)

copy constructor: creates a (deep) copy of the object

References mp_addr1, mp_addr2, mp_addressid, mp_city, mp_country, mp_countryid, mp_customerid, mp_isdeleted, mp_lastused, mp_name, mp_state, and mp_zipcode.

MOAddressAbstract::MOAddressAbstract ( const QDomElement &  root)
explicit

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

References setaddr1(), setaddr2(), setaddressid(), setcity(), setcountry(), setcountryid(), setcustomerid(), setisdeleted(), setlastused(), setname(), setstate(), and setzipcode().

virtual MOAddressAbstract::~MOAddressAbstract ( )
inlinevirtual

destructor: deletes this copy of the object

Member Function Documentation

virtual Nullable<QString> MOAddressAbstract::addr1 ( ) const
inlinevirtual
virtual Nullable<QString> MOAddressAbstract::addr2 ( ) const
inlinevirtual
virtual Nullable<QString> MOAddressAbstract::city ( ) const
inlinevirtual
virtual Nullable<MOCountry> MOAddressAbstract::country ( ) const
inlinevirtual
virtual Nullable<QString> MOAddressAbstract::countryid ( ) const
inlinevirtual
virtual Nullable<qint64> MOAddressAbstract::customerid ( ) const
inlinevirtual
MOAddressAbstract MOAddressAbstract::fromString ( const QString &  txt)
static

create MOAddressAbstract from XML formatted string (inverse of toString)

References MOAddressAbstract().

MOAddressAbstract MOAddressAbstract::fromXml ( const QDomElement &  root)
static

create MOAddressAbstract from XML (inverse of toXml)

References MOAddressAbstract().

virtual Nullable<bool> MOAddressAbstract::isdeleted ( ) const
inlinevirtual
virtual Nullable<qint64> MOAddressAbstract::lastused ( ) const
inlinevirtual
virtual Nullable<QString> MOAddressAbstract::name ( ) const
inlinevirtual
MOAddressAbstract & MOAddressAbstract::operator= ( const MOAddressAbstract o)

copy assignment: creates a (deep) copy of the object

References mp_addr1, mp_addr2, mp_addressid, mp_city, mp_country, mp_countryid, mp_customerid, mp_isdeleted, mp_lastused, mp_name, mp_state, and mp_zipcode.

virtual void MOAddressAbstract::setaddr1 ( Nullable< QString >  s)
inlinevirtual
virtual void MOAddressAbstract::setaddr2 ( Nullable< QString >  s)
inlinevirtual
virtual void MOAddressAbstract::setaddressid ( Nullable< qint64 >  s)
inlinevirtual
virtual void MOAddressAbstract::setcity ( Nullable< QString >  s)
inlinevirtual
virtual void MOAddressAbstract::setcountry ( Nullable< MOCountry s)
inlinevirtual

Referenced by MOAddressAbstract().

virtual void MOAddressAbstract::setcountryid ( Nullable< QString >  s)
inlinevirtual

Referenced by MOAddressAbstract().

virtual void MOAddressAbstract::setcustomerid ( Nullable< qint64 >  s)
inlinevirtual

Referenced by MOAddressAbstract().

virtual void MOAddressAbstract::setisdeleted ( Nullable< bool >  s)
inlinevirtual

Referenced by MOAddressAbstract().

virtual void MOAddressAbstract::setlastused ( Nullable< qint64 >  s)
inlinevirtual

Referenced by MOAddressAbstract().

virtual void MOAddressAbstract::setname ( Nullable< QString >  s)
inlinevirtual
virtual void MOAddressAbstract::setstate ( Nullable< QString >  s)
inlinevirtual
virtual void MOAddressAbstract::setzipcode ( Nullable< QString >  s)
inlinevirtual
virtual Nullable<QString> MOAddressAbstract::state ( ) const
inlinevirtual
QString MOAddressAbstract::toString ( )

Serializes the object to XML and returns the string representation of that XML.

References toXml().

QDomElement MOAddressAbstract::toXml ( QDomDocument &  doc,
QString  name = "Address" 
)

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 "MOAddressAbstract" is used

Referenced by toString().

void MOAddressAbstract::toXml ( QDomDocument &  doc,
QDomElement &  r 
)

Serializes the object into the given element.

References mp_addr1, mp_addr2, mp_addressid, mp_city, mp_country, mp_countryid, mp_customerid, mp_isdeleted, mp_lastused, mp_name, mp_state, and mp_zipcode.

virtual Nullable<QString> MOAddressAbstract::zipcode ( ) const
inlinevirtual

Member Data Documentation

Nullable<QString> MOAddressAbstract::mp_addr1
protected

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

Nullable<QString> MOAddressAbstract::mp_addr2
protected

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

Nullable<qint64> MOAddressAbstract::mp_addressid
protected

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

Nullable<QString> MOAddressAbstract::mp_city
protected

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

Nullable<MOCountry> MOAddressAbstract::mp_country
protected

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

Nullable<QString> MOAddressAbstract::mp_countryid
protected

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

Nullable<qint64> MOAddressAbstract::mp_customerid
protected

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

Nullable<bool> MOAddressAbstract::mp_isdeleted
protected

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

Nullable<qint64> MOAddressAbstract::mp_lastused
protected

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

Nullable<QString> MOAddressAbstract::mp_name
protected

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

Nullable<QString> MOAddressAbstract::mp_state
protected

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

Nullable<QString> MOAddressAbstract::mp_zipcode
protected

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


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