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
The detailed representation of a sample.
- See Also:
-
Field Summary
Fields inherited from class com.genologics.ri.sample.SampleBase
artifact, bioSource, controlType, dateCompleted, dateReceived, externalIds, fields, files, limsid, name, project, submitter, type, uri -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet the initial creation location for this sample.getLink()Get a concrete link object to thisLimsEntityLinkableentity.voidsetCreationLocation(LimsEntityLinkable<Container> container, String position) Set the location of this sample for creation.voidsetCreationLocation(Location creationLocation) Set the location of this sample for creation.Methods inherited from class com.genologics.ri.sample.SampleBase
addFile, getArtifact, getBioSource, getControlType, getDateCompleted, getDateReceived, getExternalIds, getFiles, getLimsid, getName, getProject, getSubmitter, getUri, getUserDefinedFields, getUserDefinedType, isControlSample, setArtifact, setBioSource, setControlType, setDateCompleted, setDateReceived, setLimsid, setName, setProject, setSubmitter, setUri, setUserDefinedType, setUserDefinedType, toStringMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.genologics.ri.LimsEntityLinkable
getLimsid, getLimsId, setLimsid, setLimsIdMethods inherited from interface com.genologics.ri.userdefined.UDFHolder
getUDF, getUDF, getUDF, getUdfs, getUDFs, getUDFValue, getUDFValue, getUDFValue, getUDFValue, setUDF
-
Constructor Details
-
Sample
public Sample()
-
-
Method Details
-
getCreationLocation
Get the initial creation location for this sample.- Returns:
- The initial location.
-
setCreationLocation
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
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.
-
getLink
Get a concrete link object to thisLimsEntityLinkableentity. This definition simply narrows the type of links returned by classes that implement this interface, as they should all have correspondingLimsEntityLinklink classes available.
-