Class EIssue

java.lang.Object
com.e1c.g5.v8.dt.check.Issue
com.e1c.g5.v8.dt.check.EIssue

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

    Constructors
    Constructor
    Description
    EIssue(String message, org.eclipse.emf.ecore.EStructuralFeature feature)
    Constructs an issue bound to the given feature
    EIssue(String message, org.eclipse.emf.ecore.EStructuralFeature feature, int index)
    Creates issue in given collection feature in item with given index.
  • Method Summary

    Modifier and Type
    Method
    Description
    org.eclipse.emf.ecore.EStructuralFeature
    Returns the issue target feature, if any.
    int
    Returns index of item with issue in the feature collection.

    Methods inherited from class com.e1c.g5.v8.dt.check.Issue

    getMessage

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • 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 Details

    • 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