4. Declarative AADL Model
Generation of textual AADL from the declarative AADL model has led to several requirements on the meta model.
  • Preservation of AADL comments: A typical language processing front-end discards comments during parsing. The AADL parser preserves comments and associates them with the most appropriate model objects in the declarative AADL representation. During the regeneration of the textual representation these comments are included in the generated text.
  • Preservation of declaration order: Although the AADL does not require a particular declaration order for component classifiers, it is necessary and desirable to preserve the declaration order. Preservation of the declaration order is necessary for features declared in port group types, because the declaration order of features is used to determine whether two port group types are inverses of each other.  Preservation of declaration order is desirable when textual AADL that has been translated into the declarative AADL representation is regenerated from the object model.