Get an object type
get
/database/objects/types/{owner},{type_name}
Describes a specific object type in the database. Uses DBA_TYPES or ALL_TYPES view depending on role at runtime. A client requires SQL Administrator or SQL Developer role to invoke this service.
Request
Supported Media Types
- application/json
Path Parameters
-
owner: string
Owner of the type.
-
type_name: string
Name of the type.
Response
Supported Media Types
- application/json
200 Response
Information on a specific object type.
Root Schema : DatabaseObjectsTypesItem
Type:
object
This object describes an object type in the database.
Show Source
-
attributes(optional):
integer
Number of attributes (if any) in the type.
-
final(optional):
string
Indicates whether the type is a final type (YES) or not (NO).
-
incomplete(optional):
string
Indicates whether the type is an incomplete type (YES) or not (NO).
-
instantiable(optional):
string
Indicates whether the type is an instantiable type (YES) or not (NO).
-
links(optional):
array links
-
local_attributes(optional):
integer
Number of local (not inherited) attributes (if any) in the subtype.
-
local_methods(optional):
integer
Number of local (not inherited) methods (if any) in the subtype.
-
methods(optional):
integer
Number of methods (if any) in the type.
-
owner(optional):
string
Owner of the type.
-
persistable(optional):
string
Indicates whether the type is a persistable type (YES) or not (NO).
-
predefined(optional):
string
Indicates whether the type is a predefined type (YES) or not (NO).
-
supertype_name(optional):
string
Name of the supertype (NULL if type is not a subtype).
-
supertype_owner(optional):
string
Owner of the supertype (NULL if type is not a subtype).
-
type_name(optional):
string
Name of the type.
-
type_oid(optional):
string
Object identifier (OID) of the type.
-
typecode(optional):
string
Typecode of the type.
-
typeid(optional):
string
Type ID value of the type.