forked from yuriykulikov/AlarmClock
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathclass_diagram.txt
65 lines (52 loc) · 1.34 KB
/
class_diagram.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
@startuml
hide empty fields
hide empty methods
package Presenters {
note "All presenters get Intents with IAlarm attached" as N1
'Alert Presentation
class Klaxon {
Receiver
Service
}
Klaxon o-down- Alarm
class Alert {
AlertReciever
NM
AlertActivityFS
AlertActivity
}
Alert o-down- Alarm
'Scheduled presentation
StatusPresenters o-down- Alarm
'Alarms presentation
class ListFragment
class DetailsFragment
ListFragment o-down- IAlarms
ListFragment -right-> DetailsFragment : Alarm
DetailsFragment o-down- Alarm
}
'model
interface IAlarms
class Alarms
Alarms .down.|> IAlarms
class DataBaseService
AlarmCore -right-> DataBaseService : hibernate
interface Alarm {
Calendar getCalendar(CalendarType)
}
class AlarmCore
AlarmCore .down.|> Alarm
AlarmCore -down-> BroadcastMediator : status changed
Alarms o-- AlarmCore
'Timed events
class Scheduler
class AlarmsService
AlarmCore o-- Scheduler
Scheduler -left-> AndroidAlarmsManager : set alarm
Scheduler -right-> BroadcastMediator : scheduled
AndroidAlarmsManager -up-> AlarmsService : fire alarm
AlarmsService o-right-> AlarmCore : onAlarmFired
'OS
class AndroidAlarmsManager
class BroadcastMediator
@enduml