How Entity's Behavior relates to Process

asked 14 Jan '13, 16:06

AnatolR's gravatar image

accept rate: 75%

Entity has a property which contains a list of Behaviors. Each Behavior is mapped to a Process object. A derived Entity inherits its parent's Behavior mapping. A derived Entity's Behavior can be remapped to another Process. Such Process's Inputs/Outputs must be of the same type as the corresponding Process's on the parent class. Alternatively, Inputs/Outputs types can be overridden by more specific types.

Consider the following picture:

alt text

Process GetPartyName is mapped to Party's Behavior GetName. Company inherits fron Party and, therefore, its Behavior GetName is mapped to GetPartyName. Individual also inherits from Party, but its Behavior GetName is re-mapped (or overridden) with Process GetPersonName.


answered 14 Jan '13, 16:32

AnatolR's gravatar image

accept rate: 75%

edited 15 Jan '13, 11:20

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text]( "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported



Asked: 14 Jan '13, 16:06

Seen: 1,518 times

Last updated: 15 Jan '13, 11:20

Powered By:   Graphite