Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Image Removed  A reusable expression is a piece of logic that is reused throughout the Blueriq model. We speak of a reusable expression to indicate that the purpose of it is to be reused, in Blueriq Studio Encore this is shortened to expression. Reusable expressions are used when the specific logic element will be used more than once within the model or when it is only used once but the business engineer developing it deems it very likely that it will be used more than once in the future.

...

Shown below is the same piece of (simple) logic. The age (of an applicant) is determined using his or her date of birth.

Image Removed

Image Added

Image Removed

Image Added

One might argue in favor of using reusable expressions or attributes. Arguments to use one or the other are enumerated below.

  1. When the expression is clearly only applicable for one entity, an attribute is favored.
  2. When the expression is used in more entity, a reusable expression is favored. However, attributes that use this expression can still be modeled.
  3. Remember that not all attributes make sense semantically. The number of persons as an attribute for person makes no sense. If that fact is necessary, perhaps model it as a reusable expression.
  4. There are arguments to use control-entities or steering-entities. For example to store the number of persons, as mentioned in the previous item. However, they do not have any semantic advantage.

...


Panel
Section
Column
width50%

Main chapter: Design considerations

Previous: Setting a business value

Column

Next: Dealing with lots of logic and multiple versions Multivalued attributes in decision tables