Interface Sample


  • public interface Sample
    This interface defines a sample.
    Since:
    2.0
    Author:
    Xavier Bauquet
    • Method Detail

      • getDesign

        Design getDesign()
        Get the design related to the sample.
        Returns:
        the Design object related to the sample
      • getId

        String getId()
        Get the sample id.
        Returns:
        the sample id
      • getNumber

        int getNumber()
        Get the sample number.
        Returns:
        the sample number
      • getName

        String getName()
        Get the sample name.
        Returns:
        the sample name
      • getMetadata

        SampleMetadata getMetadata()
        Get the sample metadata.
        Returns:
        an object SampleMetadata
      • setName

        void setName​(String newSampleName)
        Set the sample name.
        Parameters:
        newSampleName - the new sample name