Uploaded image for project: 'Metadata Mapping Module'
  1. Metadata Mapping Module
  2. MAP-14

Refactor ConceptSource methods to eliminate ambiguity

    XMLWordPrintable

    Details

    • Type: New Feature
    • Status: Closed
    • Priority: Must
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.2.0
    • Labels:
      None
    • Complexity:
      Low

      Description

      Concepts do not use MetadataSource rather ConceptSource. There are some methods in the module, which are ambiguous and need to be renamed to indicate they refer to ConceptSource.

      ConceptSource createLocalSourceFromImplementationId(); -> createLocalConceptSourceFromImplementationId();

      ConceptSource getLocalSource(); -> getLocalConceptSource();

      boolean isLocalSourceConfigured(); -> isLocalConceptSourceConfigured();

      Set<ConceptSource> getSubscribedSources(); -> getSubscribedConceptSources();

      boolean addSubscribedSource(ConceptSource conceptSource); -> addSubscribedConceptSource(ConceptSource conceptSource);

      boolean removeSubscribedSource(ConceptSource conceptSource); -> removeSubscribedConceptSource(ConceptSource conceptSource);

      boolean isAddLocalMappingOnExport() -> isAddLocalMappingToConceptOnExport()

        Gliffy Diagrams

          Attachments

            Activity

              People

              Assignee:
              jasonvena Jason Vena
              Reporter:
              raff Rafal Korytkowski
              Designated Committer:
              Rafal Korytkowski Rafal Korytkowski
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: