Interface PsiXmlExperimentWriter

    • Method Detail

      • getDefaultPublication

        Publication getDefaultPublication()

        getDefaultPublication.

        Returns:
        the default publication. It cannot be null
      • setDefaultPublication

        void setDefaultPublication​(Publication pub)
        Sets the default publication to write in case an experiment does not have a publication
        Parameters:
        pub - a Publication object.
        Throws:
        IllegalArgumentException - when default publication is null
      • writeExperiment

        CvTerm writeExperiment​(Experiment exp)
                        throws MIIOException

        writeExperiment.

        Parameters:
        exp - the experiment to write
        Returns:
        the participant identification method used by the writer when writing the experiment. Can be null if no participant identification method has been written.
        Throws:
        MIIOException - if any.
      • extractDefaultParticipantIdentificationMethod

        CvTerm extractDefaultParticipantIdentificationMethod​(Experiment exp)

        extractDefaultParticipantIdentificationMethod.

        Parameters:
        exp - a Experiment object.
        Returns:
        the default participant identification method associated with this experiment