1 package org.kuali.ole.ingest.pojo;
2
3 //import org.kuali.ole.docstore.model.xmlpojo.work.bib.marc.DataField;
4 import org.kuali.ole.docstore.model.xmlpojo.work.bib.marc.DataField;
5 import org.kuali.rice.krad.bo.PersistableBusinessObjectBase;
6
7 import java.util.LinkedHashMap;
8 import java.util.List;
9
10 /**
11 * Created by IntelliJ IDEA.
12 * User: premkb
13 * Date: 12/22/12
14 * Time: 10:45 AM
15 * To change this template use File | Settings | File Templates.
16 */
17 public class OverlayOption extends PersistableBusinessObjectBase {
18
19 private Integer id;
20 private String agendaName;
21 private String name;
22 private List<DataField> dataFields;
23 private List<OleDataField> oleDataFields;
24 //private String agendaName;
25 /* private String optionName;
26 private String stringDataFields;*/
27
28 /**
29 * Gets the id attribute.
30 * @return Returns the id.
31 */
32 public Integer getId() {
33 return id;
34 }
35 /**
36 * Sets the id attribute value.
37 * @param id The id to set.
38 */
39 public void setId(Integer id) {
40 this.id = id;
41 }
42
43 public String getAgendaName() {
44 return agendaName;
45 }
46
47 public void setAgendaName(String agendaName) {
48 this.agendaName = agendaName;
49 }
50
51 public String getName() {
52 return name;
53 }
54
55 public void setName(String name) {
56 this.name = name;
57 }
58
59 public List<DataField> getDataFields() {
60 return dataFields;
61 }
62
63 public void setDataFields(List<DataField> dataFields) {
64 this.dataFields = dataFields;
65 }
66
67 /**
68 * Gets the agendaName attribute.
69 * @return Returns the agendaName.
70 */
71 /* public String getAgendaName() {
72 return agendaName;
73 }*/
74 /**
75 * Sets the agendaName attribute value.
76 * @param agendaName The agendaName to set.
77 */
78 /* public void setAgendaName(String agendaName) {
79 this.agendaName = agendaName;
80 }*/
81 /**
82 * Gets the optionName attribute.
83 * @return Returns the optionName.
84 */
85 /* public String getOptionName() {
86 return optionName;
87 }*/
88 /**
89 * Sets the optionName attribute value.
90 * @param optionName The optionName to set.
91 */
92 /* public void setOptionName(String optionName) {
93 this.optionName = optionName;
94 }*/
95 /**
96 * Gets the stringDataFields attribute.
97 * @return Returns the stringDataFields.
98 */
99 /* public String getStringDataFields() {
100 return stringDataFields;
101 }*/
102
103 public List<OleDataField> getOleDataFields() {
104 return oleDataFields;
105 }
106
107 public void setOleDataFields(List<OleDataField> oleDataFields) {
108 this.oleDataFields = oleDataFields;
109 }
110
111 /**
112 * This method returns concatenated value of id,agendaName,optionName,stringDataFields
113 * @return toStringMap
114 */
115 protected LinkedHashMap toStringMapper() {
116 LinkedHashMap toStringMap = new LinkedHashMap();
117 toStringMap.put("id", id);
118 toStringMap.put("agendaName", agendaName);
119 toStringMap.put("name", name);
120 //toStringMap.put("stringDataFields", stringDataFields);*/
121 return toStringMap;
122 }
123 }