Class BslDirectLocationIssue


  • public final class BslDirectLocationIssue
    extends Issue
    Special Issue 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, like EStructuralFeature of the problem place and a special issue data.
    • Constructor Detail

      • BslDirectLocationIssue

        public BslDirectLocationIssue​(String message,
                                      DirectLocation directLocation)
        Constructs an instance with a specific location
        Parameters:
        message - validation message, cannot be null
        directLocation - location of the issue, cannot be null
      • BslDirectLocationIssue

        public BslDirectLocationIssue​(String message,
                                      DirectLocation directLocation,
                                      String... issueData)
        Constructs an instance with a specific location and additional parameters
        Parameters:
        message - validation message, cannot be null
        feature - concrete problem EStructuralFeature, can be null
        index - of the object if the feature is a many feature
        directLocation - location of the issue, cannot be null
        issueData - additional information about found problem, can be null
    • 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