MagicSmoke  $VERSION$
MOEventAbstract Class Reference

#include <srcMOEventAbstract.h>

Inheritance diagram for MOEventAbstract:
MOEvent

Public Member Functions

 MOEventAbstract ()
 default constructor: constructs an invalid instance of MOEventAbstract More...
 
 MOEventAbstract (const MOEventAbstract &)
 copy constructor: creates a (deep) copy of the object More...
 
 MOEventAbstract (const QDomElement &)
 special constructor: create from the XML representation, deserializing the object More...
 
virtual ~MOEventAbstract ()
 destructor: deletes this copy of the object More...
 
virtual void addprice (Nullable< MOEventPrice > a)
 
virtual Nullable< qint64 > amountFree () const
 
virtual Nullable< qint64 > amountReserved () const
 
virtual Nullable< qint64 > amountSold () const
 
virtual Nullable< MOArtistartist () const
 
virtual Nullable< qint64 > artistid () const
 
virtual Nullable< QString > cancelreason () const
 
virtual Nullable< bool > canuse () const
 
virtual Nullable< qint64 > capacity () const
 
virtual void clearprice ()
 
virtual Nullable< QString > comment () const
 
virtual Nullable< QString > description () const
 
virtual Nullable< qint64 > end () const
 
virtual Nullable< QString > flags () const
 
virtual Nullable< qint64 > id () const
 
virtual Nullable< bool > iscancelled () const
 
MOEventAbstractoperator= (const MOEventAbstract &)
 copy assignment: creates a (deep) copy of the object More...
 
virtual QList< MOEventPriceprice () const
 
virtual Nullable< QString > room () const
 
virtual Nullable< MOSeatPlanInfoseatplan () const
 
virtual Nullable< qint64 > seatplanid () const
 
virtual void setamountFree (Nullable< qint64 > s)
 
virtual void setamountReserved (Nullable< qint64 > s)
 
virtual void setamountSold (Nullable< qint64 > s)
 
virtual void setartist (Nullable< MOArtist > s)
 
virtual void setartistid (Nullable< qint64 > s)
 
virtual void setcancelreason (Nullable< QString > s)
 
virtual void setcanuse (Nullable< bool > s)
 
virtual void setcapacity (Nullable< qint64 > s)
 
virtual void setcomment (Nullable< QString > s)
 
virtual void setdescription (Nullable< QString > s)
 
virtual void setend (Nullable< qint64 > s)
 
virtual void setflags (Nullable< QString > s)
 
virtual void setid (Nullable< qint64 > s)
 
virtual void setiscancelled (Nullable< bool > s)
 
virtual void setprice (QList< MOEventPrice > s)
 
virtual void setroom (Nullable< QString > s)
 
virtual void setseatplan (Nullable< MOSeatPlanInfo > s)
 
virtual void setseatplanid (Nullable< qint64 > s)
 
virtual void setstart (Nullable< qint64 > s)
 
virtual void settags (Nullable< QString > s)
 
virtual void settax (Nullable< qint64 > s)
 
virtual void settitle (Nullable< QString > s)
 
virtual Nullable< qint64 > start () const
 
virtual Nullable< QString > tags () const
 
virtual Nullable< qint64 > tax () const
 
virtual Nullable< QString > title () const
 
QString toString ()
 Serializes the object to XML and returns the string representation of that XML. More...
 
QDomElement toXml (QDomDocument &doc, QString name="Event")
 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 MOEventAbstract fromString (const QString &)
 create MOEventAbstract from XML formatted string (inverse of toString) More...
 
static MOEventAbstract fromXml (const QDomElement &)
 create MOEventAbstract from XML (inverse of toXml) More...
 

Protected Attributes

Nullable< qint64 > mp_amountFree
 
Nullable< qint64 > mp_amountReserved
 
Nullable< qint64 > mp_amountSold
 
Nullable< MOArtistmp_artist
 
Nullable< qint64 > mp_artistid
 
Nullable< QString > mp_cancelreason
 
Nullable< bool > mp_canuse
 
Nullable< qint64 > mp_capacity
 
Nullable< QString > mp_comment
 
Nullable< QString > mp_description
 
Nullable< qint64 > mp_end
 
Nullable< QString > mp_flags
 
