Creating Object Types: Syntax


Object Type
It is an Oracle database construct, managed via DDL extensions, that defines a data structure (attributes) and the legal operations (methods) on the attributes. The type is only a template and holds no data itself; you may create variables, tables, columns, and other constructs of this type.


Attribute
It is a structural part of an object, roughly akin to a column in a table. Method
It is a procedure or function that operates on an object’s attributes.