Package com.e1c.g5.v8.dt.check
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 aEStructuralFeature
in aEObject
-
-
Constructor Summary
Constructors Constructor Description EIssue(String message, org.eclipse.emf.ecore.EStructuralFeature feature)
Constructs an issue bound to the given featureEIssue(String message, org.eclipse.emf.ecore.EStructuralFeature feature, int index)
Creates issue in given collection feature in item with given index.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.eclipse.emf.ecore.EStructuralFeature
getFeature()
Returns the issue target feature, if any.int
getIndex()
Returns index of item with issue in the feature collection.-
Methods inherited from class com.e1c.g5.v8.dt.check.Issue
getMessage
-
-
-
-
Constructor Detail
-
EIssue
public EIssue(String message, org.eclipse.emf.ecore.EStructuralFeature feature)
Constructs an issue bound to the given feature- Parameters:
message
- Message, notnull
feature
- The feature the issue is bound to. May benull
-
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, notnull
feature
- The feature the issue is bound to. May benull
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
-
-