Interface Issue

  • All Known Implementing Classes:
    Issue.IssueImpl

    public interface Issue
    Validation issue description. It holds information about position, type, structural feature, it's index (if feature is multivalued), handle and error/warning message of model object with error/warning
    • Method Detail

      • getElement

        org.eclipse.handly.model.IElement getElement()
        Returns handle to element which corresponds model object with issue
        Returns:
        handle to element (never null)
      • getFeature

        org.eclipse.emf.ecore.EStructuralFeature getFeature()
        Returns model object's structural feature with issue
        Returns:
        structural feature (never null)
      • getIndex

        int getIndex()
        Index of multivalued feature
        Returns:
        index of multivalued feature
      • getMessage

        String getMessage()
        Error/warning message
        Returns:
        error/warning message
      • getCode

        String getCode()
        Error/warning code from diagnostitian
        Returns:
        error/warning code from diagnostitian (never null)
      • getSeverity

        Issue.Severity getSeverity()
        Issue severity
        Returns:
        issue severity (never null)
      • isSyntaxError

        boolean isSyntaxError()
        Check if issue covers syntax error
        Returns: