1
|
package eu.dnetlib.enabling.datastructures;
|
2
|
|
3
|
import java.util.List;
|
4
|
|
5
|
import com.google.common.collect.Lists;
|
6
|
|
7
|
import eu.dnetlib.enabling.annotations.DnetResource;
|
8
|
import eu.dnetlib.rmi.objects.is.DnetResourceFormat;
|
9
|
import eu.dnetlib.rmi.objects.is.DnetResourceKind;
|
10
|
|
11
|
@DnetResource(type = "CleaningRule", kind = DnetResourceKind.CONFIGURATION, format = DnetResourceFormat.JSON)
|
12
|
public class CleaningRule extends AbstractJsonResource {
|
13
|
|
14
|
private List<AtomicCleaningRule> rules = Lists.newArrayList();
|
15
|
|
16
|
public List<AtomicCleaningRule> getRules() {
|
17
|
return rules;
|
18
|
}
|
19
|
|
20
|
public void setRules(final List<AtomicCleaningRule> rules) {
|
21
|
this.rules = rules;
|
22
|
}
|
23
|
|
24
|
}
|