You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 4 Next »

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

Whenever reusable expressions are used, one might also opt to use attributes. The value of the attribute in question is determined by an expression within that attribute (and therefor not reusable) but the attribute is reusable.

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

One might argue in favor of 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. ...
Graag wat praktijk-input.

Back to main chapter 4. Design considerations

  • No labels