Class ParentProcessLink

All Implemented Interfaces:
LimsEntityLink<ClarityProcess>, LimsEntityLinkable<ClarityProcess>, LimsLink<ClarityProcess>, Linkable<ClarityProcess>, Locatable, Serializable

public class ParentProcessLink extends LimsEntityLinkBase<ClarityProcess>
Parent-process is a child element of Artifact and provides a URI linking to the Process that created the Artifact.
See Also:
  • Field Details

    • uri

      protected URI uri
      The URI of the parent process.
    • limsid

      protected String limsid
      The LIMS id of the parent process.
  • Constructor Details

    • ParentProcessLink

      public ParentProcessLink()
      Default constructor.
    • ParentProcessLink

      public ParentProcessLink(URI uri)
      Constructor with URI.
      Parameters:
      uri - the URI of the parent process.
    • ParentProcessLink

      public ParentProcessLink(URI uri, String limsid)
      Constructor with URI and LIMS id.
      Parameters:
      uri - the URI of the parent process.
      limsid - the LIMS id of the parent process.
    • ParentProcessLink

      public ParentProcessLink(Linkable<ClarityProcess> link)
      Constructor from a linkable object.
      Parameters:
      link - the linkable object.
    • ParentProcessLink

      public ParentProcessLink(LimsEntityLinkable<ClarityProcess> link)
      Constructor from a LIMS entity linkable object.
      Parameters:
      link - the LIMS entity linkable object.
  • Method Details

    • getEntityClass

      public Class<ClarityProcess> getEntityClass()
      Gets the entity class.
      Returns:
      the ClarityProcess class.
    • getUri

      public URI getUri()
      Gets the URI.
      Returns:
      the URI.
    • setUri

      public void setUri(URI uri)
      Sets the URI.
      Parameters:
      uri - the URI to set.
    • getLimsid

      public String getLimsid()
      Gets the LIMS id.
      Returns:
      the LIMS id.
    • setLimsid

      public void setLimsid(String limsid)
      Sets the LIMS id.
      Parameters:
      limsid - the LIMS id to set.