Class Issue.IssueImpl

  • All Implemented Interfaces:
    Issue
    Enclosing interface:
    Issue

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

      • IssueImpl

        public IssueImpl()
    • Method Detail

      • getElement

        public org.eclipse.handly.model.IElement getElement()
        Description copied from interface: Issue
        Returns handle to element which corresponds model object with issue
        Specified by:
        getElement in interface Issue
        Returns:
        handle to element (never null)
      • getFeature

        public org.eclipse.emf.ecore.EStructuralFeature getFeature()
        Description copied from interface: Issue
        Returns model object's structural feature with issue
        Specified by:
        getFeature in interface Issue
        Returns:
        structural feature (never null)
      • getIndex

        public int getIndex()
        Description copied from interface: Issue
        Index of multivalued feature
        Specified by:
        getIndex in interface Issue
        Returns:
        index of multivalued feature
      • getMessage

        public String getMessage()
        Description copied from interface: Issue
        Error/warning message
        Specified by:
        getMessage in interface Issue
        Returns:
        error/warning message
      • getCode

        public String getCode()
        Description copied from interface: Issue
        Error/warning code from diagnostitian
        Specified by:
        getCode in interface Issue
        Returns:
        error/warning code from diagnostitian (never null)
      • getSeverity

        public Issue.Severity getSeverity()
        Description copied from interface: Issue
        Issue severity
        Specified by:
        getSeverity in interface Issue
        Returns:
        issue severity (never null)
      • isSyntaxError

        public boolean isSyntaxError()
        Description copied from interface: Issue
        Check if issue covers syntax error
        Specified by:
        isSyntaxError in interface Issue
        Returns:
      • setElement

        public void setElement​(org.eclipse.handly.model.IElement element)
      • setFeature

        public void setFeature​(org.eclipse.emf.ecore.EStructuralFeature feature)
      • setIndex

        public void setIndex​(int index)
      • setCode

        public void setCode​(String code)
      • setMessage

        public void setMessage​(String message)
      • setSyntaxError

        public void setSyntaxError​(boolean isSyntaxError)