上游充通大¥ SHANGHAI JIAO TONG UNIVERSITY 3.2 UML is also for .. Specifying Building models that are:Precise,Unambiguous,Complete UML symbols are based on well-defined syntax and semantics. UML addresses the specification of all important analysis,design,and implementation decisions. Constructing Models are related to OO programming languages. Round-trip engineering requires tool and human intervention to avoid information loss Forward engineering-direct mapping of a UML model into code. Reverse engineering-reconstruction of a UML model from an implementation. Documenting Architecture,Requirements,Tests,Activities (Project planning, Release management) Software Engineering
Software Engineering 3.2 UML is also for … Specifying Building models that are: Precise, Unambiguous, Complete UML symbols are based on well-defined syntax and semantics. UML addresses the specification of all important analysis, design, and implementation decisions. Constructing Models are related to OO programming languages. Round-trip engineering requires tool and human intervention to avoid information loss ! Forward engineering — direct mapping of a UML model into code. ! Reverse engineering — reconstruction of a UML model from an implementation. Documenting Architecture, Requirements, Tests, Activities (Project planning, Release management)
上游充通大¥ SHANGHAI JIAO TONG UNIVERSITY 3.3 Architecture View UML is for visualizing,specifying,constructing,and documenting with emphasis on system architectures(things in the system and relationships among the things)from five different views Architecture -A set of significant decisions vocabulary functionality Design View Implementation View system assembly configuration mgmt. behavior Use Case View system topology performance scalability Process View distribution Deployment View delivery throughput installation Software Engineering
Software Engineering 3.3 Architecture & View Process View Deployment View Design View Implementation View Use Case View vocabulary functionality performance scalability throughput behavior system assembly configuration mgmt. system topology distribution delivery installation UML is for visualizing, specifying, constructing, and documenting with emphasis on system architectures (things in the system and relationships among the things) from five different views Architecture -A set of significant decisions
上游充通大学 SHANGHAI JIAO TONG UNIVERSITY 3.4 Three basic building blocks of UML Things important modeling concepts (individual ones as the primitive kinds) Relationships tying individual things (i.e.,their concepts) Diagrams grouping interrelated collections of things and relationships UML=Things+Relationships+Diagrams Software Engineering
Software Engineering 3.4 Three basic building blocks of UML Things • important modeling concepts (individual ones as the primitive kinds) Relationships • tying individual things (i.e., their concepts) Diagrams • grouping interrelated collections of things and relationships UML=Things+Relationships+Diagrams
上降充通大学 SHANGHAI JIAO TONG UNIVERSITY 3.4.1 Things Structural nouns of UML models. © Behavioral-dynamic (verbal)parts of UML models. Grouping-organizational parts of UML models. © Annotational -explanatory parts of UML models. Things=Structural+Behavioral+Grouping+Annotational Software Engineering
Software Engineering Structural — nouns of UML models. Behavioral — dynamic (verbal) parts of UML models. Grouping — organizational parts of UML models. Annotational — explanatory parts of UML models. 3.4.1 Things Things=Structural+Behavioral+Grouping+Annotational
上游充通大学 SHANGHAI JIAO TONG UNIVERSITY (1)Structural Things in UML Nouns of UML models. Conceptual or physical elements. Class Active Class Collaboration Window Event Mgr Node origin thread size Chain of time open() Responsibility. suspend() WebServer close() flush() move( stop() Place listbox IWindow Order Interface Use Case Component Software Engineering
Software Engineering Nouns of UML models. Conceptual or physical elements. (1) Structural Things in UML Window origin size open( ) close( ) move( ) IWindow Chain of Responsibility Place Order Event Mgr thread time suspend( ) flush( ) stop( ) listbox Class Interface Collaboration Use Case Active Class Component Node WebServer