- All Implemented Interfaces:
LimsEntityLink<Artifact>,LimsEntityLinkable<Artifact>,LimsLink<Artifact>,Linkable<Artifact>,Locatable,Serializable
The file element describes a shared result file output that will be displayed
in the step-setup view.
- Since:
- 2.18
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected URIThe URI of the artifact representing the shared result file.protected StringThe LIMS id of the artifact.protected StringError message associated with the shared result file.protected StringThe name of the artifact.protected StringIndex of the shared result file in the configuration. -
Constructor Summary
ConstructorsConstructorDescriptionCreates an empty shared result file.SharedResultFile(Artifact artifact) Creates a shared result file from an artifact.Creates a shared result file from a LIMS entity linkable artifact.SharedResultFile(Linkable<Artifact> link) Creates a shared result file from a linkable artifact.SharedResultFile(URI artifactUri) Creates a shared result file with the given artifact URI.SharedResultFile(URI artifactUri, String limsid) Creates a shared result file with the given artifact URI and LIMS id. -
Method Summary
Modifier and TypeMethodDescriptionGet the class of the true, full LIMS entity this object links to.Gets the LIMS id of the artifact.Gets the error message.getName()Gets the name of the artifact.Gets the shared result file index.getUri()Gets the URI of the artifact.voidSets the LIMS id of the artifact.voidsetMessage(String message) Sets the error message.voidSets the name of the artifact.voidsetSharedResultFileIndex(String sharedResultFileIndex) Sets the shared result file index.voidSets the URI of the artifact.Methods inherited from class com.genologics.ri.LimsLinkBase
equals, hashCode, toStringMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.genologics.ri.LimsEntityLink
getLinkMethods inherited from interface com.genologics.ri.LimsEntityLinkable
getLimsId, setLimsId
-
Field Details
-
message
Error message associated with the shared result file. -
artifactUri
The URI of the artifact representing the shared result file. -
limsid
The LIMS id of the artifact. -
name
The name of the artifact.
-
-
Constructor Details
-
SharedResultFile
public SharedResultFile()Creates an empty shared result file. -
SharedResultFile
Creates a shared result file with the given artifact URI.- Parameters:
artifactUri- The URI of the artifact.
-
SharedResultFile
Creates a shared result file with the given artifact URI and LIMS id.- Parameters:
artifactUri- The URI of the artifact.limsid- The LIMS id of the artifact.
-
SharedResultFile
Creates a shared result file from a linkable artifact.- Parameters:
link- The linkable artifact to extract the URI from.- Throws:
NullPointerException- iflinkis null.
-
SharedResultFile
Creates a shared result file from a LIMS entity linkable artifact.- Parameters:
link- The LIMS entity linkable artifact to extract the URI and LIMS id from.- Throws:
NullPointerException- iflinkis null.
-
SharedResultFile
Creates a shared result file from an artifact.- Parameters:
artifact- The artifact to extract the URI, LIMS id, and name from.- Throws:
NullPointerException- ifartifactis null.
-
-
Method Details
-
getMessage
Gets the error message.- Returns:
- The error message, or null if none.
-
setMessage
Sets the error message.- Parameters:
message- The error message.
-
getUri
Gets the URI of the artifact.- Returns:
- The artifact URI.
-
setUri
Sets the URI of the artifact.- Parameters:
artifactUri- The artifact URI.
-
getLimsid
Gets the LIMS id of the artifact.- Returns:
- The LIMS id.
-
setLimsid
Sets the LIMS id of the artifact.- Parameters:
limsid- The LIMS id.
-
getName
Gets the name of the artifact.- Returns:
- The artifact name.
-
setName
Sets the name of the artifact.- Parameters:
name- The artifact name.
-
getEntityClass
Get the class of the true, full LIMS entity this object links to.- Returns:
- The real object class.
-