diff --git a/UML/classes.puml b/UML/classes.puml index e48eb5d..59124fb 100644 --- a/UML/classes.puml +++ b/UML/classes.puml @@ -27,7 +27,7 @@ namespace ecoparasite { InputFactory o--> RawData interface DataParsing { - + HashSet parse() + + HashSet parse() } exception InputFileException { @@ -41,6 +41,11 @@ namespace ecoparasite { + String getMessage() } + exception InvalidParsingException { + - int parsingId + - String parsingClass + } + } namespace ecoparasite.poissons { @@ -64,12 +69,54 @@ namespace ecoparasite { + Mackerel() } - abstract class PartiePoisson { + class PartiePoisson { + - String name + - Double infestation + + PartiePoisson(String name, Double infestation) } Poisson o--> PartiePoisson : # fishParts } + namespace ecoparasite.population { + + class Population implements ecoparasite.input.DataParsing { + - String id + - HashMap perYear + + Population() + } + + Population o--> PopulationArgs : - total + + class PopulationArgs { + - int year + - int number + - Double intensity + - Double abondance + + PopulationArgs() + } + + PopulationArgs o--> PopulationArgInterval : - length + PopulationArgs o--> PopulationArgInterval : - width + PopulationArgs o--> PopulationArgInterval : - prevalence + PopulationArgs o--> PopulationArgInterval : - ic + + class PopulationArgInterval { + - Double min + - Double max + - Double mean + + PopulationArgInterval() + + PopulationArgInterval() + + Double transformToDouble() + + {static} PopulationArgInterval fromString() + } + + class PopulationParsing { + + {static} HashSet parseParasitesPeru() + - {static} void applyValueForParasitesPeru() + } + } + namespace ecoparasite.unknown { note top of ecoparasite.unknown : Ce paquet est temporaire pour des classes / interfaces qui devront avoir plus de déclinaisons.