1 package org.kuali.ole.describe.bo;
2
3 import org.kuali.rice.krad.bo.PersistableBusinessObjectBase;
4
5
6
7
8
9
10
11
12
13 public class OleDiscoveryExportMappingFields extends PersistableBusinessObjectBase {
14
15 private String mappingFieldId;
16 private String marcField;
17 private String itemField;
18 private String description;
19 private String exportId;
20 private OleDiscoveryExportProfile oleDiscoveryExportProfile;
21
22
23
24
25
26
27 public String getMappingFieldId() {
28 return mappingFieldId;
29 }
30
31
32
33
34
35
36 public void setMappingFieldId(String mappingFieldId) {
37 this.mappingFieldId = mappingFieldId;
38 }
39
40
41
42
43
44
45 public String getMarcField() {
46 if (marcField == null && oleDiscoveryExportProfile != null) {
47 return oleDiscoveryExportProfile.getOleDiscoveryExportMappingFields().get(0).getMarcField();
48 }
49 return marcField;
50 }
51
52
53
54
55
56
57 public void setMarcField(String marcField) {
58 this.marcField = marcField;
59 }
60
61
62
63
64
65
66 public String getItemField() {
67 if (itemField == null && oleDiscoveryExportProfile != null) {
68 return oleDiscoveryExportProfile.getOleDiscoveryExportMappingFields().get(0).getItemField();
69 }
70 return itemField;
71 }
72
73
74
75
76
77
78 public void setItemField(String itemField) {
79 this.itemField = itemField;
80 }
81
82
83
84
85
86
87 public String getDescription() {
88 if (description == null && oleDiscoveryExportProfile != null) {
89 return oleDiscoveryExportProfile.getOleDiscoveryExportMappingFields().get(0).getDescription();
90 }
91 return description;
92 }
93
94
95
96
97
98
99 public void setDescription(String description) {
100 this.description = description;
101 }
102
103
104
105
106
107
108 public String getExportId() {
109 return exportId;
110 }
111
112
113
114
115
116
117 public void setExportId(String exportId) {
118 this.exportId = exportId;
119 }
120
121
122
123
124
125
126 public OleDiscoveryExportProfile getOleDiscoveryExportProfile() {
127 return oleDiscoveryExportProfile;
128 }
129
130
131
132
133
134
135 public void setOleDiscoveryExportProfile(OleDiscoveryExportProfile oleDiscoveryExportProfile) {
136 this.oleDiscoveryExportProfile = oleDiscoveryExportProfile;
137 }
138 }