40 lines
1.1 KiB
Java
40 lines
1.1 KiB
Java
package eu.dnetlib.uoamonitorservice.generics;
|
|
|
|
import java.util.ArrayList;
|
|
import java.util.List;
|
|
|
|
public class SubCategoryGeneric<StringOrSection> extends Common {
|
|
protected List<StringOrSection> charts;
|
|
protected List<StringOrSection> numbers;
|
|
|
|
public SubCategoryGeneric() {}
|
|
public SubCategoryGeneric(SubCategoryGeneric subCategory) {
|
|
id = subCategory.getId();
|
|
name = subCategory.getName();
|
|
alias = subCategory.getAlias();
|
|
description = subCategory.getDescription();
|
|
setVisibility(subCategory.getVisibility());
|
|
creationDate = subCategory.getCreationDate();
|
|
updateDate = subCategory.getUpdateDate();
|
|
defaultId = subCategory.getDefaultId();
|
|
numbers = new ArrayList<>();
|
|
charts = new ArrayList<>();
|
|
}
|
|
|
|
public List<StringOrSection> getCharts() {
|
|
return charts;
|
|
}
|
|
|
|
public void setCharts(List<StringOrSection> charts) {
|
|
this.charts = charts;
|
|
}
|
|
|
|
public List<StringOrSection> getNumbers() {
|
|
return numbers;
|
|
}
|
|
|
|
public void setNumbers(List<StringOrSection> numbers) {
|
|
this.numbers = numbers;
|
|
}
|
|
}
|