5+ Flashcards
Comp Categories
Inventory: Management of Data and access to it
Functionality: Support of business services with algorthmic character
Processes: Business processes
Interaction: with users or other systems of an application landscape
Design-by-Contract
Supplier guarantees post-condition if pre-condition is fulfilled by client
Contractual use of comps
Requires-interface as pre-condition
Provides-interface as post-condition
Enabling interoparability checks
MDA Artefacts
CIM (computation indep. model)
PIM (platform indep model)
PSM (platform dep. model)
Text (code)
MDSD Goals and Benefits
Goals:
- abstraction and simplification
- better platform indep. and interoperability
- optimized sserperation of concerns
- increased dev speed with code generation
- better software quality
Benefits:
- cost reduction
- shorter time-to-market
Model Definition
Abstraction: remove details which dont serve the purpose
Homomorphism: statements on model elements hold for originals
Pragmatics: create the model and its meta-model in a goal-driven way
Meta-Model
Defines parts and rules needed to create valid models
Covers an abstract syntax, at least one concrete syntac, and static and dynamic semantics
Four Metalevels in UML context
M3 Meta-Metamodel: MOF
M2 Metamodel: UML Meta-Model
M1 Model: UML Model
M0 Instances: Objects
Stereotype
are a limited kind of metaclass
define how an existing metaclass or stereotype may be extended
just like a class, a stereotype may have properties/attributes called tag definitions:tag values
UML Profile
Extends a meta-model through additional package
does not allow modifying a meta-model
allows extending metaclasses via stereotypes
Generalization constraints
overlapping
disjoint
complete
incomplete
Design by Contract OCL
an object is responsible for executing services (obligations)
IF and ONLY IF certain stipulations (rights) are fulfilled
OCL Types
BaseTypes Collection Types Tuple Type OCLMessageType VoidType