View Javadoc

1   package org.kuali.ole.describe.form;
2   
3   import org.kuali.ole.docstore.model.bo.WorkBibDocument;
4   import org.kuali.ole.docstore.model.xmlpojo.work.instance.oleml.*;
5   import org.kuali.ole.editor.bo.InstanceRecordMetaData;
6   import org.kuali.ole.editor.bo.SourceEditorForUI;
7   import org.kuali.rice.krad.web.form.UifFormBase;
8   
9   import java.util.List;
10  
11  /**
12   * Created with IntelliJ IDEA.
13   * User: PP7788
14   * Date: 12/6/12
15   * Time: 4:34 PM
16   * To change this template use File | Settings | File Templates.
17   */
18  public class EditorForm extends UifFormBase {
19  
20      protected String message;
21  
22      private String docCategory;
23      private String docType;
24      private String docFormat;
25      private String uuid;
26      private String docId;
27  
28      // Document record pojos
29      private WorkBibMarcForm workBibMarcForm;
30      private EditorForm documentForm;
31  
32  
33      //Left Pane details
34      private String existing = "false";
35      private String treeData;
36      private String hdnUuid;
37      private int hdnIndex = 0;
38  
39      private List<WorkBibDocument> workBibDocumentList;
40  
41      public EditorForm() {
42  //        getSelectedHolding().getUri().add(new Uri());
43  //        getSelectedHolding().getNote().add(new Note());
44      }
45  
46      public String getDocType() {
47          return docType;
48      }
49  
50      public void setDocType(String docType) {
51          this.docType = docType;
52      }
53  
54      public String getDocFormat() {
55          return docFormat;
56      }
57  
58      public void setDocFormat(String docFormat) {
59          this.docFormat = docFormat;
60      }
61  
62      public String getUuid() {
63          return uuid;
64      }
65  
66      public void setUuid(String uuid) {
67          this.uuid = uuid;
68      }
69  
70  /*
71      public InstanceRecordMetaData getItemRecordMetaData() {
72          return itemRecordMetaData;
73      }
74  
75      public void setItemRecordMetaData(InstanceRecordMetaData itemRecordMetaData) {
76          this.itemRecordMetaData = itemRecordMetaData;
77      }
78  
79      public InstanceRecordMetaData getHoldingRecordMetaData() {
80          return holdingRecordMetaData;
81      }
82  
83      public void setHoldingRecordMetaData(InstanceRecordMetaData holdingRecordMetaData) {
84          this.holdingRecordMetaData = holdingRecordMetaData;
85      }
86  
87      public OleHoldings getSelectedHolding() {
88          if (null == selectedHolding) {
89              selectedHolding = new OleHoldings();
90          }
91          return selectedHolding;
92      }
93  
94      public void setSelectedHolding(OleHoldings selectedHolding) {
95          this.selectedHolding = selectedHolding;
96      }
97  
98      public Item getSelectedItem() {
99          return selectedItem;
100     }
101 
102     public void setSelectedItem(Item selectedItem) {
103         this.selectedItem = selectedItem;
104     }
105 
106     public SourceEditorForUI getSelectedSourceHolding() {
107         return selectedSourceHolding;
108     }
109 
110     public void setSelectedSourceHolding(SourceEditorForUI selectedSourceHolding) {
111         this.selectedSourceHolding = selectedSourceHolding;
112     }
113 */
114 
115     public String getExisting() {
116         return existing;
117     }
118 
119     public void setExisting(String existing) {
120         this.existing = existing;
121     }
122 
123     public String getTreeData() {
124         return treeData;
125     }
126 
127     public void setTreeData(String treeData) {
128         this.treeData = treeData;
129     }
130 
131     public String getHdnUuid() {
132         return hdnUuid;
133     }
134 
135     public void setHdnUuid(String hdnUuid) {
136         this.hdnUuid = hdnUuid;
137     }
138 
139     public int getHdnIndex() {
140         return hdnIndex;
141     }
142 
143     public void setHdnIndex(int hdnIndex) {
144         this.hdnIndex = hdnIndex;
145     }
146 
147 /*
148     public Instance getInstance() {
149         return instance;
150     }
151 
152     public void setInstance(Instance instance) {
153         this.instance = instance;
154     }
155 */
156 
157     public List<WorkBibDocument> getWorkBibDocumentList() {
158         return workBibDocumentList;
159     }
160 
161     public void setWorkBibDocumentList(List<WorkBibDocument> workBibDocumentList) {
162         this.workBibDocumentList = workBibDocumentList;
163     }
164 
165     public String getDocCategory() {
166         return docCategory;
167     }
168 
169     public void setDocCategory(String docCategory) {
170         this.docCategory = docCategory;
171     }
172 
173     public String getDocId() {
174         return docId;
175     }
176 
177     public void setDocId(String docId) {
178         this.docId = docId;
179     }
180 
181     public WorkBibMarcForm getWorkBibMarcForm() {
182         return workBibMarcForm;
183     }
184 
185     public void setWorkBibMarcForm(WorkBibMarcForm workBibMarcForm) {
186         this.workBibMarcForm = workBibMarcForm;
187     }
188 
189     public String getMessage() {
190         return message;
191     }
192 
193     public void setMessage(String message) {
194         this.message = message;
195     }
196 
197     public EditorForm getDocumentForm() {
198         return documentForm;
199     }
200 
201     public void setDocumentForm(EditorForm documentForm) {
202         this.documentForm = documentForm;
203     }
204 }