GetType (OMetaData) Method
Applies To
OMetaData
Description
Returns type of the schema object described by the OMetaData object.
Usage
int GetType(void) const throw(OException)
Arguments
Remarks
The possible values include the following constants:
· OMD_TABLE 1
· OMD_VIEW 2
· OMD_COLUMN 3
· OMD_COLUMN_LIST 4
· OMD_TYPE 5
· OMD_TYPE_ATTR 6
· OMD_TYPE_ATTR_LIST 7
· OMD_TYPE_METHOD 8
· OMD_TYPE_METHOD_LIST 9
· OMD_TYPE_ARG 10
· OMD_TYPE_RESULT 11
· OMD_PROC 12
· OMD_FUNC 13
· OMD_ARG 14
· OMD_ARG_LIST 15
· OMD_PACKAGE 16
· OMD_SUBPROG_LIST 17
· OMD_COLLECTION 18
· OMD_SYNONYM 19
· OMD_SEQENCE 20
· OMD_SCHEMA 21
· OMD_OBJECT_LIST 22
· OMD_OBJECT_LIST 23
· OMD_DATABASE 24
Note: If this version of the OMetaData Object is used on a release 8.1 or higher
Oracle database, values higher than 24 are possible if the database is enhanced
to introduce new schema types.
Contents