All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.apache.ibatis.executor.result.ResultContext Maven / Gradle / Ivy

There is a newer version: 3.0-beta-10
Show newest version
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