Interface EnrichmentService

    • Method Detail

      • getName

        String getName()
        Returns:
        the name of the enrichment service
      • getTypeClassMappings

        Map<String,​Class<?>> getTypeClassMappings()
      • isApplicable

        boolean isApplicable​(String type)
        Parameters:
        type - study element typ
        Returns:
        true, if enrichment service is applicable for given study elemenrt type
      • isProcessable

        boolean isProcessable​(EnrichmentContext enrichmentContext)
        Parameters:
        enrichmentContext - the current enrichment context
        Returns:
        true, if enrichment service is currently processable for given context
      • enrich

        EnrichmentContext enrich​(EnrichmentContext enrichmentContext,
                                 boolean inPlace)
        Enrich the study element in the given enrichment context
        Parameters:
        enrichmentContext - the current enrichment context
        inPlace - true, in enrichment does not create a new context
        Returns:
        the updated enrichment context
      • getElementDeleteMarker

        ElementDeleteMarker getElementDeleteMarker()
        Returns:
        the deletion marker for this enrichment service