Download pdf - 1 - Uml Диаграм

Transcript
  • UML 1

    . ([email protected])

    http://1234.mn/cd

    Object oriented system analysis and design

  • *UML Use case Class Interaction Statechart Activity

  • *UML . , .

    UML (1992) .

    UML = Unified Modeling Language

    UML .

  • * (System model) : (Functional model)UML use case .

    (Object model)UML class , , , .

    (Dynamic model)UML interaction, statechart, activity . interaction statechart , .

  • *Use case , .

    : (actor): . , , . .Use case :(actor) . .

  • *Use case use case .

    : use case .

  • *Class .

    , .

    ( ) .

    :

  • *Class : SimpleWatch .

    SimpleWatch 2 , 1 , 2 , 1 SimpleWatch .

    . SimpleWatch .

  • *Interaction .

    use case- .

    setTime use case- interaction Sequence :

  • *Interaction 1- 2- .Sequence : . 1- . SimpleWatch, Display, Time . ( ) .

  • *Statechart ( , ...) , .

    .

    .

  • *Statechart :

  • *Statechart Sequence (actor) statechart .

  • *Activity . . , . : : : , : .activity

  • *Activity Allocate Resources, Coordinate Resources, Document Incident Open Incident .

    Allocate Resources, Coordinate Resources, Document Incident .

    Archive Incident .

    .

  • * . : , ... : , , , ... .

    : : , , , , .. . . : , , .. . . : , , , .. . .

    . , , ... - . ....

    .

  • * .

    (complexity) , .

    .

    : , , , . . (, ...), , .. . .

  • * .

    ( ) .

    .

    . (UML)

  • *Use case . . Field Officer (, ...) dispatcher . ( , , ... ) . FRIEND

  • *Use case fieldofficer ReportEmergency (use case) dispatcher- dispatcher OpenIncident (use case)- AllocateResources (use case) .

    .

    . Fieldofficer ReportEmergency use case- ReportEmergency fieldofficer .

  • *Use case Use case :

    Use case ( ) use case- (actors) . . use case . use case- . .

    Use case . Use case . use case . , , , , ...

  • *Use case : ReportEmergency use case ?

    Use case ReportEmergency Fieldofficer Dispatcher- . 1. Fieldofficer . 2. FRIEND fieldofficer- .3. Fieldofficer , , . . 4. FRIEND dispatcher- .5. Dispatcher . OpenIncident use case- (Incident) .

    6. FRIEND fieldofficer- .

  • *Use case : ReportEmergency use case ?

    Fieldofficer FRIEND . Fieldofficer dispatcher- Fieldofficer .

    fieldofficer dispatcher- 30 .

    Dispatcher- 30 fieldofficer- .

  • *Use case - SCENARIOUse case (scenario) .

    Scenario use case . use case- scenario . use case- scenario .

    Scenario .

    Use case .

    Scenario . .

  • *Use case - SCENARIOScenario :

    Scenario- : . . scenario .Scenario- actor- (fieldofficer) . .

    (scenario name) Use case actor .

  • *Use case - SCENARIO scenario

    (scenario name)warehouseOnFire Bob, Alice : FieldofficerJohn : Dispatcher 1. Bob . Alice notebook FRIEND- .2. Alice , . . Alice .3. dispatcher John . Alice- . Alice .4. Alice .

  • *Use case - Use case . : use case . (include relationship) : use case use case- . . > . : dispatcher . viewmap use case . :

  • *Use case - use case use case use case .

    Use case AllocateResources Dispatcher .....

    Dispatcher .

    . . FieldOfficer . viewmap use case . Dispatcher .


Recommended