Download
devon m simmonds n.
Skip this Video
Loading SlideShow in 5 Seconds..
Metadata & The UML Metamodel PowerPoint Presentation
Download Presentation
Metadata & The UML Metamodel

Metadata & The UML Metamodel

158 Views Download Presentation
Download Presentation

Metadata & The UML Metamodel

- - - - - - - - - - - - - - - - - - - - - - - - - - - E N D - - - - - - - - - - - - - - - - - - - - - - - - - - -
Presentation Transcript

  1. Devon M. Simmonds Metadata & The UMLMetamodel SLIDES include some from tvarious sources including: (1) http://www.econ.kuleuven.ac.be/public/ndbaa30/SWMGT/ (2) Object Modeling with OMG UML Tutorial Series - http://www.omg.org/technology/uml/uml_tutorial.htm

  2. Mike:Customer Id= 12345 b:CustomerOrder c:CustomerOrder Item=batter Quantity=<5 tons> (M0) Customer CustomerOrder (M1) id item quantity (M2) Class Association Meta-Models • Models that describe other models Objects * Model Meta-Model Advanced Modeling with UML

  3. UML • The UML specification consists of two interrelated parts: • UML Semantics. A metamodel that specifies the abstract syntax and semantics of UML object modeling concepts. • UML Notation. A graphic notation for the visual representation of the UML semantics.

  4. UML • The abstract syntax for the UML Semantics is expressed using a small subset of the UML Notation. • The UML Notation describes the mapping of the graphic notation to the underlying semantics.

  5. UML • The UML metamodelis described in a semi-formal manner using three views: • Abstract syntax • Well-formedness rules • Semantics • The abstract syntax is provided as a model described in a subset of UML, consisting of a UML class diagram and a supporting natural language description.

  6. UML • The well-formedness rules are provided using a formal language (Object Constraint Language) and natural language (English). • The semantics are described primarily in natural language, but may include some additional notation.

  7. * GeneralizableElement Feature isRoot : Boolean isLeaf : Boolean isAbstract : Boolean visibility : {public, private, protected} Well-formedness constraint (OCL) not self.isAbstract implies self.allOperations->forAll(op | self.allMethods->exists(m | m.specification includes (op))) Class isActive : Boolean The UML Meta-Model • A UML Model that describes UML Meta-Class Classifier Advanced Modeling with UML

  8. Four Layered Architecture

  9. OMG Modeling Infrastructure Instance_of Instance_of Instance_of Meta-Object Facility (MOF) M3 UML Metamodel M2 Modeling concepts M1 User Data M0

  10. UML Metamodel Features • UML metamodel is managed by organizing it into packages. • Each package groups related metaclasses SWE 699

  11. «metamodel» UML “Behavioral Elements” dependency “Structural Elements” package UML Metamodel Overview Advanced Modeling with UML

  12. “Structural Elements” Classes Components Deployments Composite Structures UML Overview <<imports>> <<imports>> <<imports>> Advanced Modeling with UML

  13. Example 1 A meta-model is a conceptual model of a modeling technique ! Entity PERSON Name [0..1] 1 owns [0..*] [0..*] Association End [2..*] 1 Association CAR Cardinality range Name Rolename Model Layer Meta Model Layer

  14. Classifier Relationship Example 2 0..1 2..* 0..1 Class Property Association 0..1 member end 0..1 0..* Owned end Syntactically valid ?

  15. The Java Metamodel

  16. Behavioral Elements of UML Metamodel Advanced Modeling with UML

  17. Qu es ti ons? The End ______________________ Devon M. Simmonds Computer Science Department University of North Carolina Wilmington _____________________________________________________________