1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16 package org.kuali.ole.fp.document.web.struts;
17
18 import java.util.ArrayList;
19 import java.util.List;
20
21 import org.kuali.ole.fp.businessobject.CapitalAssetInformation;
22 import org.kuali.ole.fp.businessobject.InternalBillingItem;
23 import org.kuali.ole.fp.document.CapitalAssetEditable;
24 import org.kuali.ole.fp.document.InternalBillingDocument;
25
26
27
28
29 public class InternalBillingForm extends CapitalAccountingLinesFormBase implements CapitalAssetEditable{
30 protected static final long serialVersionUID = 1L;
31 protected InternalBillingItem newItem;
32
33 protected List<CapitalAssetInformation> capitalAssetInformation;
34
35 public InternalBillingForm() {
36 super();
37
38 this.newItem = new InternalBillingItem();
39 capitalAssetInformation = new ArrayList<CapitalAssetInformation>();
40 }
41
42 @Override
43 protected String getDefaultDocumentTypeName() {
44 return "OLE_IB";
45 }
46
47
48
49
50 public InternalBillingDocument getInternalBillingDocument() {
51 return (InternalBillingDocument) getDocument();
52 }
53
54
55
56
57 public void setInternalBillingDocument(InternalBillingDocument internalBillingDocument) {
58 setDocument(internalBillingDocument);
59 }
60
61
62
63
64 public InternalBillingItem getNewItem() {
65 return newItem;
66 }
67
68
69
70
71 public void setNewItem(InternalBillingItem newItem) {
72 this.newItem = newItem;
73 }
74
75
76
77
78 public List<CapitalAssetInformation> getCapitalAssetInformation() {
79 return this.capitalAssetInformation;
80 }
81
82
83
84
85 public void setCapitalAssetInformation(List<CapitalAssetInformation> capitalAssetInformation) {
86 this.capitalAssetInformation = capitalAssetInformation;
87 }
88 }