Interface InteractorChangeListener<T extends Interactor>

    • Method Detail

      • onShortNameUpdate

        void onShortNameUpdate​(T interactor,
                               String oldShortName)
        Listens for the event where the shortName has been changed.
        Parameters:
        interactor - The interactor which has changed.
        oldShortName - The old shortName.
      • onFullNameUpdate

        void onFullNameUpdate​(T interactor,
                              String oldFullName)
        Listens for the event where the fullName has been changed.
        Parameters:
        interactor - The interactor which has changed.
        oldFullName - The old fullName.
      • onOrganismUpdate

        void onOrganismUpdate​(T interactor,
                              Organism oldOrganism)
        Listen to the event where the organism of a interactor has been initialised. This event happens when a interactor does not have any organisms
        Parameters:
        interactor - The interactor which has changed.
        oldOrganism - a Organism object.
      • onInteractorTypeUpdate

        void onInteractorTypeUpdate​(T interactor,
                                    CvTerm oldType)
        Listen to the event where the interactor type has been initialised. This event happens when a interactor does not have any interactor types
        Parameters:
        interactor - The interactor which has changed.
        oldType - a CvTerm object.