Interface MappingLineConfiguration

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      java.lang.String getEditorCode​(java.lang.String propertyQualifier)
      Returns the code of the editor that should be used for the mapping mappingLineModel display in the mapping area.
      java.util.List<Property> getImportProperties()
      Returns the import properties as configured in the XML config file.
      java.util.List<java.lang.String> getImportPropertiesQualifiers()
      Returns a list if property descriptors configured in the "import properties" section in the mapping mappingLineModel XML config files.
      java.util.Map<java.lang.String,​java.lang.String> getParameterMap​(java.lang.String propertyQualifier)
      Returns a map of parameter qualifiers and their values as configured in the XML config file.
      java.util.List<SpecialTranslator> getSpecialTranslators()  
      java.lang.String getTranslator​(java.lang.String propertyQualifier)
      Returns the value of the "translator" parameter of the specified property qualifier config.
      boolean isAllowNull​(java.lang.String propertyQualifier)
      Returns true if there is allownull=true parameter configured for the given property qualifier.
      boolean isEditorVisible​(java.lang.String propertyQualifier)
      Returns true if the editor is set to be visible in the xml config file
    • Method Detail

      • getEditorCode

        java.lang.String getEditorCode​(java.lang.String propertyQualifier)
        Returns the code of the editor that should be used for the mapping mappingLineModel display in the mapping area.
        Parameters:
        propertyQualifier -
        Returns:
        editor code
      • isEditorVisible

        boolean isEditorVisible​(java.lang.String propertyQualifier)
        Returns true if the editor is set to be visible in the xml config file
        Parameters:
        propertyQualifier -
        Returns:
        true if the editor is configured to be visible in the xml config file
      • getParameterMap

        java.util.Map<java.lang.String,​java.lang.String> getParameterMap​(java.lang.String propertyQualifier)
        Returns a map of parameter qualifiers and their values as configured in the XML config file.
        Parameters:
        propertyQualifier -
        Returns:
        map of parameter qualifiers and values
      • getImportProperties

        java.util.List<Property> getImportProperties()
        Returns the import properties as configured in the XML config file.
        Returns:
        list of import properties as Property objects (can contain translator or allowNull specifications)
      • getTranslator

        java.lang.String getTranslator​(java.lang.String propertyQualifier)
        Returns the value of the "translator" parameter of the specified property qualifier config. If there is no "translator" parameter defined, null is returned.
        Parameters:
        propertyQualifier -
        Returns:
        qualified class name of the translator
      • isAllowNull

        boolean isAllowNull​(java.lang.String propertyQualifier)
        Returns true if there is allownull=true parameter configured for the given property qualifier.
        Parameters:
        propertyQualifier -
        Returns:
        true if the parameter allownull is existent and set to "true", false otherwise
      • getImportPropertiesQualifiers

        java.util.List<java.lang.String> getImportPropertiesQualifiers()
        Returns a list if property descriptors configured in the "import properties" section in the mapping mappingLineModel XML config files. These properties will be handled by the Import cockpit as mandatory mapping lines.
        Returns:
        list of property descriptor qualifiers as specified in the XML config file
      • getSpecialTranslators

        java.util.List<SpecialTranslator> getSpecialTranslators()
        Returns:
        all translators of a type (Media have the translator @media)