44 lines
810 B
Java
44 lines
810 B
Java
package com.sforce.bulk;
|
|
|
|
public class UpdateResult {
|
|
private String id;
|
|
|
|
private boolean success;
|
|
|
|
private boolean created;
|
|
|
|
private String error;
|
|
|
|
public UpdateResult(String id, boolean success, boolean created, String error) {
|
|
this.id = id;
|
|
this.success = success;
|
|
this.created = created;
|
|
this.error = error;
|
|
}
|
|
|
|
public String getId() {
|
|
return this.id;
|
|
}
|
|
|
|
public boolean isSuccess() {
|
|
return this.success;
|
|
}
|
|
|
|
public boolean isCreated() {
|
|
return this.created;
|
|
}
|
|
|
|
public String getError() {
|
|
return this.error;
|
|
}
|
|
|
|
public String toString() {
|
|
return "UpdateResult{id='" +
|
|
this.id + '\'' +
|
|
", success=" + this.success +
|
|
", created=" + this.created +
|
|
", error='" + this.error + '\'' +
|
|
'}';
|
|
}
|
|
}
|