public abstract class AbstractValidationDiagnostic
extends java.lang.Object
implements org.eclipse.emf.common.util.Diagnostic
Modifier | Constructor and Description |
---|---|
protected |
AbstractValidationDiagnostic(int severity,
java.lang.String message,
org.eclipse.emf.ecore.EObject source,
CheckType checkType,
java.lang.String issueCode,
java.lang.String... issueData) |
Modifier and Type | Method and Description |
---|---|
CheckType |
getCheckType() |
java.util.List<org.eclipse.emf.common.util.Diagnostic> |
getChildren() |
int |
getCode() |
java.lang.Throwable |
getException() |
java.lang.String |
getIssueCode() |
java.lang.String[] |
getIssueData() |
java.lang.String |
getMessage() |
int |
getSeverity() |
java.lang.String |
getSource() |
org.eclipse.emf.ecore.EObject |
getSourceEObject() |
static java.lang.String |
severityToStr(int severity) |
java.lang.String |
toString() |
protected AbstractValidationDiagnostic(int severity, java.lang.String message, org.eclipse.emf.ecore.EObject source, CheckType checkType, java.lang.String issueCode, java.lang.String... issueData)
issueData
- optional user data. May not contain null
entries.public java.util.List<org.eclipse.emf.common.util.Diagnostic> getChildren()
getChildren
in interface org.eclipse.emf.common.util.Diagnostic
public int getCode()
getCode
in interface org.eclipse.emf.common.util.Diagnostic
public java.lang.String getSource()
getSource
in interface org.eclipse.emf.common.util.Diagnostic
public org.eclipse.emf.ecore.EObject getSourceEObject()
public java.lang.Throwable getException()
getException
in interface org.eclipse.emf.common.util.Diagnostic
public java.lang.String getMessage()
getMessage
in interface org.eclipse.emf.common.util.Diagnostic
public int getSeverity()
getSeverity
in interface org.eclipse.emf.common.util.Diagnostic
public java.lang.String getIssueCode()
public java.lang.String[] getIssueData()
public CheckType getCheckType()
public java.lang.String toString()
toString
in class java.lang.Object
public static java.lang.String severityToStr(int severity)