Class EIssue


  • public final class EIssue
    extends Issue
    Issue for a EStructuralFeature in a EObject
    • Constructor Detail

      • EIssue

        public EIssue​(String message,
                      org.eclipse.emf.ecore.EStructuralFeature feature)
        Constructs an issue bound to the given feature
        Parameters:
        message - Message, not null
        feature - The feature the issue is bound to. May be null
      • EIssue

        public EIssue​(String message,
                      org.eclipse.emf.ecore.EStructuralFeature feature,
                      int index)
        Creates issue in given collection feature in item with given index.
        Parameters:
        message - message, not null
        feature - The feature the issue is bound to. May be null
        index - The index in the collection. May not be negative or greater then the size of the collection
    • Method Detail

      • getFeature

        public org.eclipse.emf.ecore.EStructuralFeature getFeature()
        Returns the issue target feature, if any.
        Returns:
        The associated feature, if any. null otherwise
      • getIndex

        public int getIndex()
        Returns index of item with issue in the feature collection.
        Returns:
        The index in the collection