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.
61 lines
1.2 KiB
61 lines
1.2 KiB
package de.memtext.db.dataexchange; |
|
|
|
import java.util.Vector; |
|
|
|
/** |
|
* Insert the type's description here. |
|
* Creation date: (28.11.2002 19:25:34) |
|
* @author: |
|
*/ |
|
public class MyServletResponse implements java.io.Serializable { |
|
static final long serialVersionUID = -3L; |
|
|
|
private Vector result; |
|
|
|
private boolean OK; |
|
|
|
private Exception exception; |
|
|
|
private int updatedRowsCount; |
|
|
|
/** |
|
* MyServletResponse constructor comment. |
|
*/ |
|
public MyServletResponse(Vector result, boolean OK, Exception exception) { |
|
this.result = result; |
|
this.OK = OK; |
|
this.exception = exception; |
|
} |
|
|
|
public Exception getException() { |
|
return exception; |
|
} |
|
|
|
public Vector 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(Vector result) { |
|
this.result = result; |
|
} |
|
|
|
public int getUpdatedRowsCount() { |
|
return updatedRowsCount; |
|
} |
|
|
|
public void setUpdatedRowsCount(int updatedRowsCount) { |
|
this.updatedRowsCount = updatedRowsCount; |
|
} |
|
} |