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 problemEStructuralFeature
and additional information -
Method Summary
Modifier and TypeMethodDescriptionorg.eclipse.emf.ecore.EStructuralFeature
GetsEStructuralFeature
of the problemint
getIndex()
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 problemEStructuralFeature
and additional information- Parameters:
message
- validation message, cannot benull
feature
- concrete problemEStructuralFeature
, can benull
index
- of the object if thefeature
is a many featureissueData
- additional information about found problem, can benull
-
BslCheckIssue
Constructs an issue with an additional information- Parameters:
message
- validation message, cannot benull
issueData
- additional information about found problem, can benull
-
-
Method Details
-
getFeature
public org.eclipse.emf.ecore.EStructuralFeature getFeature()GetsEStructuralFeature
of the problem- Returns:
EStructuralFeature
of 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
-