1 package net.sumaris.core.extraction.vo;
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25 import lombok.Data;
26
27 import javax.annotation.Nullable;
28 import java.util.List;
29 import java.util.Set;
30
31 @Data
32 public class ExtractionFilterVO {
33
34
35 private String operator;
36
37 private List<ExtractionFilterCriterionVO> criteria;
38
39 private String sheetName;
40
41 private Boolean preview;
42
43 private Boolean distinct;
44
45 private Set<String> includeColumnNames;
46
47 private Set<String> excludeColumnNames;
48
49 public boolean isDistinct() {
50 return distinct != null ? distinct.booleanValue() : false;
51 }
52
53 public boolean isPreview() {
54 return preview != null ? preview.booleanValue() : false;
55 }
56 }