Type is an user-defined datatype that model the structure and behavior of the data in an application. An object type consists of two parts: a specification and a body. The type body always depends on its type specification. A collection type is a named varying array (varray) or a nested table type.
Just simply click -> Type to open an
object pane for Type. A right-click displays the popup menu
or using the object pane toolbar below, allowing you to create new, edit and
delete the selected type.
Create Object Type (Object Type Specification)
To create a new object type
- Select anywhere on the object pane.
- Click the
New Object Type from the object pane toolbar.
or - Right-click and select
New Object Type from the popup menu.
- Edit object type properties on the appropriate tabs of the Object Type Designer.
To edit the existing object type (manage its definition etc)
- Select the object type for editing in the object pane.
- Right-click and select the
Design Type from the popup menu or simply double-click the object type.
or - Click the
Design Type from the object pane toolbar.
- Edit object type properties on the appropriate tabs of the Object Type Designer.
Delete Object Type
To delete an object type
- Select the object type for deleting in the object pane.
- Right-click and select the
Delete Type from the popup menu.
or - Click the
Delete Type from the object pane toolbar.
- Confirm deleting in the dialog window.
Create Type Body (Object Type Body)
To create a new type body
- Select the object type for modifying in the object pane.
- Right-click and select
New Type Body from the popup menu.
- Edit type body properties on the appropriate tabs of the Type Body Designer.
To edit the existing type body (manage its definition etc)
- Select the object type for editing in the object pane.
- Right-click and select the
Design Type Body from the popup menu.
- Edit type body properties on the appropriate tabs of the Type Body Designer.
Delete Type Body
To delete a type body
- Select the object type for deleting in the object pane.
- Right-click and select the
Delete Type Body from the popup menu.
- Confirm deleting in the dialog window.
Create Collection Type
To create a new collection type
- Select anywhere on the object pane.
- Click the
New Collection Type from the object pane toolbar.
or - Right-click and select
New Collection Type from the popup menu.
- Edit collection type properties on the appropriate tabs of the Collection Type Designer.
To create a new collection type with modification as one of the existing collection type
- Select the collection for modifying in the object pane.
- Right-click and select the
Design Type from the popup menu or simply double-click the collection type.
or - Click the
Design Type from the object pane toolbar.
- Modify collection type properties on the appropriate tabs of the Collection Type Designer.
- Click
Save As.
To edit the existing collection type(manage its general, privileges etc)
- Select the collection type for editing in the object pane.
- Right-click and select the
Design Type from the popup menu or simply double-click the collection type.
or - Click the
Design Type from the object pane toolbar.
- Edit collection type properties on the appropriate tabs of the Collection Type Designer.
Delete Collection Type
To delete a collection type
- Select the collection type for deleting in the object pane.
- Right-click and select the
Delete Type from the popup menu.
or - Click the
Delete Type from the object pane toolbar.
- Confirm deleting in the dialog window.
Maintain Type
To maintain a type
- Select the type for maintaining in the object pane.
- Right-click and select the Maintain from the popup menu.
- Compile
- Compile for Debug
Achieve Type Information
To achieve a type information (Type Owner, Status, Body Status and DDL, etc)
- Select the type in the object pane.
- Right-click the selected type and choose Type Information from the popup menu to view the Object Information.
or - Choose View -> Object Information in the main menu.