org.camunda.bpm.model.xml.impl.validation
Class ModelValidationResultImpl
java.lang.Object
org.camunda.bpm.model.xml.impl.validation.ModelValidationResultImpl
- All Implemented Interfaces:
- ValidationResult
public class ModelValidationResultImpl
- extends Object
- implements ValidationResult
- Author:
- Daniel Meyer
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
code
protected int code
type
protected ValidationResultType type
element
protected ModelElementInstance element
message
protected String message
ModelValidationResultImpl
public ModelValidationResultImpl(ModelElementInstance element,
ValidationResultType type,
int code,
String message)
getType
public ValidationResultType getType()
- Specified by:
getType in interface ValidationResult
- Returns:
- The type of the result.
getElement
public ModelElementInstance getElement()
- Specified by:
getElement in interface ValidationResult
- Returns:
- the element
getMessage
public String getMessage()
- Specified by:
getMessage in interface ValidationResult
- Returns:
- A human consumable detail message about the validation
getCode
public int getCode()
- Specified by:
getCode in interface ValidationResult
- Returns:
- A reference code for this validation result
Copyright © 2016 camunda services GmbH. All rights reserved.