Interface EnrichmentContext

  • All Known Implementing Classes:
    DefaultEnrichmentContext

    public interface EnrichmentContext
    An interface for study element enrichment context.
    Author:
    Jarkko Leponiemi
    • Method Detail

      • getId

        String getId()
        Returns:
        the id of the study element
      • setId

        void setId​(String id)
        Set the id of the study element
        Parameters:
        id -
      • getCode

        String getCode()
        Returns:
        the code of the study element
      • getType

        String getType()
        Returns:
        the type of the study element
      • getTrigger

        String getTrigger()
        Returns:
        the trigger identifier ('initial' or 'update')
      • getData

        Map<String,​Object> getData()
        Returns:
        the data created during enrichment
      • getFinishedEnrichments

        Set<String> getFinishedEnrichments()
        Returns:
        a set of class names of the enrichment services processed with this context
      • isEmpty

        boolean isEmpty()