ITM 305 Lecture Notes - Lecture 9: Business Logic, Unified Modeling Language, Sequence Diagram
Document Summary
Three layer design is demonstrated using sequence diagrams and package diagrams. Design is shown to proceed use case by use case, and within each use case, layer by layer. Use case realization: the process of elaborating the detailed design for a particular use case using interaction diagrams. Sequence diagram: a type of interaction diagram which emphasizes the sequence of messages involved in a use case. Switchboard between user-interface classes and domain layer classes. Reduces coupling between view and domain layer. A controller can be created for each use case, however, several controllers can be combined together for a group of related use cases. It is a completely artificial class an artifact. Lifeline: the dashed line under the object which serves as an origin point and a destination point for messages. Activation lifeline: the vertical box on a lifeline which indicates the time period when the object is executing based on the message.