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
Path Parameters
-
owner(required): string
Owner of the type.
-
type_name(required): string
Name of the type.
There's no request body for this operation.
Back to TopResponse
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: integer
Number of attributes (if any) in the type.
-
final: string
Indicates whether the type is a final type (YES) or not (NO).
-
incomplete: string
Indicates whether the type is an incomplete type (YES) or not (NO).
-
instantiable: string
Indicates whether the type is an instantiable type (YES) or not (NO).
-
links: array
links
-
local_attributes: integer
Number of local (not inherited) attributes (if any) in the subtype.
-
local_methods: integer
Number of local (not inherited) methods (if any) in the subtype.
-
methods: integer
Number of methods (if any) in the type.
-
owner: string
Owner of the type.
-
persistable: string
Indicates whether the type is a persistable type (YES) or not (NO).
-
predefined: string
Indicates whether the type is a predefined type (YES) or not (NO).
-
supertype_name: string
Name of the supertype (NULL if type is not a subtype).
-
supertype_owner: string
Owner of the supertype (NULL if type is not a subtype).
-
type_name: string
Name of the type.
-
type_oid: string
Object identifier (OID) of the type.
-
typecode: string
Typecode of the type.
-
typeid: string
Type ID value of the type.