public class WorkflowValidationError extends ApiError implements Serializable
In versions V201502 and earlier, the workflow error
message defined by a network administrator
that describes how a workflow rule is violated is stored
in the ApiError.trigger. Beginning in
V201505, it is stored in the ApiError.errorString.
| Constructor and Description |
|---|
WorkflowValidationError() |
WorkflowValidationError(String fieldPath,
String trigger,
String errorString,
WorkflowValidationErrorReason reason,
String workflowErrorMessage) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
static org.apache.axis.encoding.Deserializer |
getDeserializer(String mechType,
Class _javaType,
QName _xmlType)
Get Custom Deserializer
|
WorkflowValidationErrorReason |
getReason()
Gets the reason value for this WorkflowValidationError.
|
static org.apache.axis.encoding.Serializer |
getSerializer(String mechType,
Class _javaType,
QName _xmlType)
Get Custom Serializer
|
static org.apache.axis.description.TypeDesc |
getTypeDesc()
Return type metadata object
|
String |
getWorkflowErrorMessage()
Gets the workflowErrorMessage value for this WorkflowValidationError.
|
int |
hashCode() |
void |
setReason(WorkflowValidationErrorReason reason)
Sets the reason value for this WorkflowValidationError.
|
void |
setWorkflowErrorMessage(String workflowErrorMessage)
Sets the workflowErrorMessage value for this WorkflowValidationError.
|
getErrorString, getFieldPath, getTrigger, setErrorString, setFieldPath, setTriggerpublic WorkflowValidationError()
public WorkflowValidationError(String fieldPath, String trigger, String errorString, WorkflowValidationErrorReason reason, String workflowErrorMessage)
public WorkflowValidationErrorReason getReason()
public void setReason(WorkflowValidationErrorReason reason)
reason - * The error reason represented by an enum.public String getWorkflowErrorMessage()
This field is deprecated. See the description
of WorkflowValidationError above for
more details.
public void setWorkflowErrorMessage(String workflowErrorMessage)
workflowErrorMessage - * The error message defined by a network administrator to indicate
the cause of the error. It
describes how a workflow rule is violated, and
it is stored in the database.
This field is deprecated. See the description
of WorkflowValidationError above for
more details.
public static org.apache.axis.description.TypeDesc getTypeDesc()
public static org.apache.axis.encoding.Serializer getSerializer(String mechType, Class _javaType, QName _xmlType)
Copyright © 2015. All Rights Reserved.