Class TransformationDiagnostic
- java.lang.Object
-
- org.eclipse.xtext.diagnostics.AbstractDiagnostic
-
- org.eclipse.xtext.xtext.ecoreInference.TransformationDiagnostic
-
- All Implemented Interfaces:
org.eclipse.emf.ecore.resource.Resource.Diagnostic
,Diagnostic
public class TransformationDiagnostic extends AbstractDiagnostic
-
-
Field Summary
-
Fields inherited from interface org.eclipse.xtext.diagnostics.Diagnostic
LINKING_DIAGNOSTIC, SYNTAX_DIAGNOSITC, SYNTAX_DIAGNOSTIC, SYNTAX_DIAGNOSTIC_WITH_RANGE
-
-
Constructor Summary
Constructors Constructor Description TransformationDiagnostic(INode node, java.lang.String message, TransformationErrorCode errorCode)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getCode()
java.lang.String[]
getData()
java.lang.String
getMessage()
protected INode
getNode()
java.lang.String
toString()
-
Methods inherited from class org.eclipse.xtext.diagnostics.AbstractDiagnostic
getColumn, getColumnEnd, getLength, getLine, getLineEnd, getLocation, getOffset, getUriToProblem
-
-
-
-
Constructor Detail
-
TransformationDiagnostic
public TransformationDiagnostic(INode node, java.lang.String message, TransformationErrorCode errorCode)
-
-
Method Detail
-
getNode
protected INode getNode()
- Specified by:
getNode
in classAbstractDiagnostic
-
getCode
public java.lang.String getCode()
- Specified by:
getCode
in classAbstractDiagnostic
-
getData
public java.lang.String[] getData()
- Specified by:
getData
in classAbstractDiagnostic
-
getMessage
public java.lang.String getMessage()
-
toString
public java.lang.String toString()
- Overrides:
toString
in classAbstractDiagnostic
-
-