public class ConnectorResult
extends Object
implements Serializable
DataSetConnector
finishes populating or persisting data set
it returns an object of the type ConnectorResult
.DataSetConnector
,
Serialized FormModifier and Type | Field and Description |
---|---|
static int |
ACTION_FAILED_CODE
The ACTION FAILED return code.
|
static int |
OK_CODE
The Ok return code.
|
static int |
VALIDATION_FAILED_CODE
The VALIDATION FAILED return code.
|
Constructor and Description |
---|
ConnectorResult()
Instantiates a new ConnectorResult.
|
Modifier and Type | Method and Description |
---|---|
void |
addResult(String value)
Adds the value to the result string.
|
String |
getResult()
Gets the result string.
|
int |
getRetCode()
Gets the return code.
|
boolean |
isExpectedValidationError()
Checks if it is an expected validation error.
|
void |
setResult(String value)
Sets the result string.
|
void |
setRetCode(int value)
Sets the return code.
|
public static int OK_CODE
public static int VALIDATION_FAILED_CODE
public static int ACTION_FAILED_CODE
public void addResult(String value)
value
- the value to addpublic String getResult()
public int getRetCode()
public void setResult(String value)
value
- the new result stringpublic void setRetCode(int value)
value
- the new return codepublic boolean isExpectedValidationError()
Copyright © 2010-2020 Toolsverse. All Rights Reserved.