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
Issue for a
EStructuralFeature
in a EObject
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.eclipse.emf.ecore.EStructuralFeature
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 Details
-
EIssue
Constructs an issue bound to the given feature- Parameters:
message
- Message, notnull
feature
- The feature the issue is bound to. May benull
-
EIssue
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 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
-