Abstract Representations

Objective

Business requirements are necessarily partial and biased and symbolic representations must be defined accordingly, which means to remove irrelevant contexts and features.

Abstraction is in the eye of the beholder(N. de Stael)

Scope

Artifacts are said to be abstract when they they cannot be directly mapped to actual counterparts. Applied to analysis models it means descriptions without extension as business objects; applied to design models it means they cannot be instantiated by system objects. Strictly speaking symbolic representations should always be concrete, at least at requirement levels; abstract representations are one step up in abstraction layers, already detached from business requirements, but not yet the source of system implementations. They should not be confused with partial descriptions, which are one step down towards the description of system components.

Abstract descriptions of business objects (no extension) or system ones (no instantiation)

From an engineering point of view, that requires some justification, namely (1) how do they appear along the modeling process and, (2) why are they needed afterwards. Roles and partitions are to answer the how, architectures the why.

Partitions and Roles

Roles describe the part played by objects into activities and, by so doing, roles put the focus on some aspects while ignoring the remainder. As such there is not enough justification to introduce object abstractions which cannot emerge until aspects can be detached from their native context in order to be used within different ones.

Whereas roles can introduce abstraction from activity perspective, subsets and  partitions do the same from the object perspective by factoring out features whose values are set uniformly by subsets of objects or activities. Here again,  that’s not enough to justify abstractions, until those subsets can be associated to additional features.

Selective democracy comes with partition, but what is a citizen ?

Object Variants

Hence, depending on identification mechanisms and usage, variants at requirements level can be described by partitions, subsets, or roles.

Requirements for static and dynamic variants (objects)

Activity Variants

Behavior variants are associated to extension points and can should be described on the same principles as object variants if models are to be consolidated at analysis level. From that point of view controls may be seen as a kind of abstraction since they describe behaviors shared by all variants.

Requirements for static and dynamic variants (activities)

From Requirements to Analysis Models

Broadly speaking, system architectures can be described as the set of resources and constraints with which business processes have to make do. Along that line of reasoning, the architectural contents of models are due to be fully detached of any reference to actual business objects and processes, ie without extension. In other words architectural features are meant to be described by abstract representations, and that is the main rationale behind abstract qualifiers in analysis models.

Hence, the problem is to understand how such a rationale should govern the translation of requirements models into analysis ones, i.e how the roles, subsets and partitions obtained from requirements should be mapped into types and subtypes defined by analysis:

  • Given a single set of identified objects, specialization will add specific descriptions to its subsets.
  • Given different sets of objects, each with its own identification mechanism, generalization will introduce an abstract description to be applied to all sets.

From Requirements to Analysis Models: Specialization vs Generalization

It must be noted that specialization and generalization are not symmetric: while the former add to existing descriptions without modifying them, that is not the case for the latter which introduces shared features with possible impact on native ones.

As mentioned before, architecture is first and foremost a matter of coupling constraints between contexts and system representations, persistent or transient. Given a rigorous identification of persistency and transient units and built-in traceability, built-in checks can be performed on abstractions introduced with analysis models:

  • If identifiers are managed independently in requirements models, they must remain as such in analysis types and subtypes.
  • Conversely, if requirements objects are governed by the same identification mechanism, it must be represented as such by analysis types and subtypes.

As far as identification mechanisms are concerned, traceability may be applied both across model layers (eg requirements > analysis > design) and abstraction levels, and the later open the way to external consistency validation using the Liskov Substitution Principle.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s


Follow

Get every new post delivered to your Inbox.

Join 301 other followers

%d bloggers like this: