Every object type must contain at least one attribute. The data type of an attribute can be any of the following:
- A base data type such as
- Another object type
- A globally defined collection type (created by the
CREATE TYPEcommand) such as a nested table or varray
An attribute gets its initial value, which can be null, when an object instance is first created. Each object instance has its own set of attribute values.