com.maxleap.code.SaveResult Maven / Gradle / Ivy
package com.maxleap.code;
import com.maxleap.las.sdk.SaveMsg;
/**
*
*/
public class SaveResult {
private BeforeResult beforeResult;
private SaveMsg saveMessage;
private String failMessage;
public SaveResult() {
}
public SaveResult(String failMessage) {
this.failMessage = failMessage;
}
public SaveResult(BeforeResult beforeResult, SaveMsg saveMessage) {
this.beforeResult = beforeResult;
this.saveMessage = saveMessage;
}
public void setSaveMessage(SaveMsg saveMessage) {
this.saveMessage = saveMessage;
}
public void setFailMessage(String failMessage) {
this.failMessage = failMessage;
}
public String getFailMessage() {
return failMessage;
}
public boolean isSuccess() {
return failMessage == null;
}
public void setBeforeResult(BeforeResult beforeResult) {
this.beforeResult = beforeResult;
}
public BeforeResult getBeforeResult() {
return beforeResult;
}
public SaveMsg getSaveMessage() {
return saveMessage;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy