1 package org.kuali.ole.pojo.edi;
2
3 import java.util.ArrayList;
4 import java.util.Arrays;
5 import java.util.List;
6
7
8
9
10
11
12
13
14 public class Summary {
15 private SummarySection summarySection;
16 private List<ControlInfomation> controlInfomation = new ArrayList<ControlInfomation>();
17 private List<MonetarySummary> monetarySummary = new ArrayList<>();
18 private UNTSummary untSummary;
19
20
21 public void addControlInfomation(ControlInfomation controlInfomation) {
22 if (!this.controlInfomation.contains(controlInfomation)) {
23 this.controlInfomation.add(controlInfomation);
24 }
25 }
26
27 public void addMonetarySummary(MonetarySummary monetarySummary) {
28 if (!this.monetarySummary.contains(monetarySummary)) {
29 this.monetarySummary.add(monetarySummary);
30 }
31 }
32
33 public SummarySection getSummarySection() {
34 return summarySection;
35 }
36
37 public void setSummarySection(SummarySection summarySection) {
38 this.summarySection = summarySection;
39 }
40
41 public List<ControlInfomation> getControlInfomation() {
42 return controlInfomation;
43 }
44
45 public void setControlInfomation(List<ControlInfomation> controlInfomation) {
46 this.controlInfomation = controlInfomation;
47 }
48
49 public UNTSummary getUntSummary() {
50 return untSummary;
51 }
52
53 public void setUntSummary(UNTSummary untSummary) {
54 this.untSummary = untSummary;
55 }
56
57 public List<MonetarySummary> getMonetarySummary() {
58 return monetarySummary;
59 }
60
61 public void setMonetarySummary(List<MonetarySummary> monetarySummary) {
62 this.monetarySummary = monetarySummary;
63 }
64 }