摘要 |
Declarative dispatch is a computer-implemented method for processing a database represented by a collection of declarations. Computational services responsive to notification of declarations are provided. Each declaration includes a subject entity, a relation, and, optionally, an object entity. The relation is associated with one or more of the provided computational services. Upon receiving a declaration, a notification of the received declaration is dispatched to each computational service associated with the received declaration's relation. The notified computational service may process the subject entity, relation, and optional object entity in response to the dispatched notification. Received declarations may be cached, and dispatch of a received declaration may be suppressed upon retrieval of the received declaration from the cache. Dispatch processing may include instantiation of instances of object-oriented classes, assignment to association and property members of object-oriented classes, and implementation of meta-relations, such as commutivity, transitivity, implication, and complementarity of relations.
|