Livoa LogoLivoa
Creational Patterns
<SmartDevice>

+ operate()

Light
Thermostat

+ Speaker

DeviceFactory

+ createDevice(String SmartDevice)

SmartSpeakerBuilder

+ build(): List<String>
+ assistant: String

CentralController
Singleton

+ Instance: CentralController
+ getInstance(): SmartController
+ update(SmartDevice)
- void

Structural Patterns
>Observer

+ update()
- outyrate()

RoomComposite

+ operate()

Adapter

+ operate() : void

EnergyMonitor Decorator

+ operate()
- Monitor EnergyUsage()

RoomComposite

+ operate()
+ addDevice(SmartDevice): void

EnergyMonitor

+ operate()
+ monitorEnergyUsage(): void

Behavioral Patterns
oObserver

+ update(SmartDevice)

≡Strategy

+ control(): void

Command

+ execute()
+ undo()

ManualControl

+ ScheduledControl
+ AIControl

ManualId

+ Implemented

ManualControl

+ diededue: ... role

AIControl

+ Modular

UML

by Ben

0
0 uses