Nullable< qint64 > mp_id
 
Nullable< bool > mp_iscancelled
 
QList< MOEventPricemp_price
 
Nullable< QString > mp_room
 
Nullable< MOSeatPlanInfomp_seatplan
 
Nullable< qint64 > mp_seatplanid
 
Nullable< qint64 > mp_start
 
Nullable< QString > mp_tags
 
Nullable< qint64 > mp_tax
 
Nullable< QString > mp_title
 

Constructor & Destructor Documentation

MOEventAbstract::MOEventAbstract ( )
inline

default constructor: constructs an invalid instance of MOEventAbstract

Referenced by fromString(), and fromXml().

MOEventAbstract::MOEventAbstract ( const MOEventAbstract o)
MOEventAbstract::MOEventAbstract ( const QDomElement &  root)
explicit
virtual MOEventAbstract::~MOEventAbstract ( )
inlinevirtual

destructor: deletes this copy of the object

Member Function Documentation

virtual void MOEventAbstract::addprice ( Nullable< MOEventPrice a)
inlinevirtual

Referenced by MOEventAbstract().

virtual Nullable<qint64> MOEventAbstract::amountFree ( ) const
inlinevirtual
virtual Nullable<qint64> MOEventAbstract::amountReserved ( ) const
inlinevirtual
virtual Nullable<qint64> MOEventAbstract::amountSold ( ) const
inlinevirtual
virtual Nullable<MOArtist> MOEventAbstract::artist ( ) const
inlinevirtual
virtual Nullable<qint64> MOEventAbstract::artistid ( ) const
inlinevirtual
virtual Nullable<QString> MOEventAbstract::cancelreason ( ) const
inlinevirtual
virtual Nullable<bool> MOEventAbstract::canuse ( ) const
inlinevirtual
virtual Nullable<qint64> MOEventAbstract::capacity ( ) const
inlinevirtual
virtual void MOEventAbstract::clearprice ( )
inlinevirtual
virtual Nullable<QString> MOEventAbstract::comment ( ) const
inlinevirtual
virtual Nullable<QString> MOEventAbstract::description ( ) const
inlinevirtual
virtual Nullable<qint64> MOEventAbstract::end ( ) const
inlinevirtual
virtual Nullable<QString> MOEventAbstract::flags ( ) const
inlinevirtual
MOEventAbstract MOEventAbstract::fromString ( const QString &  txt)
static

create MOEventAbstract from XML formatted string (inverse of toString)

References MOEventAbstract().

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

create MOEventAbstract from XML (inverse of toXml)

References MOEventAbstract().

virtual Nullable<qint64> MOEventAbstract::id ( ) const
inlinevirtual
virtual Nullable<bool> MOEventAbstract::iscancelled ( ) const
inlinevirtual
virtual QList<MOEventPrice> MOEventAbstract::price ( ) const
inlinevirtual
virtual Nullable<QString> MOEventAbstract::room ( ) const
inlinevirtual
virtual Nullable<MOSeatPlanInfo> MOEventAbstract::seatplan ( ) const
inlinevirtual
virtual Nullable<qint64> MOEventAbstract::seatplanid ( ) const
inlinevirtual
virtual void MOEventAbstract::setamountFree ( Nullable< qint64 >  s)
inlinevirtual

Referenced by MOEventAbstract().

virtual void MOEventAbstract::setamountReserved ( Nullable< qint64 >  s)
inlinevirtual

Referenced by MOEventAbstract().

virtual void MOEventAbstract::setamountSold ( Nullable< qint64 >  s)
inlinevirtual

Referenced by MOEventAbstract().

virtual void MOEventAbstract::setartist ( Nullable< MOArtist s)
inlinevirtual

Referenced by MOEventAbstract().

virtual void MOEventAbstract::setartistid ( Nullable< qint64 >  s)
inlinevirtual

Referenced by MOEventAbstract().

virtual void MOEventAbstract::setcancelreason ( Nullable< QString >  s)
inlinevirtual

Referenced by MOEventAbstract().

virtual void MOEventAbstract::setcanuse ( Nullable< bool >  s)
inlinevirtual

Referenced by MOEventAbstract().

virtual void MOEventAbstract::setcapacity ( Nullable< qint64 >  s)
inlinevirtual

