Qt IOC Container 3.5


qic::ObjectDefinition Class Reference

#include <ObjectDefinition.h>

Inheritance diagram for qic::ObjectDefinition:

Inheritance graph
[legend]
List of all members.

Public Member Functions

virtual ~ObjectDefinition ()
virtual QHash< QString, QVariant > * getPropertyValues ()=0
virtual void setPropertyValue (QString, QVariant)=0
virtual QString getInitMethodName ()=0
virtual void setInitMethodName (QString name)=0
virtual QString getDestroyMethodName ()=0
virtual void setDestroyMethodName (QString name)=0
virtual QString getFactoryMethodName ()=0
virtual void setFactoryMethodName (QString name)=0
virtual QString getFactoryObjectId ()=0
virtual void setFactoryObjectId (QString id)=0
virtual void setPluginPath (QString path)=0
virtual QString getPluginPath ()=0
virtual QString getId ()=0
virtual void setId (QString id)=0

Detailed Description

Object definition created in ObjectDefinitionReader and saved in ObjectDefinitionRegistry.

Author:
Zhihong "John" Wang

Definition at line 17 of file ObjectDefinition.h.


Constructor & Destructor Documentation

virtual qic::ObjectDefinition::~ObjectDefinition  )  [inline, virtual]
 

Definition at line 20 of file ObjectDefinition.h.


Member Function Documentation

virtual QString qic::ObjectDefinition::getDestroyMethodName  )  [pure virtual]
 

Implemented in qic::DefaultObjectDefinition.

Referenced by qic::DefaultApplicationContext::destroyObject().

virtual QString qic::ObjectDefinition::getFactoryMethodName  )  [pure virtual]
 

Implemented in qic::DefaultObjectDefinition.

virtual QString qic::ObjectDefinition::getFactoryObjectId  )  [pure virtual]
 

Implemented in qic::DefaultObjectDefinition.

Referenced by qic::DefaultApplicationContext::createObject().

virtual QString qic::ObjectDefinition::getId  )  [pure virtual]
 

Get object id.

Implemented in qic::DefaultObjectDefinition.

virtual QString qic::ObjectDefinition::getInitMethodName  )  [pure virtual]
 

Implemented in qic::DefaultObjectDefinition.

Referenced by qic::DefaultApplicationContext::destroyObject(), and qic::DefaultApplicationContext::initObject().

virtual QString qic::ObjectDefinition::getPluginPath  )  [pure virtual]
 

Implemented in qic::DefaultObjectDefinition.

Referenced by qic::DefaultApplicationContext::createObject().

virtual QHash<QString, QVariant>* qic::ObjectDefinition::getPropertyValues  )  [pure virtual]
 

Get all the property values indexed by property names.

Implemented in qic::DefaultObjectDefinition.

Referenced by qic::DefaultApplicationContext::injectDependencies().

virtual void qic::ObjectDefinition::setDestroyMethodName QString  name  )  [pure virtual]
 

Implemented in qic::DefaultObjectDefinition.

virtual void qic::ObjectDefinition::setFactoryMethodName QString  name  )  [pure virtual]
 

Implemented in qic::DefaultObjectDefinition.

virtual void qic::ObjectDefinition::setFactoryObjectId QString  id  )  [pure virtual]
 

Implemented in qic::DefaultObjectDefinition.

virtual void qic::ObjectDefinition::setId QString  id  )  [pure virtual]
 

Set object id.

Implemented in qic::DefaultObjectDefinition.

virtual void qic::ObjectDefinition::setInitMethodName QString  name  )  [pure virtual]
 

Implemented in qic::DefaultObjectDefinition.

virtual void qic::ObjectDefinition::setPluginPath QString  path  )  [pure virtual]
 

Implemented in qic::DefaultObjectDefinition.

virtual void qic::ObjectDefinition::setPropertyValue QString  ,
QVariant 
[pure virtual]
 

Get all the reference objects indexed by property names.

Implemented in qic::DefaultObjectDefinition.

Referenced by qic::XmlObjectDefinitionReader::parseObjectPropertySubTag().


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