Class IExpressionTypeChecker.CheckResult.ValidationInf

  • Enclosing class:
    IExpressionTypeChecker.CheckResult

    public static class IExpressionTypeChecker.CheckResult.ValidationInf
    extends Object
    Class contains validation information of expressions in Ql language
    • Field Detail

      • isError

        public boolean isError
      • source

        public org.eclipse.emf.ecore.EObject source
      • feature

        public org.eclipse.emf.ecore.EStructuralFeature feature
      • indexFeature

        public int indexFeature
      • message

        public String message
      • errorCode

        public String errorCode
      • issueData

        public String[] issueData
    • Constructor Detail

      • ValidationInf

        public ValidationInf()
        Constructor
      • ValidationInf

        public ValidationInf​(boolean isError,
                             org.eclipse.emf.ecore.EObject source,
                             org.eclipse.emf.ecore.EStructuralFeature feature,
                             String message,
                             String errorCode)
        Constructor
        Parameters:
        isError - true if information about error, false if information about warning
        source - object with error or warning, can't be null
        feature - feature of the object with error or warning, can't be null
        message - error/warning message information
        errorCode - error/warning special code
      • ValidationInf

        public ValidationInf​(boolean isError,
                             org.eclipse.emf.ecore.EObject source,
                             org.eclipse.emf.ecore.EStructuralFeature feature,
                             String message,
                             String errorCode,
                             String... issueData)
        Constructor
        Parameters:
        isError - true if information about error, false if information about warning
        source - object with error or warning, can't be null
        feature - feature of the object with error or warning, can't be null
        message - error/warning message information
        errorCode - error/warning special code
        issueData - special array of data for quick-fixes
      • ValidationInf

        public ValidationInf​(boolean isError,
                             org.eclipse.emf.ecore.EObject source,
                             org.eclipse.emf.ecore.EStructuralFeature feature,
                             int indexFeature,
                             String message,
                             String errorCode)
        Constructor
        Parameters:
        isError - true if information about error, false if information about warning
        source - object with error or warning, can't be null
        feature - feature of the object with error or warning, can't be null
        indexFeature - index of element corresponding to feature of the object with error or warning
        message - error/warning message information
        errorCode - error/warning special code
      • ValidationInf

        public ValidationInf​(boolean isError,
                             org.eclipse.emf.ecore.EObject source,
                             org.eclipse.emf.ecore.EStructuralFeature feature,
                             int indexFeature,
                             String message,
                             String errorCode,
                             String... issueData)
        Constructor
        Parameters:
        isError - true if information about error, false if information about warning
        source - object with error or warning, can't be null
        feature - feature of the object with error or warning, can't be null
        indexFeature - index of element corresponding to feature of the object with error or warning
        message - error/warning message information
        errorCode - error/warning special code
        issueData - special array of data for quick-fixes