adding setters so that subclasses can set it
This commit is contained in:
committed by
vinoth chandar
parent
34ab54a9d3
commit
f62890ca1f
@@ -142,10 +142,18 @@ public class WriteStatus implements Serializable {
|
|||||||
return totalRecords;
|
return totalRecords;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public void setTotalRecords(long totalRecords) {
|
||||||
|
this.totalRecords = totalRecords;
|
||||||
|
}
|
||||||
|
|
||||||
public long getTotalErrorRecords() {
|
public long getTotalErrorRecords() {
|
||||||
return totalErrorRecords;
|
return totalErrorRecords;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public void setTotalErrorRecords(long totalErrorRecords) {
|
||||||
|
this.totalErrorRecords = totalErrorRecords;
|
||||||
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public String toString() {
|
public String toString() {
|
||||||
final StringBuilder sb = new StringBuilder("WriteStatus {");
|
final StringBuilder sb = new StringBuilder("WriteStatus {");
|
||||||
|
|||||||
Reference in New Issue
Block a user