java.lang.Object
com.genologics.ri.sample.SampleBase
com.genologics.ri.sample.SampleCreation
- All Implemented Interfaces:
UDFHolder,Serializable
Sample creation is the detailed representation required when creating a new
Sample in the system.
For this API, this class should not be used directly. Create
Sample objects and set their creationLocation field
for the initial location before calling ClarityAPI.create
methods.
-
Field Summary
FieldsFields inherited from class com.genologics.ri.sample.SampleBase
artifact, bioSource, controlType, dateCompleted, dateReceived, externalIds, fields, files, limsid, name, project, submitter, type, uri -
Constructor Summary
ConstructorsConstructorDescriptionConstruct a new object for sample creation via the API. -
Method Summary
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, toStringMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.genologics.ri.userdefined.UDFHolder
getUDF, getUDF, getUDF, getUdfs, getUDFs, getUDFValue, getUDFValue, getUDFValue, getUDFValue, setUDF
-
Field Details
-
location
-
-
Constructor Details
-
SampleCreation
public SampleCreation() -
SampleCreation
Construct a new object for sample creation via the API.- Parameters:
s- The original Sample object.- Throws:
IllegalStateException- ifshas a URI set (meaning it is already known in the system) or does not have itscreationLocationfield set with a location.
-
-
Method Details
-
getLocation
-
setLocation
-