1.

Define Aspects?

Answer»

Aspects extend behavior and attributes for objects. An OBJECT type defines the properties and behavior of all objects of that type(and of its subtypes, VIA inheritance).

In contrast, aspects enable us to attach additional behavior and attributes to an object, regardless of its type. EVEN though aspects can be attached regardless of the type of object, aspects cannot be attached to arbitrary types of objects.

Aspects can be attached under the FOLLOWING restrictions on types

  • An aspect can be attached to any sysobject.
  • An aspect can be attached to any object of null type (type with no supertype), once the type has been altered to allow aspects.
  • It is also possible to attach multiple aspects to one object but one aspect cannot be attached multiple TIMES to the same object.
  • If an aspect's name contains a dot, such as jumbo.loan, it cannot have any properties.

Aspects extend behavior and attributes for objects. An object type defines the properties and behavior of all objects of that type(and of its subtypes, via inheritance).

In contrast, aspects enable us to attach additional behavior and attributes to an object, regardless of its type. Even though aspects can be attached regardless of the type of object, aspects cannot be attached to arbitrary types of objects.

Aspects can be attached under the following restrictions on types



Discussion

No Comment Found