Package com.e1c.g5.v8.dt.check
Class BslCheckIssue
java.lang.Object
com.e1c.g5.v8.dt.check.Issue
com.e1c.g5.v8.dt.check.BslCheckIssue
Special
Issue implementation for the BSL language module checks.
May contain additional object validation information, like EStructuralFeature of the problem place
and a special issue data.-
Constructor Summary
ConstructorsConstructorDescriptionBslCheckIssue(String message) Constructs a checkBslCheckIssue(String message, String... issueData) Constructs an issue with an additional informationBslCheckIssue(String message, org.eclipse.emf.ecore.EStructuralFeature feature, int index, String... issueData) Constructs an instance with a specific problemEStructuralFeatureand additional information -
Method Summary
Modifier and TypeMethodDescriptionorg.eclipse.emf.ecore.EStructuralFeatureGetsEStructuralFeatureof the problemintgetIndex()Gets index of the object if thegetFeature()is a many featureString[]Gets an additional information of the problemMethods inherited from class com.e1c.g5.v8.dt.check.Issue
getMessage
-
Constructor Details
-
BslCheckIssue
Constructs a check- Parameters:
message- validation message, cannot benull
-
BslCheckIssue
public BslCheckIssue(String message, org.eclipse.emf.ecore.EStructuralFeature feature, int index, String... issueData) Constructs an instance with a specific problemEStructuralFeatureand additional information- Parameters:
message- validation message, cannot benullfeature- concrete problemEStructuralFeature, can benullindex- of the object if thefeatureis a many featureissueData- additional information about found problem, can benull
-
BslCheckIssue
Constructs an issue with an additional information- Parameters:
message- validation message, cannot benullissueData- additional information about found problem, can benull
-
-
Method Details
-
getFeature
public org.eclipse.emf.ecore.EStructuralFeature getFeature()GetsEStructuralFeatureof the problem- Returns:
EStructuralFeatureof the problem, can benull
-
getIndex
public int getIndex()Gets index of the object if thegetFeature()is a many feature- Returns:
- index of the object if
getFeature()is a many feature
-
getIssueData
Gets an additional information of the problem- Returns:
- issueData additional information of the problem, can be
null
-