View Javadoc
1   package org.kuali.ole.docstore.model.bo;
2   
3   import java.util.ArrayList;
4   import java.util.List;
5   
6   /**
7    * Created by IntelliJ IDEA.
8    * User: Pranitha
9    * Date: 3/30/12
10   * Time: 10:39 AM
11   * To change this template use File | Settings | File Templates.
12   */
13  public class WorkInstanceDocument extends OleDocument {
14  
15      private String instanceIdentifier;
16      private WorkHoldingsDocument holdingsDocument;
17      private List<WorkItemDocument> itemDocumentList;
18      private String bibIdentifier;
19  
20      public WorkInstanceDocument() {
21          List<WorkItemDocument> itemDocumentList = new ArrayList<WorkItemDocument>();
22      }
23  
24  
25      public String getInstanceIdentifier() {
26          return instanceIdentifier;
27      }
28  
29  
30      public void setInstanceIdentifier(String instanceIdentifier) {
31          this.instanceIdentifier = instanceIdentifier;
32      }
33  
34  
35      public WorkHoldingsDocument getHoldingsDocument() {
36          return holdingsDocument;
37      }
38  
39      public void setHoldingsDocument(WorkHoldingsDocument holdingsDocument) {
40          this.holdingsDocument = holdingsDocument;
41      }
42  
43      public List<WorkItemDocument> getItemDocumentList() {
44          return itemDocumentList;
45      }
46  
47      public void setItemDocumentList(List<WorkItemDocument> itemDocumentList) {
48          this.itemDocumentList = itemDocumentList;
49      }
50  
51      public String getBibIdentifier() {
52          return bibIdentifier;
53      }
54  
55      public void setBibIdentifier(String bibIdentifier) {
56          this.bibIdentifier = bibIdentifier;
57      }
58  
59      @Override
60      public String toString() {
61          return "WorkInstanceDocument{" +
62                  "instanceIdentifier='" + instanceIdentifier + '\'' +
63                  ", holdingsDocument=" + holdingsDocument +
64                  ", itemDocumentList=" + itemDocumentList +
65                  ", bibIdentifier=" + bibIdentifier +
66                  '}';
67      }
68  
69  }