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
-
Method Summary
Modifier and TypeMethodDescriptionGet the initial creation location for this sample.void
setCreationLocation
(LimsEntityLinkable<Container> container, String position) Set the location of this sample for creation.void
setCreationLocation
(Location creationLocation) Set the location of this sample for creation.Methods inherited from class com.genologics.ri.sample.SampleBase
addFile, addUserDefinedField, addUserDefinedField, getArtifact, getBioSource, getControlType, getDateCompleted, getDateReceived, getExternalIds, getFiles, getLimsid, getName, getProject, getSubmitter, getUri, getUserDefinedField, getUserDefinedFields, getUserDefinedType, isControlSample, setArtifact, setBioSource, setControlType, setDateCompleted, setDateReceived, setLimsid, setName, setProject, setSubmitter, setUri, setUserDefinedType, setUserDefinedType, toString
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.genologics.ri.LimsEntityLinkable
getLimsid, getLimsId, setLimsid, setLimsId
Methods 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.
-