1 package org.kuali.ole.describe.form;
2
3
4
5
6
7
8
9
10
11 import org.kuali.ole.describe.bo.OleExtendedEHoldingFields;
12 import org.kuali.ole.docstore.common.document.content.instance.ExtentOfOwnership;
13 import org.kuali.ole.docstore.common.document.content.instance.OleHoldings;
14 import org.kuali.ole.select.document.OLEEResourceLicense;
15
16 import java.util.ArrayList;
17 import java.util.List;
18
19
20
21
22
23 public class WorkEInstanceOlemlForm extends EditorForm {
24
25 private OleHoldings selectedEHoldings;
26 private OleExtendedEHoldingFields extendedEHoldingFields;
27
28 private boolean proxiedResource = false;
29
30 public WorkEInstanceOlemlForm() {
31 getSelectedEHoldings().getExtentOfOwnership().add(new ExtentOfOwnership());
32 }
33
34 public OleHoldings getSelectedEHoldings() {
35 if(selectedEHoldings == null) {
36 selectedEHoldings = new OleHoldings();
37 }
38 return selectedEHoldings;
39 }
40
41 public void setSelectedEHoldings(OleHoldings selectedEHoldings) {
42 this.selectedEHoldings = selectedEHoldings;
43 }
44
45 public OleExtendedEHoldingFields getExtendedEHoldingFields() {
46 if(extendedEHoldingFields == null) {
47 extendedEHoldingFields = new OleExtendedEHoldingFields();
48 }
49 return extendedEHoldingFields;
50 }
51
52 public void setExtendedEHoldingFields(OleExtendedEHoldingFields extendedEHoldingFields) {
53 this.extendedEHoldingFields = extendedEHoldingFields;
54 }
55
56 public boolean isProxiedResource() {
57 return proxiedResource;
58 }
59
60 public void setProxiedResource(boolean proxiedResource) {
61 this.proxiedResource = proxiedResource;
62 }
63 }