Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  

oSysClass Class Reference

#include <oSysClass.h>

Inheritance diagram for oSysClass:

d_Object List of all members.

Public Methods

 oSysClass (d_String &iClassName, d_ULong iStart, d_ULong iStep, d_UShort iId, oRefSeg *iRef)
void d_activate ()
void d_deactivate ()
void addBase (d_Ref< oSysClass > &iBaseClass)
void removeBase (d_String &iBaseName)
d_Ref< oSysPropertyaddProperty (const char *iName, d_UShort iType, d_ULong iItems=0, d_Boolean iPersistent=true, const char *iEmbedded="", const char *iValueType="", d_Boolean iRelationship=false, d_ULong iOffset=0, d_ULong iSize=0, d_Char iLoadPolicy=oSysProperty::LOAD_ALWAYS)
void removeProperty (d_String iPropName)
d_String getName ()
d_Boolean isAbstract ()
void setAbstract (d_Boolean iValue)
d_Ref< oSysSegmentgetSegment ()
 oSysClass (d_Object::DynaFactoryConstructor *iObj)

Protected Methods

void changeName (d_String &iNewName)

Constructor & Destructor Documentation

oSysClass::oSysClass d_String   iClassName,
d_ULong    iStart,
d_ULong    iStep,
d_UShort    iId,
oRefSeg *    iRef
 

oSysClass::oSysClass d_Object::DynaFactoryConstructor   iObj [inline]
 


Member Function Documentation

void oSysClass::addBase d_Ref< oSysClass > &    iBaseClass
 

d_Ref< oSysProperty > oSysClass::addProperty const char *    iName,
d_UShort    iType,
d_ULong    iItems = 0,
d_Boolean    iPersistent = true,
const char *    iEmbedded = "",
const char *    iValueType = "",
d_Boolean    iRelationship = false,
d_ULong    iOffset = 0,
d_ULong    iSize = 0,
d_Char    iLoadPolicy = oSysProperty::LOAD_ALWAYS
 

void oSysClass::changeName d_String   iNewName [protected]
 

void oSysClass::d_activate   [virtual]
 

Object activation trigger.

It's the trigger called asynchronously by Orient ODBMS when the object is requested by a context. It can be defined as a special "cache constructor".

It's useful for reset transient members before the use.

If the user class, inherited by d_Object, doesn't define a own d_activate virtual method, by default is called the d_Object::d_activate() that doesn't execute any operation.

SEE ALSO: d_deactivate() ODMG : Compliant

Reimplemented from d_Object.

void oSysClass::d_deactivate   [virtual]
 

Object deactivation trigger.

It's the trigger called asynchronously by Orient ODBMS when the object is freed in memory. It can be defined as a special "cache destructor".

It's useful when an object had to free some memory (transient members) before to die.

If the user class, inherited by d_Object, doesn't define a own d_deactivate virtual method, by default is called the d_Object::d_deactivate() that doesn't execute any operation.

SEE ALSO: d_activate() ODMG : Compliant

Reimplemented from d_Object.

d_String oSysClass::getName  
 

d_Ref< oSysSegment > oSysClass::getSegment  
 

d_Boolean oSysClass::isAbstract  
 

void oSysClass::removeBase d_String   iBaseName
 

void oSysClass::removeProperty d_String    iPropName
 

void oSysClass::setAbstract d_Boolean    iValue
 


Friends And Related Function Documentation

friend class oSysDatabase [friend]
 


The documentation for this class was generated from the following files:
Generated on Fri Nov 29 17:12:16 2002 for Orient ODBMS Just Edition v. 2.0e by doxygen1.3-rc1