This class is the base class for all descriptions of schema entities in a database. More...
#include <ildblink/ildent.h>
Public Member Functions | |
virtual | ~IldSchemaEntity () |
This virtual destructor is invoked when any instance of a subclass from IldSchemaEntity is being destroyed. More... | |
IldDbms * | getDbms () const |
Get the attached to connection object. More... | |
IldEntityType | getEntityType () const |
Get the type of the entity. More... | |
IlInt | getId () const |
get the identifier of the entity. More... | |
const char * | getName () const |
Get the name of the entity. More... | |
const char * | getOwner () const |
Get the owner of the entity. More... | |
This class is the base class for all descriptions of schema entities in a database.
Library: dbkernel
|
virtual |
This virtual destructor is invoked when any instance of a subclass from IldSchemaEntity
is being destroyed.
The destructor also updates the IldDbms
object that refers to that entity.
IldDbms* IldSchemaEntity::getDbms | ( | ) | const |
Get the attached to connection object.
IldDbms
object related to this entity.readRelation
). IldEntityType IldSchemaEntity::getEntityType | ( | ) | const |
Get the type of the entity.
The returned value is any value from the enumeration IldEntityType with the exception of IldUnknownEntity
.
IlInt IldSchemaEntity::getId | ( | ) | const |
get the identifier of the entity.
Otherwise, it returns 0
. The existence of the identifier depends on the RDBMS.
const char * IldSchemaEntity::getName | ( | ) | const |
Get the name of the entity.
There always exists a name for any entity. It may be RDBMS generated.
const char * IldSchemaEntity::getOwner | ( | ) | const |
Get the owner of the entity.
The owner may differ from the current user.