Interface SMUnion

All Superinterfaces:
SimilarityMeasure
All Known Implementing Classes:
SMUnionImpl

public interface SMUnion extends SimilarityMeasure
  • Field Details

  • Method Details

    • getSimilaritiesToUse

      Map<String,String> getSimilaritiesToUse()
      A method that returns a map containing the mapping of each data class to the similarity measures to be used. If a data class defined in the union class is not included, the global default measure is used or if this is not set, the default measure for the respective data class.
      Returns:
      A map containing the mapping of each data class to the similarity measures to be used.
    • getSimilarityToUse

      String getSimilarityToUse(String dataClass)
      A method that returns the similarity measure to use for a specific data class. If no measure is set, then null is returned. If this data class is not contained in the Union class, an exception is thrown.
      Parameters:
      dataClass - The data class for which the specific similarity measure is searched.
      Returns:
      The similarity measure to use for a specific data class.
    • setSimilarityToUse

      void setSimilarityToUse(String dataClass, String measure)
      A method that adds a similarity measure to use for a specific data class. If this data class is not contained in * the Union class, an exception is thrown. If the usage of the default measure is desired for a data class, no specific similarity to use has to be set.
      Parameters:
      dataClass - The data class for which the specific similarity measure should be set.
      measure - The name of the similarity measure to use for the given data class.
    • getDefaultSimilarityMeasure

      String getDefaultSimilarityMeasure()
      A method that returns the default similarity measure for all union class objects. If this is set, it will be used in all similarity calculations of objects of this class, unless the data class is overridden by the explicitly set similarity to use. If it is not set, either the locally set measure or the ProCAKE default measure is used.
      Returns:
      default The default similarity measure for all union class objects.
    • setDefaultSimilarityMeasure

      void setDefaultSimilarityMeasure(String defaultSimilarityMeasure)
      A method that specifies the default similarity measure for all union class objects. If this is set, it will be used in all similarity calculations of objects of this class, unless the data class is overridden by the explicitly set similarity to use. If it is not set, either the locally set measure or the ProCAKE default measure is used.
      Parameters:
      defaultSimilarityMeasure - The default similarity measure for all union class objects.