org.eclipse.xtext.xtext.ecoreInference
Class TransformationDiagnostic

java.lang.Object
  extended by org.eclipse.xtext.diagnostics.AbstractDiagnostic
      extended by org.eclipse.xtext.xtext.ecoreInference.TransformationDiagnostic
All Implemented Interfaces:
org.eclipse.emf.ecore.resource.Resource.Diagnostic, Diagnostic

public class TransformationDiagnostic
extends AbstractDiagnostic

Author:
Sebastian Zarnekow - Initial contribution and API

Field Summary
 
Fields inherited from interface org.eclipse.xtext.diagnostics.Diagnostic
LINKING_DIAGNOSTIC, SYNTAX_DIAGNOSITC
 
Constructor Summary
TransformationDiagnostic(INode node, java.lang.String message, TransformationErrorCode errorCode)
           
 
Method Summary
 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, getLength, getLine, getLocation, getOffset, getUriToProblem
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

TransformationDiagnostic

public TransformationDiagnostic(INode node,
                                java.lang.String message,
                                TransformationErrorCode errorCode)
Method Detail

getNode

protected INode getNode()
Specified by:
getNode in class AbstractDiagnostic

getCode

public java.lang.String getCode()
Specified by:
getCode in class AbstractDiagnostic

getData

public java.lang.String[] getData()
Specified by:
getData in class AbstractDiagnostic

getMessage

public java.lang.String getMessage()

toString

public java.lang.String toString()
Overrides:
toString in class AbstractDiagnostic