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.StringgetCode()java.lang.String[]getData()java.lang.StringgetMessage()protected INodegetNode()java.lang.StringtoString()-
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:
getNodein classAbstractDiagnostic
-
getCode
public java.lang.String getCode()
- Specified by:
getCodein classAbstractDiagnostic
-
getData
public java.lang.String[] getData()
- Specified by:
getDatain classAbstractDiagnostic
-
getMessage
public java.lang.String getMessage()
-
toString
public java.lang.String toString()
- Overrides:
toStringin classAbstractDiagnostic
-
-