MagicSmoke  $VERSION$
MOContactType Class Reference

#include <srcMOContactType.h>

Inheritance diagram for MOContactType:

Public Member Functions

 MOContactType ()
 default constructor: constructs an invalid instance of MOContactType More...
 
 MOContactType (const MOContactType &)
 copy constructor: creates a (deep) copy of the object More...
 
 MOContactType (const QDomElement &)
 special constructor: create from the XML representation, deserializing the object More...
 
virtual ~MOContactType ()
 destructor: deletes this copy of the object More...
 
virtual Nullable< QString > contacttype () const
 
virtual Nullable< qint64 > contacttypeid () const
 
MOContactTypeoperator= (const MOContactType &)
 copy assignment: creates a (deep) copy of the object More...
 
virtual void setcontacttype (Nullable< QString > s)
 
virtual void setcontacttypeid (Nullable< qint64 > s)
 
virtual void seturiprefix (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="ContactType")
 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 > uriprefix () const
 

Static Public Member Functions

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

Protected Attributes

Nullable< QString > mp_contacttype
 
Nullable< qint64 > mp_contacttypeid
 
Nullable< QString > mp_uriprefix
 

Constructor & Destructor Documentation

MOContactType::MOContactType ( )
inline

default constructor: constructs an invalid instance of MOContactType

Referenced by fromString(), and fromXml().

MOContactType::MOContactType ( const MOContactType o)

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

References mp_contacttype, mp_contacttypeid, and mp_uriprefix.

MOContactType::MOContactType ( const QDomElement &  root)
explicit

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

References setcontacttype(), setcontacttypeid(), and seturiprefix().

virtual MOContactType::~MOContactType ( )
inlinevirtual

destructor: deletes this copy of the object

Member Function Documentation

virtual Nullable<QString> MOContactType::contacttype ( ) const
inlinevirtual
virtual Nullable<qint64> MOContactType::contacttypeid ( ) const
inlinevirtual
MOContactType MOContactType::fromString ( const QString &  txt)
static

create MOContactType from XML formatted string (inverse of toString)

References MOContactType().

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

create MOContactType from XML (inverse of toXml)

References MOContactType().

MOContactType & MOContactType::operator= ( const MOContactType o)

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

References mp_contacttype, mp_contacttypeid, and mp_uriprefix.

virtual void MOContactType::setcontacttype ( Nullable< QString >  s)
inlinevirtual

Referenced by MOContactType().

virtual void MOContactType::setcontacttypeid ( Nullable< qint64 >  s)
inlinevirtual

Referenced by MOContactType().

virtual void MOContactType::seturiprefix ( Nullable< QString >  s)
inlinevirtual

Referenced by MOContactType().

QString MOContactType::toString ( )

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

References toXml().

QDomElement MOContactType::toXml ( QDomDocument &  doc,
QString  name = "ContactType" 
)

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

Referenced by toString().

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

Serializes the object into the given element.

References mp_contacttype, mp_contacttypeid, and mp_uriprefix.

virtual Nullable<QString> MOContactType::uriprefix ( ) const
inlinevirtual

Member Data Documentation

Nullable<QString> MOContactType::mp_contacttype
protected

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

Nullable<qint64> MOContactType::mp_contacttypeid
protected

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

Nullable<QString> MOContactType::mp_uriprefix
protected

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


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