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
-
-
Constructor Summary
Constructors Constructor Description BslCheckIssue(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
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.eclipse.emf.ecore.EStructuralFeature
getFeature()
GetsEStructuralFeature
of the problemint
getIndex()
Gets index of the object if thegetFeature()
is a many featureString[]
getIssueData()
Gets an additional information of the problem-
Methods inherited from class com.e1c.g5.v8.dt.check.Issue
getMessage
-
-
-
-
Constructor Detail
-
BslCheckIssue
public BslCheckIssue(String message)
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
-
-
Method Detail
-
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
public String[] getIssueData()
Gets an additional information of the problem- Returns:
- issueData additional information of the problem, can be
null
-
-