1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16 package org.kuali.ole.select.lookup;
17
18 import org.kuali.rice.krad.bo.BusinessObjectBase;
19
20 import java.util.LinkedHashMap;
21
22 public class DocData extends BusinessObjectBase implements DocStoreData {
23
24 private String author;
25 private String isbn;
26 private String localIdentifier;
27 private String titleId;
28 private String uniqueId;
29 private String bibIdentifier;
30 private String itemTitle;
31
32 public String getIsbn() {
33 return isbn;
34 }
35
36 public void setIsbn(String isbn) {
37 this.isbn = isbn;
38 }
39
40 public String getPublisher() {
41 return publisher;
42 }
43
44 public void setPublisher(String publisher) {
45 this.publisher = publisher;
46 }
47
48 public String getLocalIdentifier() {
49 return localIdentifier;
50 }
51
52 public void setLocalIdentifier(String localIdentifier) {
53 this.localIdentifier = localIdentifier;
54 }
55
56 private String publisher;
57
58 public String getAuthor() {
59 return author;
60 }
61
62 public String getTitleId() {
63 return titleId;
64 }
65
66 public void setTitleId(String titleId) {
67 this.titleId = titleId;
68 }
69
70 public String getBibIdentifier() {
71 return bibIdentifier;
72 }
73
74 public void setBibIdentifier(String bibIdentifier) {
75 this.bibIdentifier = bibIdentifier;
76 }
77
78 public DocData() {
79 }
80
81 public DocData(String author, String title, String isbn, String publisher, String placeOfPulication, String publicationDate, String format, String price, String titleId, String uniqueId, String bibIdentifier) {
82 this.author = author;
83 this.title = title;
84 this.isbn = isbn;
85 this.publisher = publisher;
86 this.placeOfPublication = placeOfPulication;
87 this.publicationDate = publicationDate;
88 this.format = format;
89 this.price = price;
90 this.titleId = titleId;
91 this.uniqueId = uniqueId;
92 this.bibIdentifier = bibIdentifier;
93
94 }
95
96 public DocData(String author, String title, String isbn, String localIdentifier, String publisher, String placeOfPulication, String publicationDate, String format, String price, String titleId, String uniqueId, String bibIdentifier) {
97 this.author = author;
98 this.title = title;
99 this.isbn = isbn;
100 this.localIdentifier = localIdentifier;
101 this.publisher = publisher;
102 this.placeOfPublication = placeOfPulication;
103 this.publicationDate = publicationDate;
104 this.format = format;
105 this.price = price;
106 this.titleId = titleId;
107 this.uniqueId = uniqueId;
108 this.bibIdentifier = bibIdentifier;
109
110 }
111
112 public void setAuthor(String author) {
113 this.author = author;
114 }
115
116 public String getTitle() {
117 return title;
118 }
119
120 public void setTitle(String title) {
121 this.title = title;
122 }
123
124 private String title;
125
126
127 protected LinkedHashMap toStringMapper_RICE20_REFACTORME() {
128
129 return null;
130 }
131
132 public void refresh() {
133
134
135 }
136
137 private String placeOfPublication;
138 private String publicationDate;
139 private String format;
140 private String price;
141
142 public String getPlaceOfPublication() {
143 return placeOfPublication;
144 }
145
146 public void setPlaceOfPublication(String placeOfPublication) {
147 this.placeOfPublication = placeOfPublication;
148 }
149
150 public String getPublicationDate() {
151 return publicationDate;
152 }
153
154 public void setPublicationDate(String publicationDate) {
155 this.publicationDate = publicationDate;
156 }
157
158 public String getFormat() {
159 return format;
160 }
161
162 public void setFormat(String format) {
163 this.format = format;
164 }
165
166 public String getPrice() {
167 return price;
168 }
169
170 public void setPrice(String price) {
171 this.price = price;
172 }
173
174 public String getUniqueId() {
175 return uniqueId;
176 }
177
178 public void setUniqueId(String uniqueId) {
179 this.uniqueId = uniqueId;
180 }
181
182 public String getItemTitle() {
183
184 itemTitle = getTitle();
185 if(itemTitle.contains("<")){
186 itemTitle = itemTitle.replace("<","<");
187 }
188 if(itemTitle.contains(">")){
189 itemTitle = itemTitle.replace(">",">");
190 }
191 return itemTitle;
192 }
193
194 public void setItemTitle(String itemTitle) {
195 this.itemTitle = itemTitle;
196 }
197 }