Package com.e1c.g5.v8.dt.check
Class BslDirectLocationIssue
- java.lang.Object
-
- com.e1c.g5.v8.dt.check.Issue
-
- com.e1c.g5.v8.dt.check.BslDirectLocationIssue
-
public final class BslDirectLocationIssue extends Issue
SpecialIssue
implementation for the BSL language module checks which require the full control on the region the marker of the issue belongs to May contain additional object validation information, likeEStructuralFeature
of the problem place and a special issue data.
-
-
Constructor Summary
Constructors Constructor Description BslDirectLocationIssue(String message, DirectLocation directLocation)
Constructs an instance with a specific locationBslDirectLocationIssue(String message, DirectLocation directLocation, String... issueData)
Constructs an instance with a specific location and additional parameters
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DirectLocation
getDirectLocation()
Gets the location of the problemString[]
getIssueData()
Gets an additional information of the problem-
Methods inherited from class com.e1c.g5.v8.dt.check.Issue
getMessage
-
-
-
-
Constructor Detail
-
BslDirectLocationIssue
public BslDirectLocationIssue(String message, DirectLocation directLocation)
Constructs an instance with a specific location- Parameters:
message
- validation message, cannot benull
directLocation
- location of the issue, cannot benull
-
BslDirectLocationIssue
public BslDirectLocationIssue(String message, DirectLocation directLocation, String... issueData)
Constructs an instance with a specific location and additional parameters- Parameters:
message
- validation message, cannot benull
feature
- concrete problemEStructuralFeature
, can benull
index
- of the object if thefeature
is a many featuredirectLocation
- location of the issue, cannot benull
issueData
- additional information about found problem, can benull
-
-
Method Detail
-
getDirectLocation
public DirectLocation getDirectLocation()
Gets the location of the problem- Returns:
- The location of the problem. May not be
null
-
getIssueData
public String[] getIssueData()
Gets an additional information of the problem- Returns:
- issueData additional information of the problem, can be
null
-
-