as.leap.code.DeleteResult Maven / Gradle / Ivy
The newest version!
package as.leap.code;
import as.leap.las.sdk.DeleteMsg;
/**
*
*/
public class DeleteResult {
private BeforeResult beforeResult;
private DeleteMsg deleteMessage;
private String failMessage;
public DeleteResult(String failMessage) {
this.failMessage = failMessage;
}
public DeleteResult(BeforeResult beforeResult) {
this.beforeResult = beforeResult;
}
public DeleteResult(BeforeResult beforeResult, DeleteMsg deleteMessage) {
this.beforeResult = beforeResult;
this.deleteMessage = deleteMessage;
}
public String getFailMessage() {
return failMessage;
}
public void setFailMessage(String failMessage) {
this.failMessage = failMessage;
}
public boolean isSuccess() {
return failMessage == null;
}
public BeforeResult getBeforeResult() {
return beforeResult;
}
public void setBeforeResult(BeforeResult beforeResult) {
this.beforeResult = beforeResult;
}
public DeleteMsg getDeleteMessage() {
return deleteMessage;
}
public void setDeleteMessage(DeleteMsg deleteMessage) {
this.deleteMessage = deleteMessage;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy