Technical Module C Object Modeling Objects Object – a valuable resource: Money (Account Receivable) Material (Product) Machines (Delivery Truck) Personnel (Employee) Environmental element of the firm (Customer) Described with data Includes the processes performed on it
UML Unified Modeling Language (UML) – a visual language used to document a system All SDLC methodologies All SDLC stages All applications All platforms
UML Structural diagrams (like snapshots) Use case Class Object Component (physical) Deployment (physical) Dynamic diagrams (like videos) Sequence Statechart Activity Collaboration
UML Rational Unified Process Stages of the object-oriented development methodology Inception Elaboration Construction Transition These are similar to the phased development methodology stages, and also incorporate the repetitive, prototyping action. Phased development can be followed using any modeling approach – including objects.
UML Use Case Diagram Illustrates use cases in association with each other, and with their actors Fig C.2: The Process Customer Order Use Case Diagram
UML Class Diagram Object class – a grouping of similar objects Class diagram – a grouping of object classes within a use case Fig C.3: Class Diagram Format
UML Class Diagram Fig C.6: Special Relationships
UML Class Diagram Multiplicity – the number of times an object can participate in an association Table C.1: Multiplicity Notation
UML Class Diagram Handling many-to-many relationships Fig C.7: An Association Class
UML Class Diagram Class attributes (data) Fig C.8: Sample Attribute Names
UML Class Diagram Class operations (processes) Fig C.9: Sample Operation Names
UML Class Diagram Encapsulation (What, not how) Inheritance Fig C.10: Inheritance Illustrated
UML Fig C.11: Class Diagram for the Fill Customer Order Use Case
UML Sequence Diagram Messages link object classes Fig C.13: Sequence Diagram of the Fill Customer Order Use Case
UML Statechart Diagram Shows how an object changes states Fig C.15: Statechart Diagram of the Customer Order Object
UML Object Diagram Status of an object at a point in time Fig C.16: Object Diagram of the Customer Order and Product Objects
UML Collaboration Diagram Shows message sequence Fig C.17: Collaboration Diagram of Customer, Telemarketer, and Customer Order Dialog
UML Activity Diagram Shows direction of process flow Fig C.18: Activity Diagram of Fill Customer Order Operations
UML Component Diagram Shows software and database components Fig C.19: Component Diagram of the Fill Customer Order Use Case
UML Deployment Diagram Shows the associations among nodes (run - time resources) and actors Fig C.20: Deployment diagram of the Fill Customer Order Use Case
UML Summary Table C.2: Categories of UML Diagrams