class xqlObject
|
root class for all abstract Objects. More... |
|
|
Public Methods
Protected Methods
Protected Members
root class for all abstract Objects.
provides useraccess etc.
xqlObject (xqlOdbc * pconnection)
| xqlObject |
[virtual]
const char* getType ()
| getType |
[const virtual]
[const virtual]
[virtual]
[virtual]
bool setType (char* pType)
| setType |
[virtual]
to set the object name. this name must be unique. every object is identified by its objectname.
Setting the object name does not imply that it exists in the database.
bool createType ()
| createType |
[virtual]
this function creates all the nesseccary database objects to save instances of the object.
the objectname has to be set before by setObjectType()
bool loadType (int pTypeId)
| loadType |
[virtual]
this function loads the structure information for the object "ObjectType"
from the database. The objectname has to be set before by setObjectType()
bool saveType ()
| saveType |
[virtual]
bool createInstance ()
| createInstance |
[virtual]
creates a new instance of the object. an id is given, space is allocated
in the database.
bool saveInstance ()
| saveInstance |
[virtual]
saves the current instance of the object.
bool deleteInstance ()
| deleteInstance |
[virtual]
bool loadInstance (int pInstId)
| loadInstance |
[virtual]
loads the instance given by pInstId from the database.
Attention with the objectname? is the objectname already known?
int getTypeId ()
| getTypeId |
[virtual]
char * className ()
| className |
[const virtual]
void getTableName (char * pTableName)
| getTableName |
int getTypeIdOfInstance (int pInstId)
| getTypeIdOfInstance |
int getInstId ()
| getInstId |
xqlOdbc * getConnection ()
| getConnection |
bool loadType (std::string& pType)
| loadType |
std::string * getClassnameByTypeId (int pTypeId)
| getClassnameByTypeId |
const xqlid getIconId ()
| getIconId |
[const virtual]
void setIconId (xqlid pIconId)
| setIconId |
[protected]
[protected]
[protected]
bool mTypeCreated
| mTypeCreated |
[protected]
[protected]
[protected]
[protected]
[protected]
[protected]
bool mTypeIsSet
| mTypeIsSet |
[protected]
[protected]
[protected]
true, if the Type is set, i. e. that mType has a
meaningfull value. Is only manipulated by setType,
loadType....
bool haveRight (const char * pAction)
| haveRight |
[protected]
void loadIconId (xqlid pType)
| loadIconId |
[protected]
void saveIconId ()
| saveIconId |
[protected]
Generated by: markus on hobbes on Fri Mar 29 16:15:24 2002, using kdoc 2.0a53. |