This repository has been archived on 2024-05-31. You can view files and clone it, but cannot push or open issues or pull requests.
devicehub-teal/docs/actions.puml

102 lines
2.5 KiB
Plaintext
Raw Permalink Normal View History

2018-06-10 16:47:49 +00:00
@startuml
left to right direction
skinparam nodesep 20
skinparam ranksep 1
2018-06-10 16:47:49 +00:00
abstract class Rate
abstract class Event
abstract class Test
abstract class Allocate
abstract class Transfer
abstract class Trade
abstract class EventWithOneDevice
abstract class EventWithMultipleDevices
abstract class Organize
abstract class Plan
abstract class Step
abstract class PhotoboxRate
package "Devices" {
abstract class Device
abstract class Component
Device <|- Component
}
IndividualRate "1..*" -- "1..*" AggregateRate : ratings <
Event <|-- EventWithOneDevice
Event <|-- EventWithMultipleDevices
EventWithOneDevice <|--- Snapshot
EventWithOneDevice <|--- Install
EventWithOneDevice <|-- Rate
Rate <|-- AggregateRate
Rate <|- IndividualRate
IndividualRate <|- PhotoboxRate
IndividualRate <|-- WorkbenchRate
EventWithOneDevice <|-- Test
Test <|-- TestDataStorage
Test <|-- StressTest
EventWithOneDevice <|--- EraseBasic
EraseBasic <|- EraseSectors
Step <|-- StepZero
Step <|-- "Step\nRandom"
Snapshot "1" -- "1" "Snapshot\nRequest"
2018-06-10 16:47:49 +00:00
Event "*" -> "0..1" Snapshot : InSnapshot >
Event "*" -> "0..1" Component : affectedComponents >
Device "1" *- "*" EventWithOneDevice : EventOn <
Device "1..*" *- "1" EventWithMultipleDevices : EventOn <
EraseBasic "1" *- "1..*" Step
2018-06-10 16:47:49 +00:00
PhotoboxRate <|-- PhotoboxSystemRate
PhotoboxRate <|-- PhotoboxPersonRate
package Images{
ImageList "1" *- "1..*" Image : In <
Device "1" *-- "*" ImageList
Image "1" *-- "*" PhotoboxRate
}
EventWithMultipleDevices <|- Organize
EventWithMultipleDevices <|-- Transfer
EventWithMultipleDevices <|-- Trade
EventWithMultipleDevices <|--- ToDispose
EventWithMultipleDevices <|--- Locate
EventWithMultipleDevices <|--- Migrate
EventWithMultipleDevices <|--- Prepare
EventWithMultipleDevices <|--- ReadyToUse
EventWithMultipleDevices <|--- Recycle
EventWithMultipleDevices <|--- Repair
EventWithMultipleDevices <|--- ToPrepare
EventWithMultipleDevices <|--- ToRepair
EventWithMultipleDevices <|--- DisposeWaste
EventWithMultipleDevices <|--- Recover
Transfer <|-- Receive
Trade <|-- Sell
Trade <|-- DisposeProduct
Trade <|-- Donate
Trade <|-- Pay
Trade <|-- Rent
Organize <|-- Allocate
Allocate <|-- Accept
Allocate <|-- Reject
Allocate <|-- Assign
Organize <|-- Plan
Plan <|-- Reserve
Plan <|-- CancelReservation
package Agents {
abstract class User <<Common schema>>
2018-06-10 16:47:49 +00:00
abstract class Agent
2018-06-10 16:47:49 +00:00
Event "*" -> "1" User : Author >
Event "*" - "0..1" Agent : agent >
Trade "*" - "0..1" Agent : to >
2018-06-10 16:47:49 +00:00
User - Agent
2018-06-10 16:47:49 +00:00
}
@enduml