Class Issue.IssueImpl

  • All Implemented Interfaces:
    Issue
    Enclosing interface:
    Issue

    public static class Issue.IssueImpl
    extends java.lang.Object
    implements Issue
    • Constructor Detail

      • IssueImpl

        public IssueImpl()
    • Method Detail

      • getLength

        public java.lang.Integer getLength()
        Specified by:
        getLength in interface Issue
      • setLength

        public void setLength​(java.lang.Integer length)
      • getLineNumber

        public java.lang.Integer getLineNumber()
        Description copied from interface: Issue
        Returns the one-based line number of the issue. Values smaller than 1 and null values are invalid and indicate the absence of line information on this issue.
        Specified by:
        getLineNumber in interface Issue
      • setLineNumber

        public void setLineNumber​(java.lang.Integer lineNumber)
      • getLineNumberEnd

        public java.lang.Integer getLineNumberEnd()
        Description copied from interface: Issue
        Returns the one-based line number of the end of the issue. Values smaller than 1 and null values are invalid and indicate the absence of line information on this issue.
        Specified by:
        getLineNumberEnd in interface Issue
        Since:
        2.21
      • setLineNumberEnd

        public void setLineNumberEnd​(java.lang.Integer lineNumberEnd)
        Since:
        2.21
      • getColumn

        public java.lang.Integer getColumn()
        Description copied from interface: Issue
        Returns the column in the line of the issue. It's not the virtual column but literally the character offset in the column, e.g. tab ('\t') counts as one character. The first char in a line has column number 1, the number is one-based. Values smaller than 1 and null values are invalid and indicate the absence of column information on this issue. The region defined by line and column information includes the character at the start column.
        Specified by:
        getColumn in interface Issue
        Since:
        2.9
      • setColumn

        public void setColumn​(java.lang.Integer column)
        Since:
        2.9
      • getColumnEnd

        public java.lang.Integer getColumnEnd()
        Description copied from interface: Issue
        Returns the end column in the line of the issue. It's not the virtual end column but literally the character end offset in the column, e.g. tab ('\t') counts as one character. The first char in a line has column number 1, the number is one-based. Values smaller than 1 and null values are invalid and indicate the absence of column information on this issue. The region defined by line and column information does not include the character at the end column.
        Specified by:
        getColumnEnd in interface Issue
        Since:
        2.21
      • setColumnEnd

        public void setColumnEnd​(java.lang.Integer columnEnd)
        Since:
        2.21
      • getOffset

        public java.lang.Integer getOffset()
        Specified by:
        getOffset in interface Issue
      • setOffset

        public void setOffset​(java.lang.Integer offset)
      • getMessage

        public java.lang.String getMessage()
        Specified by:
        getMessage in interface Issue
      • setMessage

        public void setMessage​(java.lang.String message)
      • getUriToProblem

        public org.eclipse.emf.common.util.URI getUriToProblem()
        Specified by:
        getUriToProblem in interface Issue
      • setUriToProblem

        public void setUriToProblem​(org.eclipse.emf.common.util.URI uriToProblem)
      • setSeverity

        public void setSeverity​(Severity severity)
      • getCode

        public java.lang.String getCode()
        Specified by:
        getCode in interface Issue
      • setCode

        public void setCode​(java.lang.String code)
      • getData

        public java.lang.String[] getData()
        Specified by:
        getData in interface Issue
        Returns:
        the associated user data. May be null or empty but may not contain null entries.
      • setData

        public void setData​(java.lang.String[] data)
      • setType

        public void setType​(CheckType type)
      • setSyntaxError

        public void setSyntaxError​(boolean isSyntaxError)
      • isSyntaxError

        public boolean isSyntaxError()
        Specified by:
        isSyntaxError in interface Issue
      • toString

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