ilog.rules.vocabulary.model.helper

Interface IlrVocabularyMergeConflictHandler

  • All Known Implementing Classes:
    IlrStandardVocabularyMergeConflictHandler


    public interface IlrVocabularyMergeConflictHandler
    An interface for handling vocabulary merge conflicts. A conflict occurs where a vocabulary element in the source vocabulary and a vocabulary element in the target vocabulary both have the same identifier. A default implementation of this interface is provided as IlrStandardVocabularyMergeConflictHandler.
    Since:
    JRules 6.5
    • Method Detail

      • handleConceptConflict

        void handleConceptConflict(IlrConcept conceptSource,
                                 IlrConcept conceptTarget)
        Handles a conflict between two concepts.
        Parameters:
        conceptSource - The concept from the source vocabulary.
        conceptTarget - The concept from the target vocabulary.
      • handleConceptInstanceConflict

        void handleConceptInstanceConflict(IlrConceptInstance instanceSource,
                                         IlrConceptInstance instanceTarget)
        Handles a conflict between two concept instances.
        Parameters:
        instanceSource - The concept instance from the source vocabulary.
        instanceTarget - The concept instance from the target vocabulary.
      • handleFactTypeConflict

        void handleFactTypeConflict(IlrFactType factTypeSource,
                                  IlrFactType factTypeTarget)
        Handles a conflict between two fact types.
        Parameters:
        factTypeSource - The fact type from the source vocabulary.
        factTypeTarget - The fact type from the target vocabulary.
      • handleSentenceConflict

        void handleSentenceConflict(IlrSentence sentenceSource,
                                  IlrSentence sentenceTarget)
        Handles a conflict between two sentences.
        Parameters:
        sentenceSource - The sentence from the source vocabulary.
        sentenceTarget - The sentence from the target vocabulary.

© Copyright IBM Corp. 1987, 2017