package ecoparasite.population; import java.util.HashMap; import java.util.HashSet; public class Population { private String id; private PopulationArgs total; private HashMap perYear; public Population(String id, PopulationArgs total, HashMap perYear) { this.id = id; this.total = total; this.perYear = perYear; } public Population(String id, PopulationArgs total) { this.id = id; this.total = total; this.perYear = new HashMap<>(); } public Population(String id) { this.id = id; this.total = null; this.perYear = new HashMap<>(); } public String getId() { return id; } public PopulationArgs getTotal() { return total; } public HashMap getPerYear() { return perYear; } public void setTotal(PopulationArgs total) { this.total = total; } public void setPerYear(HashMap perYear) { this.perYear = perYear; } }