Interface DSLMappingEntry

    • Method Detail

      • getMappingKey

        java.lang.String getMappingKey()
        Returns the key of this mapping, i.e., the source that needs to be translated
        Returns:
      • getMappingValue

        java.lang.String getMappingValue()
        Returns the result of the translation
        Returns:
      • getKeyPattern

        java.util.regex.Pattern getKeyPattern()
        Returns the compiled pattern based on the given MappingKey
        Returns:
        the keyPattern
      • getValuePattern

        java.lang.String getValuePattern()
        Returns the transformed mapping value using place holders for variables
        Returns:
        the valuePattern
      • getVariables

        java.util.Map<java.lang.String,​java.lang.Integer> getVariables()
        Returns the list of variables found in the given pattern key in the same order they were found
        Returns:
        the variables
      • setMappingKey

        void setMappingKey​(java.lang.String key)
        Parameters:
        key - the key to set
      • setMappingValue

        void setMappingValue​(java.lang.String value)
        Parameters:
        value - the value to set
      • getErrors

        java.util.List getErrors()
        Returns a list of errors found in this mapping
        Returns: