|
|
@ -115,9 +115,7 @@ class Season {
|
|
|
|
|
|
|
|
|
|
|
|
class Match {
|
|
|
|
class Match {
|
|
|
|
-id: Int
|
|
|
|
-id: Int
|
|
|
|
-idHomeTeam: Int
|
|
|
|
|
|
|
|
-score: Score
|
|
|
|
-score: Score
|
|
|
|
-idAwayTeam: Int
|
|
|
|
|
|
|
|
-status: String
|
|
|
|
-status: String
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
@ -138,6 +136,9 @@ Team --> "-coach" Coach
|
|
|
|
Team --> "-squad*" Player
|
|
|
|
Team --> "-squad*" Player
|
|
|
|
Team --> "-area" Area
|
|
|
|
Team --> "-area" Area
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Match --> "-HomeTeam" Team
|
|
|
|
|
|
|
|
Match --> "-AwayTeam" Team
|
|
|
|
|
|
|
|
|
|
|
|
Competition --> "-area" Area
|
|
|
|
Competition --> "-area" Area
|
|
|
|
Competition --> "-currentSeason" Season
|
|
|
|
Competition --> "-currentSeason" Season
|
|
|
|
|
|
|
|
|
|
|
@ -164,24 +165,27 @@ skinparam package {
|
|
|
|
hide circle
|
|
|
|
hide circle
|
|
|
|
|
|
|
|
|
|
|
|
interface GenericDataManager {
|
|
|
|
interface GenericDataManager {
|
|
|
|
+getItemsByName(substring: String) : List<T>
|
|
|
|
|
|
|
|
+getItems() : List<T>
|
|
|
|
+getItems() : List<T>
|
|
|
|
+getItemById(id: Int) : T
|
|
|
|
+getItemById(id: Int) : T
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
class TeamsManager {
|
|
|
|
class TeamsManager {
|
|
|
|
|
|
|
|
+getItemsByName(substring: String) : List<Team>
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
class CompetitionsManager {
|
|
|
|
class CompetitionsManager {
|
|
|
|
|
|
|
|
+getItemsByName(substring: String) : List<Competition>
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
class MatchesManager {
|
|
|
|
class MatchesManager {
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
class PeopleManager {
|
|
|
|
class PeopleManager {
|
|
|
|
|
|
|
|
+getItemsByName(substring: String) : List<People>
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
class AreaManager {
|
|
|
|
class AreaManager {
|
|
|
|
|
|
|
|
+getItemsByName(substring: String) : List<Area>
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
abstract class DataManager {
|
|
|
|
abstract class DataManager {
|
|
|
|