uoa-monitor-service/src/main/java/eu/dnetlib/uoamonitorservice/dto/SubCategoryFull.java

19 lines
564 B
Java

package eu.dnetlib.uoamonitorservice.dto;
import eu.dnetlib.uoamonitorservice.generics.SubCategoryGeneric;
import java.util.List;
import java.util.Objects;
public class SubCategoryFull extends SubCategoryGeneric<SectionFull> {
public SubCategoryFull() {}
public SubCategoryFull(SubCategoryGeneric subCategory, List<SectionFull> numbers, List<SectionFull> charts) {
super(subCategory);
numbers.removeIf(Objects::isNull);
charts.removeIf(Objects::isNull);
this.setNumbers(numbers);
this.setCharts(charts);
}
}