SuperX-Kernmodul
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

69 lines
1.4 KiB

/*
* Created on 21.06.2003
*
* To change the template for this generated file go to
* Window>Preferences>Java>Code Generation>Code and Comments
*/
package de.memtext.db;
import java.util.Collection;
/**
* @author MB
*
* To change the template for this generated type comment go to
* Window>Preferences>Java>Code Generation>Code and Comments
*/
public class DbResponse implements java.io.Serializable {
static final long serialVersionUID = -3L;
private Collection result;
private boolean OK;
private Exception exception;
private int updatedRowsCount;
/**
* MyServletResponse constructor comment.
*/
public DbResponse(Collection result, boolean OK, Exception exception) {
this.result = result;
this.OK = OK;
this.exception = exception;
}
public Exception getException() {
return exception;
}
public Collection getResult() {
return result;
}
public boolean isOK() {
return OK;
}
public void setException(Exception exception) {
this.exception = exception;
}
public void setOK(boolean OK) {
this.OK = OK;
}
public void setResult(Collection result) {
this.result = result;
}
public int getUpdatedRowsCount() {
return updatedRowsCount;
}
public void setUpdatedRowsCount(int updatedRowsCount) {
this.updatedRowsCount = updatedRowsCount;
}
}