Class ModelValidationResultImpl
java.lang.Object
org.camunda.bpm.model.xml.impl.validation.ModelValidationResultImpl
- All Implemented Interfaces:
ValidationResult
- Author:
- Daniel Meyer
-
Field Summary
Modifier and TypeFieldDescriptionprotected int
protected ModelElementInstance
protected String
protected ValidationResultType
-
Constructor Summary
ConstructorDescriptionModelValidationResultImpl
(ModelElementInstance element, ValidationResultType type, int code, String message) -
Method Summary
-
Field Details
-
code
protected int code -
type
-
element
-
message
-
-
Constructor Details
-
ModelValidationResultImpl
public ModelValidationResultImpl(ModelElementInstance element, ValidationResultType type, int code, String message)
-
-
Method Details
-
getType
- Specified by:
getType
in interfaceValidationResult
- Returns:
- The type of the result.
-
getElement
- Specified by:
getElement
in interfaceValidationResult
- Returns:
- the element
-
getMessage
- Specified by:
getMessage
in interfaceValidationResult
- Returns:
- A human consumable detail message about the validation
-
getCode
public int getCode()- Specified by:
getCode
in interfaceValidationResult
- Returns:
- A reference code for this validation result
-