How Entity's Behavior relates to Process

asked 14 Jan '13, 16:06

AnatolR's gravatar image

AnatolR
4976716
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.

link

answered 14 Jan '13, 16:32

AnatolR's gravatar image

AnatolR
4976716
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](http://url.com/ "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

Tags:

×6
×5
×2
×1

Asked: 14 Jan '13, 16:06

Seen: 1,518 times

Last updated: 15 Jan '13, 11:20

Powered By:   Graphite