Class Sample

java.lang.Object
com.genologics.ri.sample.SampleBase
com.genologics.ri.sample.Sample
All Implemented Interfaces:
LimsEntity<Sample>, LimsEntityLinkable<Sample>, Linkable<Sample>, Locatable, UDFHolder, Serializable

public class Sample extends SampleBase implements LimsEntity<Sample>
The detailed representation of a sample.
See Also:
  • Constructor Details

    • Sample

      public Sample()
  • Method Details

    • getCreationLocation

      public Location getCreationLocation()
      Get the initial creation location for this sample.
      Returns:
      The initial location.
    • setCreationLocation

      public void setCreationLocation(Location creationLocation)
      Set the location of this sample for creation. This is required when creating samples via the API only.
      Parameters:
      creationLocation - The initial location of the sample.
    • setCreationLocation

      public void setCreationLocation(LimsEntityLinkable<Container> container, String position)
      Set the location of this sample for creation. This is required when creating samples via the API only.
      Parameters:
      container - The container the sample will be created in.
      position - The position within the container for the sample.