Class FeatureBasedDiagnostic

  • All Implemented Interfaces:
    org.eclipse.emf.common.util.Diagnostic

    public class FeatureBasedDiagnostic
    extends AbstractValidationDiagnostic
    A diagnostic that is typically associated with a feature.
    • Constructor Detail

      • FeatureBasedDiagnostic

        public FeatureBasedDiagnostic​(int severity,
                                      java.lang.String message,
                                      org.eclipse.emf.ecore.EObject source,
                                      org.eclipse.emf.ecore.EStructuralFeature feature,
                                      int index,
                                      CheckType checkType,
                                      java.lang.String issueCode,
                                      java.lang.String... issueData)
        Parameters:
        issueData - optional user data. May not contain null entries.
    • Method Detail

      • getData

        public java.util.List<?> getData()
      • getFeature

        public org.eclipse.emf.ecore.EStructuralFeature getFeature()
      • getIndex

        public int getIndex()