View Javadoc
1   package org.kuali.ole.docstore.model.bo;
2   
3   import org.kuali.ole.docstore.model.xmlpojo.work.instance.oleml.CallNumber;
4   import org.kuali.ole.docstore.model.xmlpojo.work.instance.oleml.Location;
5   import org.kuali.ole.docstore.model.xmlpojo.work.instance.oleml.Note;
6   import sun.awt.geom.AreaOp;
7   
8   import java.util.ArrayList;
9   import java.util.List;
10  
11  /**
12   * Created by IntelliJ IDEA.
13   * User: Srinivasane
14   * Date: 3/30/12
15   * Time: 10:39 AM
16   * To change this template use File | Settings | File Templates.
17   */
18  public class WorkEInstanceDocument extends OleDocument {
19  
20      private String eInstanceIdentifier;
21      private String instanceIdentifier;
22      private List<WorkEInstanceCoverage> instanceCoverages;
23      private List<WorkEInstancePerpetualAccess> instancePerpetualAccesses;
24      private CallNumber callNumber;
25      protected List<Note> note;
26      protected Location location;
27      private String oleERSIdentifier;
28      private String relatedEInstances;
29      private String oleERSTitle;
30  
31      private String publisher;
32      private String imprint;
33      private String platform;
34      private String accessStatus;
35      private String StatusDate;
36      private boolean staffOnly;
37      private String statisticalCode;
38      private String publicDisplayNote;
39      private WorkEHoldingsDocument workEHoldingsDocument;
40  
41      private String bibIdentifier;
42  
43      public WorkEInstanceDocument() {
44          instanceCoverages = new ArrayList<WorkEInstanceCoverage>();
45          instancePerpetualAccesses = new ArrayList<WorkEInstancePerpetualAccess>();
46          note = new ArrayList<Note>();
47      }
48  
49      public String getInstanceIdentifier() {
50          return instanceIdentifier;
51      }
52  
53      public void setInstanceIdentifier(String instanceIdentifier) {
54          this.instanceIdentifier = instanceIdentifier;
55      }
56  
57      public String getBibIdentifier() {
58          return bibIdentifier;
59      }
60  
61      public void setBibIdentifier(String bibIdentifier) {
62          this.bibIdentifier = bibIdentifier;
63      }
64  
65      public String geteInstanceIdentifier() {
66          return eInstanceIdentifier;
67      }
68  
69      public void seteInstanceIdentifier(String eInstanceIdentifier) {
70          this.eInstanceIdentifier = eInstanceIdentifier;
71      }
72  
73      public List<WorkEInstanceCoverage> getInstanceCoverages() {
74          return instanceCoverages;
75      }
76  
77      public void setInstanceCoverages(List<WorkEInstanceCoverage> instanceCoverages) {
78          this.instanceCoverages = instanceCoverages;
79      }
80  
81      public List<WorkEInstancePerpetualAccess> getInstancePerpetualAccesses() {
82          return instancePerpetualAccesses;
83      }
84  
85      public void setInstancePerpetualAccesses(List<WorkEInstancePerpetualAccess> instancePerpetualAccesses) {
86          this.instancePerpetualAccesses = instancePerpetualAccesses;
87      }
88  
89      public CallNumber getCallNumber() {
90          return callNumber;
91      }
92  
93      public void setCallNumber(CallNumber callNumber) {
94          this.callNumber = callNumber;
95      }
96  
97      public List<Note> getNote() {
98          return note;
99      }
100 
101     public void setNote(List<Note> note) {
102         this.note = note;
103     }
104 
105     public Location getLocation() {
106         return location;
107     }
108 
109     public void setLocation(Location location) {
110         this.location = location;
111     }
112 
113     public String getOleERSIdentifier() {
114         return oleERSIdentifier;
115     }
116 
117     public void setOleERSIdentifier(String oleERSIdentifier) {
118         this.oleERSIdentifier = oleERSIdentifier;
119     }
120 
121     public String getRelatedEInstances() {
122         return relatedEInstances;
123     }
124 
125     public void setRelatedEInstances(String relatedEInstances) {
126         this.relatedEInstances = relatedEInstances;
127     }
128 
129     public String getOleERSTitle() {
130         return oleERSTitle;
131     }
132 
133     public void setOleERSTitle(String oleERSTitle) {
134         this.oleERSTitle = oleERSTitle;
135     }
136 
137     public String getPublisher() {
138         return publisher;
139     }
140 
141     public void setPublisher(String publisher) {
142         this.publisher = publisher;
143     }
144 
145     public String getImprint() {
146         return imprint;
147     }
148 
149     public void setImprint(String imprint) {
150         this.imprint = imprint;
151     }
152 
153     public String getPlatform() {
154         return platform;
155     }
156 
157     public void setPlatform(String platform) {
158         this.platform = platform;
159     }
160 
161     public String getAccessStatus() {
162         return accessStatus;
163     }
164 
165     public void setAccessStatus(String accessStatus) {
166         this.accessStatus = accessStatus;
167     }
168 
169     public String getStatusDate() {
170         return StatusDate;
171     }
172 
173     public void setStatusDate(String statusDate) {
174         StatusDate = statusDate;
175     }
176 
177     public boolean isStaffOnly() {
178         return staffOnly;
179     }
180 
181     public void setStaffOnly(boolean staffOnly) {
182         this.staffOnly = staffOnly;
183     }
184 
185     public String getStatisticalCode() {
186         return statisticalCode;
187     }
188 
189     public void setStatisticalCode(String statisticalCode) {
190         this.statisticalCode = statisticalCode;
191     }
192 
193     public WorkEHoldingsDocument getWorkEHoldingsDocument() {
194         return workEHoldingsDocument;
195     }
196 
197     public void setWorkEHoldingsDocument(WorkEHoldingsDocument workEHoldingsDocument) {
198         this.workEHoldingsDocument = workEHoldingsDocument;
199     }
200 
201     public String getPublicDisplayNote() {
202         return publicDisplayNote;
203     }
204 
205     public void setPublicDisplayNote(String publicDisplayNote) {
206         this.publicDisplayNote = publicDisplayNote;
207     }
208 
209     @Override
210     public String toString() {
211         return "WorkEInstanceDocument{" +
212                 "eInstanceIdentifier='" + eInstanceIdentifier + '\'' +
213                 ", instanceIdentifier='" + instanceIdentifier + '\'' +
214                 ", instanceCoverages=" + instanceCoverages +
215                 ", instancePerpetualAccesses=" + instancePerpetualAccesses +
216                 ", callNumber=" + callNumber +
217                 ", note=" + note +
218                 ", location=" + location +
219                 ", bibIdentifier='" + bibIdentifier + '\'' +
220                 '}';
221     }
222 }