public abstract class ResponseOUT
extends java.lang.Object
implements java.io.Serializable
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
VERSION |
Constructor and Description |
---|
ResponseOUT()
Instantiates a new response out.
|
Modifier and Type | Method and Description |
---|---|
void |
addErrorMessage(java.lang.String key,
java.lang.String errorMessage)
Adds the error message.
|
java.lang.Object |
get(java.lang.String key)
Gets the.
|
double |
getCpuTime()
Gets the cpu time.
|
java.util.ArrayList<java.lang.String> |
getErrorList(java.lang.String key)
Gets the error list.
|
java.util.Map<java.lang.String,java.util.ArrayList<java.lang.String>> |
getErrorMessages()
Gets the error messages.
|
RequestIN |
getRequest()
Gets the request.
|
int |
getRowsError()
Gets the rows error.
|
int |
getRowsSkipped()
Gets the rows skipped.
|
int |
getRowsUpdated()
Gets the rows updated.
|
boolean |
isSuccess()
Checks if is success.
|
void |
remove(java.lang.String key)
Removes the.
|
void |
set(java.lang.String key,
java.lang.Object value)
Sets the.
|
void |
setCpuTime(double cpuTime)
Sets the cpu time.
|
void |
setErrorMessages(java.util.Map<java.lang.String,java.util.ArrayList<java.lang.String>> errorMap)
Sets the error messages.
|
void |
setErrorMessages(java.lang.String key,
java.util.List<java.lang.String> errorMessages)
Sets the error messages.
|
void |
setRequest(RequestIN request)
Sets the request.
|
void |
setRowsError(int rowsError)
Sets the rows error.
|
void |
setRowsSkipped(int rowsSkipped)
Sets the rows skipped.
|
void |
setRowsUpdated(int rowsUpdated)
Sets the rows updated.
|
void |
setSuccess(boolean success)
Sets the success.
|
public final java.lang.Object get(java.lang.String key)
key
- the keypublic final void set(java.lang.String key, java.lang.Object value)
key
- the keyvalue
- the valuepublic final void remove(java.lang.String key)
key
- the keypublic final RequestIN getRequest()
public final void setRequest(RequestIN request)
request
- the new requestpublic final java.util.Map<java.lang.String,java.util.ArrayList<java.lang.String>> getErrorMessages()
public final java.util.ArrayList<java.lang.String> getErrorList(java.lang.String key)
key
- the keypublic final void setErrorMessages(java.lang.String key, java.util.List<java.lang.String> errorMessages)
key
- the keyerrorMessages
- the error messagespublic final void setErrorMessages(java.util.Map<java.lang.String,java.util.ArrayList<java.lang.String>> errorMap)
errorMap
- the error mappublic final void addErrorMessage(java.lang.String key, java.lang.String errorMessage)
key
- the keyerrorMessage
- the error messagepublic final int getRowsError()
public void setRowsError(int rowsError)
rowsError
- the new rows errorpublic final int getRowsSkipped()
public final void setRowsSkipped(int rowsSkipped)
rowsSkipped
- the new rows skippedpublic final int getRowsUpdated()
public void setRowsUpdated(int rowsUpdated)
rowsUpdated
- the new rows updatedpublic final double getCpuTime()
public final void setCpuTime(double cpuTime)
cpuTime
- the new cpu timepublic final boolean isSuccess()
public final void setSuccess(boolean success)
success
- the new successCopyright © 2018 Pegasystems Inc. All Rights Reserved.