java.lang.Object
com.genologics.ri.sample.SampleBase
- All Implemented Interfaces:
UDFHolder
,Serializable
- Direct Known Subclasses:
Sample
,SampleCreation
The base representation of a Sample, defining common elements for both Sample and Sample creation.
- See Also:
-
Field Summary
Modifier and TypeFieldDescriptionprotected ArtifactLink
protected BioSource
Deprecated.protected ControlTypeLink
protected Date
protected Date
protected List<ExternalId>
protected List<ClarityFile>
protected String
protected String
protected ProjectLink
protected Submitter
protected UDT
protected URI
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionaddUserDefinedField
(UDF udf) Deprecated.addUserDefinedField
(String name, FieldType type, String value) Deprecated.Deprecated.getFiles()
getName()
getUri()
getUserDefinedField
(String name) Deprecated.Get a list of user defined fields held by the entity.boolean
void
setArtifact
(LimsEntityLinkable<Artifact> artifact) void
setBioSource
(BioSource bioSource) Deprecated.void
setControlType
(Linkable<ControlType> controlType) void
setDateCompleted
(Date value) void
setDateReceived
(Date value) void
void
void
setProject
(LimsEntityLinkable<Project> project) setSubmitter
(Linkable<Researcher> link) void
setUserDefinedType
(UDT value) setUserDefinedType
(String type) 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.userdefined.UDFHolder
getUDF, getUDF, getUDF, getUdfs, getUDFs, getUDFValue, getUDFValue, getUDFValue, getUDFValue, setUDF
-
Field Details
-
name
-
dateReceived
-
dateCompleted
-
project
-
controlType
-
submitter
-
artifact
-
bioSource
Deprecated. -
type
-
fields
-
externalIds
-
files
-
limsid
-
uri
-
-
Constructor Details
-
SampleBase
protected SampleBase() -
SampleBase
-
-
Method Details
-
getName
-
setName
-
getDateReceived
-
setDateReceived
-
getDateCompleted
-
setDateCompleted
-
getProject
-
setProject
-
getControlType
-
setControlType
-
isControlSample
public boolean isControlSample() -
getSubmitter
-
setSubmitter
-
getArtifact
-
setArtifact
-
getBioSource
Deprecated. -
setBioSource
Deprecated. -
getUserDefinedType
-
setUserDefinedType
-
setUserDefinedType
-
getUserDefinedFields
Description copied from interface:UDFHolder
Get a list of user defined fields held by the entity.- Specified by:
getUserDefinedFields
in interfaceUDFHolder
- Returns:
- A list of UDF objects. This should never return null.
-
getUserDefinedField
Deprecated. -
addUserDefinedField
Deprecated. -
addUserDefinedField
Deprecated. -
getExternalIds
-
getFiles
-
addFile
-
getLimsid
-
setLimsid
-
getUri
-
setUri
-
toString
-