1 package org.kuali.ole.select.bo;
2
3
4 import org.kuali.rice.kns.service.KNSServiceLocator;
5 import org.kuali.rice.krad.bo.PersistableBusinessObjectBase;
6 import org.kuali.rice.krad.service.KRADServiceLocator;
7 import org.kuali.rice.krad.service.KRADServiceLocatorWeb;
8
9 import java.util.HashMap;
10 import java.util.List;
11 import java.util.Map;
12
13
14
15
16
17
18
19
20 public class OLEClaimNoticeBo extends PersistableBusinessObjectBase{
21 private String id;
22 private String nameOfTheSender;
23 private String nameOfTheVendor;
24 private String claimDate;
25 private String claimCount;
26 private String claimType;
27 private String title;
28 private String placeOfPublication;
29 private String publication;
30 private String publicationDate;
31 private String enumeration;
32 private String chronology;
33 private String vendorsLibraryAcctNum;
34 private String vendorOrderNumber;
35 private String vendorTitleNumber;
36 private String libraryPurchaseOrderNumber;
37 private String unboundLocation;
38 private String mailAddress;
39 private boolean active;
40 private String claimTypeName;
41
42
43 public String getClaimTypeName() {
44 if(claimType!=null){
45 Map<String,String> map = new HashMap<>();
46 map.put("oleClaimTypeCode",claimType);
47 List<OLEClaimType> oleClaimTypeList = (List<OLEClaimType>) KRADServiceLocatorWeb.getLegacyDataAdapter().findMatching(OLEClaimType.class, map);
48 claimTypeName = oleClaimTypeList!=null&& oleClaimTypeList.size()>0 ? oleClaimTypeList.get(0).getOleClaimTypeName() : "";
49 }
50 return claimTypeName;
51 }
52
53 public void setClaimTypeName(String claimTypeName) {
54 this.claimTypeName = claimTypeName;
55 }
56
57 public String getMailAddress() {
58 return mailAddress;
59 }
60
61 public void setMailAddress(String mailAddress) {
62 this.mailAddress = mailAddress;
63 }
64
65 public boolean isActive() {
66 return active;
67 }
68
69 public void setActive(boolean active) {
70 this.active = active;
71 }
72
73 public String getId() {
74 return id;
75 }
76
77 public void setId(String id) {
78 this.id = id;
79 }
80
81 public String getNameOfTheSender() {
82 return nameOfTheSender;
83 }
84
85 public void setNameOfTheSender(String nameOfTheSender) {
86 this.nameOfTheSender = nameOfTheSender;
87 }
88
89 public String getNameOfTheVendor() {
90 return nameOfTheVendor;
91 }
92
93 public void setNameOfTheVendor(String nameOfTheVendor) {
94 this.nameOfTheVendor = nameOfTheVendor;
95 }
96
97 public String getClaimDate() {
98 return claimDate;
99 }
100
101 public void setClaimDate(String claimDate) {
102 this.claimDate = claimDate;
103 }
104
105 public String getClaimCount() {
106 return claimCount;
107 }
108
109 public void setClaimCount(String claimCount) {
110 this.claimCount = claimCount;
111 }
112
113 public String getClaimType() {
114 return claimType;
115 }
116
117 public void setClaimType(String claimType) {
118 this.claimType = claimType;
119 }
120
121 public String getTitle() {
122 return title;
123 }
124
125 public void setTitle(String title) {
126 this.title = title;
127 }
128
129 public String getPlaceOfPublication() {
130 return placeOfPublication;
131 }
132
133 public void setPlaceOfPublication(String placeOfPublication) {
134 this.placeOfPublication = placeOfPublication;
135 }
136
137 public String getPublication() {
138 return publication;
139 }
140
141 public void setPublication(String publication) {
142 this.publication = publication;
143 }
144
145 public String getPublicationDate() {
146 return publicationDate;
147 }
148
149 public void setPublicationDate(String publicationDate) {
150 this.publicationDate = publicationDate;
151 }
152
153 public String getEnumeration() {
154 return enumeration;
155 }
156
157 public void setEnumeration(String enumeration) {
158 this.enumeration = enumeration;
159 }
160
161 public String getChronology() {
162 return chronology;
163 }
164
165 public void setChronology(String chronology) {
166 this.chronology = chronology;
167 }
168
169 public String getVendorsLibraryAcctNum() {
170 return vendorsLibraryAcctNum;
171 }
172
173 public void setVendorsLibraryAcctNum(String vendorsLibraryAcctNum) {
174 this.vendorsLibraryAcctNum = vendorsLibraryAcctNum;
175 }
176
177 public String getVendorOrderNumber() {
178 return vendorOrderNumber;
179 }
180
181 public void setVendorOrderNumber(String vendorOrderNumber) {
182 this.vendorOrderNumber = vendorOrderNumber;
183 }
184
185 public String getVendorTitleNumber() {
186 return vendorTitleNumber;
187 }
188
189 public void setVendorTitleNumber(String vendorTitleNumber) {
190 this.vendorTitleNumber = vendorTitleNumber;
191 }
192
193 public String getLibraryPurchaseOrderNumber() {
194 return libraryPurchaseOrderNumber;
195 }
196
197 public void setLibraryPurchaseOrderNumber(String libraryPurchaseOrderNumber) {
198 this.libraryPurchaseOrderNumber = libraryPurchaseOrderNumber;
199 }
200
201 public String getUnboundLocation() {
202 return unboundLocation;
203 }
204
205 public void setUnboundLocation(String unboundLocation) {
206 this.unboundLocation = unboundLocation;
207 }
208 }