Referenced by MOEventAbstract().

virtual void MOEventAbstract::setcomment ( Nullable< QString >  s)
inlinevirtual

Referenced by MOEventAbstract().

virtual void MOEventAbstract::setdescription ( Nullable< QString >  s)
inlinevirtual

Referenced by MOEventAbstract().

virtual void MOEventAbstract::setend ( Nullable< qint64 >  s)
inlinevirtual

Referenced by MOEventAbstract().

virtual void MOEventAbstract::setflags ( Nullable< QString >  s)
inlinevirtual

Referenced by MOEventAbstract().

virtual void MOEventAbstract::setid ( Nullable< qint64 >  s)
inlinevirtual

Referenced by MOEventAbstract().

virtual void MOEventAbstract::setiscancelled ( Nullable< bool >  s)
inlinevirtual

Referenced by MOEventAbstract().

virtual void MOEventAbstract::setprice ( QList< MOEventPrice s)
inlinevirtual
virtual void MOEventAbstract::setroom ( Nullable< QString >  s)
inlinevirtual

Referenced by MOEventAbstract().

virtual void MOEventAbstract::setseatplan ( Nullable< MOSeatPlanInfo s)
inlinevirtual

Referenced by MOEventAbstract().

virtual void MOEventAbstract::setseatplanid ( Nullable< qint64 >  s)
inlinevirtual

Referenced by MOEventAbstract().

virtual void MOEventAbstract::setstart ( Nullable< qint64 >  s)
inlinevirtual

Referenced by MOEventAbstract().

virtual void MOEventAbstract::settags ( Nullable< QString >  s)
inlinevirtual

Referenced by MOEventAbstract().

virtual void MOEventAbstract::settax ( Nullable< qint64 >  s)
inlinevirtual

Referenced by MOEventAbstract().

virtual void MOEventAbstract::settitle ( Nullable< QString >  s)
inlinevirtual

Referenced by MOEventAbstract().

virtual Nullable<qint64> MOEventAbstract::start ( ) const
inlinevirtual
virtual Nullable<QString> MOEventAbstract::tags ( ) const
inlinevirtual
virtual Nullable<qint64> MOEventAbstract::tax ( ) const
inlinevirtual
virtual Nullable<QString> MOEventAbstract::title ( ) const
inlinevirtual
QString MOEventAbstract::toString ( )

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

References toXml().

QDomElement MOEventAbstract::toXml ( QDomDocument &  doc,
QString  name = "Event" 
)

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

Referenced by toString(), and toXml().

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

Member Data Documentation

Nullable<qint64> MOEventAbstract::mp_amountFree
protected

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

Nullable<qint64> MOEventAbstract::mp_amountReserved
protected

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

Nullable<qint64> MOEventAbstract::mp_amountSold
protected

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

Nullable<MOArtist> MOEventAbstract::mp_artist
protected

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

Nullable<qint64> MOEventAbstract::mp_artistid
protected

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

Nullable<QString> MOEventAbstract::mp_cancelreason
protected

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

Nullable<bool> MOEventAbstract::mp_canuse
protected

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

Nullable<qint64> MOEventAbstract::mp_capacity
protected

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

Nullable<QString> MOEventAbstract::mp_comment
protected

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

Nullable<QString> MOEventAbstract::mp_description
protected

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

Nullable<qint64> MOEventAbstract::mp_end
protected

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

Nullable<QString> MOEventAbstract::mp_flags
protected

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

Nullable<qint64> MOEventAbstract::mp_id
protected

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

Nullable<bool> MOEventAbstract::mp_iscancelled
protected

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

QList<MOEventPrice> MOEventAbstract::mp_price
protected

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

Nullable<QString> MOEventAbstract::mp_room
protected

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

Nullable<MOSeatPlanInfo> MOEventAbstract::mp_seatplan
protected

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

Nullable<qint64> MOEventAbstract::mp_seatplanid
protected

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

Nullable<qint64> MOEventAbstract::mp_start
protected

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

Nullable<QString> MOEventAbstract::mp_tags
protected

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

Nullable<qint64> MOEventAbstract::mp_tax
protected

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

Nullable<QString> MOEventAbstract::mp_title
protected

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


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