1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16 package org.kuali.ole.select.businessobject;
17
18 import org.kuali.rice.krad.bo.PersistableBusinessObjectBase;
19
20 import java.math.BigDecimal;
21 import java.util.LinkedHashMap;
22
23 public class OleLoadFailureRecords extends PersistableBusinessObjectBase {
24
25 private BigDecimal acqFailId;
26 private Integer acqLoadSumId;
27 private BigDecimal errorId;
28 private String vendorId;
29 private String isbn;
30 private String title;
31 private OleLoadSumRecords loadSumRecord;
32 private OleLoadError loadError;
33 private String error;
34
35 public String getError() {
36 return error;
37 }
38
39 public void setError(String error) {
40 this.error = error;
41 }
42
43 public OleLoadError getLoadError() {
44 return loadError;
45 }
46
47 public void setLoadError(OleLoadError loadError) {
48 this.loadError = loadError;
49 }
50
51 public OleLoadSumRecords getLoadSumRecord() {
52 return loadSumRecord;
53 }
54
55 public void setLoadSumRecord(OleLoadSumRecords loadSumRecord) {
56 this.loadSumRecord = loadSumRecord;
57 }
58
59 public BigDecimal getAcqFailId() {
60 return acqFailId;
61 }
62
63 public void setAcqFailId(BigDecimal acqFailId) {
64 this.acqFailId = acqFailId;
65 }
66
67 public Integer getAcqLoadSumId() {
68 return acqLoadSumId;
69 }
70
71 public void setAcqLoadSumId(Integer acqLoadSumId) {
72 this.acqLoadSumId = acqLoadSumId;
73 }
74
75 public String getIsbn() {
76 return isbn;
77 }
78
79 public void setIsbn(String isbn) {
80 this.isbn = isbn;
81 }
82
83 public String getTitle() {
84 return title;
85 }
86
87 public void setTitle(String title) {
88 this.title = title;
89 }
90
91 public String getVendorId() {
92 return vendorId;
93 }
94
95 public BigDecimal getErrorId() {
96 return errorId;
97 }
98
99 public void setErrorId(BigDecimal errorId) {
100 this.errorId = errorId;
101 }
102
103 public void setVendorId(String vendorId) {
104 this.vendorId = vendorId;
105 }
106
107
108 protected LinkedHashMap toStringMapper_RICE20_REFACTORME() {
109
110 return null;
111 }
112
113 public String getContents() {
114 StringBuffer content = new StringBuffer();
115 content.append("ISBN :" + this.isbn);
116 content.append("\n");
117 content.append("TITLE :" + this.title);
118 content.append("\n");
119 content.append("VENDOR ORDER LINE NO:" + this.vendorId);
120 content.append("\n");
121 content.append("ERROR MESSAGE:" + this.getLoadError().getError());
122 content.append("\n\n");
123
124 return content.toString();
125 }
126
127
128 }