Class OperateResult
java.lang.Object
org.nervousync.database.operator.result.OperateResult
- All Implemented Interfaces:
Serializable
The type Operate result.
- Version:
- $Revision : 1.0 $ $Date: 10/17/2020 2:19 PM $
- Author:
- Steven Wee wmkm0113@Hotmail.com
- See Also:
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedOperateResult(boolean success, String stackMsg) Constructor -
Method Summary
Modifier and TypeMethodDescriptionstatic longGets the value of serialVersionUIDGets stack msg.booleanGets the value of success<T> TConvert to target class object
-
Constructor Details
-
OperateResult
Constructor- Parameters:
success- Success flagstackMsg- the stack msg
-
-
Method Details
-
getSerialVersionUID
public static long getSerialVersionUID()Gets the value of serialVersionUID- Returns:
- the value of serialVersionUID
-
isSuccess
public boolean isSuccess()Gets the value of success- Returns:
- the value of success
-
getStackMsg
Gets stack msg.- Returns:
- the stack msg
-
unwrap
Convert to target class object- Type Parameters:
T- Template- Parameters:
clazz- Target class- Returns:
- Converted object
- Throws:
ClassCastException
-