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
SpecialIssueimplementation 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, likeEStructuralFeatureof 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 DirectLocationgetDirectLocation()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 benulldirectLocation- 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 benullfeature- concrete problemEStructuralFeature, can benullindex- of the object if thefeatureis a many featuredirectLocation- location of the issue, cannot benullissueData- 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
-
-