Basic Structural Modeling
Basic Structural Modeling
Booch G., Rumbaugh J. & Jacobsons I., "The Unified Modeling Language User
Guide", Addison Wesley, 2002. [Part-2]
Bahrami A., "Object Oriented System Development", McGraw Hill, 2003.
Structural Modeling
• captures the static features of a system
• Consist of
• Classes diagrams
• Objects diagrams
• Deployment diagrams
• Package diagrams
• Composite structure diagram
• Component diagram
Structural Modeling …
• represents the framework
• framework - where all other components exist
• class diagram, component diagram and deployment diagrams - part of
structural modeling
• represent the elements and the mechanism to assemble them
• never describes the dynamic behavior of the system
• Class diagram is the most widely used structural diagram.
Classes
• Names
• Attributes
• Operations
• Organizing Attributes and Operations
• Responsibilities
Class
Names
Attributes
Operation
Organizing Attributes and Operations
Responsibility
Classes
Common modeling techniques
• Modeling Comments
• Modeling New Building Block with Standard Blocks and Stereotypes
• Modeling New Properties for a UML element
• Using stereotypes, and tagged values
• Modeling New Semantics for a UML element using constraints
Modeling Comments
Diagrams
• Structural Diagrams
• Behavioral Diagrams
Common Mechanisms
Common Modeling Techniques