Class ExperimentImpl

    • Method Detail

      • getDesign

        public Design getDesign()
        Description copied from interface: Experiment
        Get the design related to the experiment.
        Specified by:
        getDesign in interface Experiment
        Returns:
        the Design object related to the experiment
      • getId

        public String getId()
        Description copied from interface: Experiment
        get the experiment id.
        Specified by:
        getId in interface Experiment
        Returns:
        the experiment id
      • getName

        public String getName()
        Description copied from interface: Experiment
        Get the experiment name.
        Specified by:
        getName in interface Experiment
        Returns:
        the experiment name
      • getNumber

        public int getNumber()
        Description copied from interface: Experiment
        Get the experiment number.
        Specified by:
        getNumber in interface Experiment
        Returns:
        the experiment number
      • getMetadata

        public fr.ens.biologie.genomique.eoulsan.design.ExperimentMetadataImpl getMetadata()
        Description copied from interface: Experiment
        Get the experiment metadata.
        Specified by:
        getMetadata in interface Experiment
        Returns:
        the experiment metadata
      • getSamples

        public List<Sample> getSamples()
        Description copied from interface: Experiment
        Get the samples of the experiment.
        Specified by:
        getSamples in interface Experiment
        Returns:
        a list of ExperimentSample object
      • getExperimentSample

        public ExperimentSample getExperimentSample​(Sample sample)
        Description copied from interface: Experiment
        Get the experiment sample related to the sample.
        Specified by:
        getExperimentSample in interface Experiment
        Parameters:
        sample - the sample
        Returns:
        an experiment sample object if exists or null
      • setName

        public void setName​(String newExperimentName)
        Description copied from interface: Experiment
        Set the name of the experiment.
        Specified by:
        setName in interface Experiment
        Parameters:
        newExperimentName - the new experiment name
      • removeSample

        public void removeSample​(Sample sample)
        Description copied from interface: Experiment
        Remove the sample.
        Specified by:
        removeSample in interface Experiment
        Parameters:
        sample - the sample to remove
      • containsSample

        public boolean containsSample​(Sample sample)
        Description copied from interface: Experiment
        Test if the experiment contains a sample.
        Specified by:
        containsSample in interface Experiment
        Parameters:
        sample - the sample to test
        Returns:
        true if the sample is the experiment
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object