This wiki has undergone a migration to Confluence found Here
<meta name="googlebot" content="noindex">

Behavioral Contract Wrapper (new wrapper mechanism)

From HL7Wiki
Revision as of 17:24, 29 October 2006 by Rene spronk (talk | contribs)
Jump to navigation Jump to search
Wrapper structure

The Behavioral Contract Wrapper is a Wrapper that contains information about a event that has happened, as well as the expected behavior of the receiver because of the fact that the event has happened. It contains metadata needed to support the Dynamic Model, either in the form of Receiver Responsibilities or the new CPM. It's important to separate the class representing the "Event" from the class representing "the behavior I expect you to execute because this event has happened".

The Behavioral Contract Wrapper contains a BehavioralContract act which has a 1..1 relationship with a ControlAct in Event mood. As such the Behavioral Contract Wrapper contains the identification of the Trigger Event.

The BehavioralContract Act has a recursive Act Relationship to allow for nesting. This can be used (amongst other things) to support a transactional grouping (a.k.a. transactional batching) mechanism.