Interface PsiXmlExtendedInteractionWriter<T extends Interaction>

    • Method Detail

      • extractDefaultExperimentsFrom

        List<Experiment> extractDefaultExperimentsFrom​(T interaction)

        extractDefaultExperimentsFrom.

        Parameters:
        interaction - a T object.
        Returns:
        the default experiments for this interaction
      • getDefaultExperiments

        List<Experiment> getDefaultExperiments()
        The default experiments that will be used to write a valid XML file but are not real experiments attached to the interaction. It cannot be null.
        Returns:
        a List object.
      • setDefaultExperiments

        void setDefaultExperiments​(List<Experiment> exp)
        Sets the default experiments that will be used to write a valid XML file even if the interaction does not have any valid experiment
        Parameters:
        exp - a List object.
        Throws:
        IllegalArgumentException - when default experiments is null