next up previous contents
Next: Details of implementation Up: Implementation of the Observer Previous: Implementation of the Observer   Contents


Supported types of Observable Properties

Observable properties can hold several types of values:

Any type
Change notification will occur only when the value is assigned to the property.

Mutable sequential types
Like lists and maps. A notification will occur even when the content of the object changes, e.g. when one element of the sequence is assigned, added, removed, etc.

User classes
The user can declare the set of methods that can be observed (i.e. observables will be notified when before or/and after observed object methods are called.)

Events
To notify the observers that some event is occurred.

All needed details about observable property types are explained later in this document (see section 5.5.1).



Roberto Cavada 2008-08-26