1 16 package org.apache.jetspeed.services.search; 17 18 import java.util.Map ; 19 import java.net.URL ; 20 21 import org.apache.commons.collections.MultiMap; 22 23 29 public class BaseParsedObject implements ParsedObject 30 { 31 32 private String key; 33 private String type; 34 private String title; 35 private String description; 36 private String content; 37 private String language; 38 private URL url; 39 private String [] keywords; 40 private MultiMap multiKeywords; 41 private Map fields; 42 private MultiMap multiFields; 43 private float score; 44 private String className; 45 46 51 public String getKey() 52 { 53 return this.key; 54 } 55 56 61 public void setKey(String key) 62 { 63 this.key = key; 64 } 65 66 71 public String getType() 72 { 73 return this.type; 74 } 75 76 81 public void setType(String type) 82 { 83 this.type = type; 84 } 85 86 91 public String getContent() 92 { 93 return this.content; 94 } 95 96 101 public void setContent(String content) 102 { 103 this.content = content; 104 } 105 106 111 public String getDescription() 112 { 113 return this.description; 114 } 115 116 121 public void setDescription(String description) 122 { 123 this.description = description; 124 } 125 126 131 public String [] getKeywords() 132 { 133 return this.keywords; 134 } 135 136 141 public void setKeywords(String [] keywords) 142 { 143 this.keywords = keywords; 144 } 145 146 151 public String getTitle() 152 { 153 return this.title; 154 } 155 156 161 public void setTitle(String title) 162 { 163 this.title = title; 164 } 165 166 171 public String getLanguage() 172 { 173 return this.language; 174 } 175 176 181 public void setLanguage(String language) 182 { 183 this.language = language; 184 } 185 186 191 public Map getFields() 192 { 193 return this.fields; 194 } 195 196 201 public void setFields(Map fields) 202 { 203 this.fields = fields; 204 } 205 206 211 public URL getURL() 212 { 213 return this.url; 214 } 215 216 221 public void setURL(URL url) 222 { 223 this.url = url; 224 } 225 226 231 public float getScore() 232 { 233 return this.score; 234 } 235 236 241 public void setScore(float score) 242 { 243 this.score = score; 244 } 245 246 251 public String getClassName() 252 { 253 return className; 254 } 255 256 261 public void setClassName(String className) 262 { 263 this.className = className; 264 } 265 266 269 public MultiMap getMultiFields() 270 { 271 return multiFields; 272 } 273 274 277 public void setMultiFields(MultiMap multiFields) 278 { 279 this.multiFields = multiFields; 280 281 } 282 283 286 public MultiMap getMultiKeywords() 287 { 288 return multiKeywords; 289 } 290 291 294 public void setMultiKeywords(MultiMap multiKeywords) 295 { 296 this.multiKeywords = multiKeywords; 297 } 298 299 } 300 301 | Popular Tags |