Class AbstractDiagnostic

    • Constructor Detail

      • AbstractDiagnostic

        public AbstractDiagnostic()
    • Method Detail

      • getNode

        protected abstract INode getNode()
      • getCode

        public abstract java.lang.String getCode()
      • getData

        public abstract java.lang.String[] getData()
      • getLength

        public int getLength()
        Description copied from interface: Diagnostic
        Returns the length of this diagnostic.
        Specified by:
        getLength in interface Diagnostic
        Returns:
        the length of this diagnostic.
      • getOffset

        public int getOffset()
        Description copied from interface: Diagnostic
        Returns the offset of this diagnostic.
        Specified by:
        getOffset in interface Diagnostic
        Returns:
        the offset of this diagnostic.
      • getColumn

        public int getColumn()
        Specified by:
        getColumn in interface org.eclipse.emf.ecore.resource.Resource.Diagnostic
      • getLine

        public int getLine()
        Specified by:
        getLine in interface org.eclipse.emf.ecore.resource.Resource.Diagnostic
      • getLineEnd

        public int getLineEnd()
        Description copied from interface: Diagnostic
        Returns the end line location of the issue within the source. Line 1 is the first line of a document.
        Specified by:
        getLineEnd in interface Diagnostic
        Returns:
        the end line location of the issue.
      • getColumnEnd

        public int getColumnEnd()
        Description copied from interface: Diagnostic
        Returns the end column location of the issue within the source. The region does not include the end column character itself. Column 1 is the first column of a line.
        Specified by:
        getColumnEnd in interface Diagnostic
        Returns:
        the end column location of the issue.
      • getLocation

        public java.lang.String getLocation()
        Specified by:
        getLocation in interface org.eclipse.emf.ecore.resource.Resource.Diagnostic
      • getUriToProblem

        public org.eclipse.emf.common.util.URI getUriToProblem()
      • toString

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