View Javadoc
1   package org.kuali.ole.pojo;
2   
3   import org.kuali.ole.docstore.common.document.Bib;
4   
5   import java.util.HashMap;
6   import java.util.Map;
7   
8   /**
9    * Created by IntelliJ IDEA.
10   * User: pvsubrah
11   * Date: 4/7/12
12   * Time: 11:44 AM
13   * To change this template use File | Settings | File Templates.
14   */
15  public class OleBibRecord {
16      //TODO: No need for this unless this map is populated witht the SOlr Query resonse object.
17      //TODO: essentially a map of all the indexed fields and its values
18      private Map<String, ?> bibAssociatedFieldsValueMap = new HashMap();
19      private Bib bib;
20      private String bibUUID;
21      private String linkedInstanceId;
22      private String eInstance;
23      private String staffOnlyFlag;
24  
25      public String getStaffOnlyFlag() {
26          return staffOnlyFlag;
27      }
28  
29      public void setStaffOnlyFlag(String staffOnlyFlag) {
30          this.staffOnlyFlag = staffOnlyFlag;
31      }
32  
33      public String getBibUUID() {
34          return bibUUID;
35      }
36  
37      public void setBibUUID(String bibUUID) {
38          this.bibUUID = bibUUID;
39      }
40  
41      public String getLinkedInstanceId() {
42          return linkedInstanceId;
43      }
44  
45      public void setLinkedInstanceId(String linkedInstanceId) {
46          this.linkedInstanceId = linkedInstanceId;
47      }
48  
49      public Map<String, ?> getBibAssociatedFieldsValueMap() {
50          return bibAssociatedFieldsValueMap;
51      }
52  
53      public void setBibAssociatedFieldsValueMap(Map<String, ?> bibAssociatedFieldsValueMap) {
54          this.bibAssociatedFieldsValueMap = bibAssociatedFieldsValueMap;
55      }
56  
57      public String geteInstance() {
58          return eInstance;
59      }
60  
61      public void seteInstance(String eInstance) {
62          this.eInstance = eInstance;
63      }
64  
65      public Bib getBib() {
66          return bib;
67      }
68  
69      public void setBib(Bib bib) {
70          this.bib = bib;
71      }
72  
73      @Override
74      public String toString() {
75          return "OleBibRecord{" +
76                  "bibAssociatedFieldsValueMap=" + bibAssociatedFieldsValueMap +
77                  ", bibUUID='" + bibUUID + '\'' +
78                  ", linkedInstanceId='" + linkedInstanceId + '\'' +
79                  '}';
80      }
81  }