dart_mock/mock.puml

21 lines
377 B
Plaintext
Raw Permalink Normal View History

2023-02-13 11:42:22 +01:00
@startuml
class Business {
- PersonDataAccess backend
}
PersonDataAccess <-left- Business : uses
interface PersonDataAccess {
+ store(Person p): void
+ retrieve(int id): Person
+ retrieveAll(): List<Person>
}
class PersonDataAccessMap implements PersonDataAccess {
- Map<int, Person> map
}
class PersonDataAccessSqlite implements PersonDataAccess {
- Sqlite db
}
@enduml