Interface LimsEntityLinkable<E extends LimsEntity<E>>

Type Parameters:
E - The type of entity that is at the end of the link.
All Superinterfaces:
Linkable<E>, Locatable
All Known Subinterfaces:
LimsEntity<E>, LimsEntityLink<E>
All Known Implementing Classes:
Artifact, ArtifactLink, ArtifactLink, ArtifactLink, ArtifactLink, ArtifactLink, ClarityFile, ClarityProcess, Container, ContainerLink, ContainerLink, DemuxArtifactSample, Instrument, InstrumentLink, InstrumentLink, InstrumentLink, InstrumentLink, InstrumentLink, Lab, LabLink, LabLink, Location, ParentProcessLink, ParentProcessLink, Placement, ProcessLink, ProcessStep, Project, ProjectLink, ProjectLink, ReagentLot, ReagentLotLink, ReagentLotLink, ReagentType, ReagentTypeLink, Researcher, ResearcherLink, ResearcherLink, ResearcherLink, ResearcherLink, Sample, SampleLink, SampleLink, SharedResultFile

public interface LimsEntityLinkable<E extends LimsEntity<E>> extends Linkable<E>
Interface for entities and links to entities that are identifiable in the system (i.e. have a LIMS id).
  • Method Summary

    Modifier and Type
    Method
    Description
    Get the LIMS id for this object.
    default String
    Same as getLimsid() but written in a more pleasing form for camel case.
    Get a concrete link object to this LimsEntityLinkable entity.
    void
    Set the LIMS id for this object.
    default void
    Same as setLimsid(String) but written in a more pleasing form for camel case.

    Methods inherited from interface com.genologics.ri.Locatable

    getUri, setUri
  • Method Details

    • getLimsid

      String getLimsid()
      Get the LIMS id for this object.
      Returns:
      The LIMS id.
    • setLimsid

      void setLimsid(String id)
      Set the LIMS id for this object.
      Parameters:
      id - The new LIMS id.
    • getLimsId

      default String getLimsId()
      Same as getLimsid() but written in a more pleasing form for camel case.
      Returns:
      The LIMS id.
      Since:
      2.31.1
    • setLimsId

      default void setLimsId(String id)
      Same as setLimsid(String) but written in a more pleasing form for camel case.
      Parameters:
      id - The new LIMS id.
      Since:
      2.31.1
    • getLink

      LimsEntityLink<E> getLink()
      Get a concrete link object to this LimsEntityLinkable entity. This definition simply narrows the type of links returned by classes that implement this interface, as they should all have corresponding LimsEntityLink link classes available.
      Specified by:
      getLink in interface Linkable<E extends LimsEntity<E>>
      Returns:
      A LimsEntityLink to this object.
      Since:
      Clarity Client version 2, 2.31.0