31.03.26 #5
@@ -27,7 +27,7 @@ namespace ecoparasite {
|
||||
InputFactory o--> RawData
|
||||
|
||||
interface DataParsing {
|
||||
+ HashSet<Poisson> parse()
|
||||
+ HashSet<T> 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<Integer,PopulationArgs> 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<Population> 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.
|
||||
|
||||
Reference in New Issue
Block a user