|
|
|
@ -4,26 +4,53 @@ package moodle-report{
@@ -4,26 +4,53 @@ package moodle-report{
|
|
|
|
|
' сборка приложения |
|
|
|
|
class App{} |
|
|
|
|
' разметка приложения |
|
|
|
|
class Column{} |
|
|
|
|
'Column --> App |
|
|
|
|
class ColumnPane{} |
|
|
|
|
ColumnPane --> App |
|
|
|
|
class ControlPane{} |
|
|
|
|
ControlPane --> Column |
|
|
|
|
' получение данных из базы данных |
|
|
|
|
class Base{} |
|
|
|
|
' доступ к базе данных |
|
|
|
|
class Access{} |
|
|
|
|
ControlPane --> ColumnPane |
|
|
|
|
class AccessPane{} |
|
|
|
|
AccessPane --> ColumnPane |
|
|
|
|
class TagPane{} |
|
|
|
|
TagPane --> ColumnPane |
|
|
|
|
class ReportPane{} |
|
|
|
|
ReportPane -->ColumnPane |
|
|
|
|
class ReportTextModel{} |
|
|
|
|
class ReportXLSXModel{} |
|
|
|
|
class ReportTableModel{} |
|
|
|
|
ReportTableModel --> ReportPane |
|
|
|
|
class ReportModel{} |
|
|
|
|
ReportModel --> ReportTextModel |
|
|
|
|
ReportModel --> ReportXLSXModel |
|
|
|
|
ReportModel --> ReportTableModel |
|
|
|
|
|
|
|
|
|
/' |
|
|
|
|
получение данных из базы данных |
|
|
|
|
доступ к базе данных |
|
|
|
|
'/ |
|
|
|
|
class Base{ |
|
|
|
|
- connection : Connection |
|
|
|
|
- login : String |
|
|
|
|
- password : Array<Char> |
|
|
|
|
- url : String |
|
|
|
|
} |
|
|
|
|
Base --> Data |
|
|
|
|
Base --> AccessPane |
|
|
|
|
' хранение и представление данных |
|
|
|
|
class Data{ |
|
|
|
|
- userlist : ArrayList<User> |
|
|
|
|
- results : ArrayList<Result> |
|
|
|
|
- quizes : ArrayList<Quiz> |
|
|
|
|
} |
|
|
|
|
Data --> ReportModel |
|
|
|
|
class User{} |
|
|
|
|
User --> Data |
|
|
|
|
class Result{} |
|
|
|
|
Result --> Data |
|
|
|
|
class Quiz{} |
|
|
|
|
Quiz --> Data |
|
|
|
|
class Tag{} |
|
|
|
|
Tag --> Data |
|
|
|
|
Tag --> TagPane |
|
|
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|