public class Result
extends java.lang.Object
implements java.io.Serializable
| Constructor and Description |
|---|
Result() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Throwable |
getException() |
long |
getKey() |
java.lang.String |
getMessage() |
long |
getNoOfRowsEffected() |
boolean |
isStatusFlag()
Flag to indicate if operation is success or failure.
|
void |
setException(java.lang.Throwable exception) |
void |
setKey(long key) |
void |
setMessage(java.lang.String message) |
void |
setNoOfRowsEffected(long noOfRowsEffected) |
void |
setStatusFlag(boolean statusFlag) |
public java.lang.String getMessage()
public void setMessage(java.lang.String message)
message - the message to setpublic boolean isStatusFlag()
public void setStatusFlag(boolean statusFlag)
statusFlag - the statusFlag to setpublic java.lang.Throwable getException()
public void setException(java.lang.Throwable exception)
exception - the exception to setpublic long getKey()
public void setKey(long key)
key - the key to setpublic long getNoOfRowsEffected()
public void setNoOfRowsEffected(long noOfRowsEffected)
noOfRowsEffected -