public class ModelValidationResultImpl extends Object implements ValidationResult
Modifier and Type | Field and Description |
---|---|
protected int |
code |
protected ModelElementInstance |
element |
protected String |
message |
protected ValidationResultType |
type |
Constructor and Description |
---|
ModelValidationResultImpl(ModelElementInstance element,
ValidationResultType type,
int code,
String message) |
Modifier and Type | Method and Description |
---|---|
int |
getCode() |
ModelElementInstance |
getElement() |
String |
getMessage() |
ValidationResultType |
getType() |
protected int code
protected ValidationResultType type
protected ModelElementInstance element
protected String message
public ModelValidationResultImpl(ModelElementInstance element, ValidationResultType type, int code, String message)
public ValidationResultType getType()
getType
in interface ValidationResult
public ModelElementInstance getElement()
getElement
in interface ValidationResult
public String getMessage()
getMessage
in interface ValidationResult
public int getCode()
getCode
in interface ValidationResult
Copyright © 2018. All rights reserved.