org.apache.ibatis.executor.result.ResultContext Maven / Gradle / Ivy
package org.apache.ibatis.executor.result;
public class ResultContext {
private Object resultObject;
private int resultCount;
private boolean stopped;
public ResultContext() {
resultObject = null;
resultCount = 0;
stopped = false;
}
public Object getResultObject() {
return resultObject;
}
public int getResultCount() {
return resultCount;
}
public boolean isStopped() {
return stopped;
}
public void nextResultObject(Object resultObject) {
resultCount++;
this.resultObject = resultObject;
}
public void stop() {
this.stopped = true;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy