Class ArtifactLink

java.lang.Object
com.genologics.ri.LimsLinkBase<Artifact>
com.genologics.ri.routing.ArtifactLink
All Implemented Interfaces:
LimsLink<Artifact>, Linkable<Artifact>, Locatable, Serializable

public class ArtifactLink extends LimsLinkBase<Artifact>
Link to an artifact for routing purposes.
See Also:
  • Field Details

    • uri

      protected URI uri
      The URI of the artifact.
  • Constructor Details

    • ArtifactLink

      public ArtifactLink()
      Default constructor.
    • ArtifactLink

      public ArtifactLink(URI uri)
      Constructor with URI.
      Parameters:
      uri - The URI of the artifact.
    • ArtifactLink

      public ArtifactLink(Linkable<Artifact> link)
      Constructor from a Linkable.
      Parameters:
      link - The linkable artifact.
  • Method Details

    • getUri

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

      public void setUri(URI value)
      Sets the URI of the artifact.
      Parameters:
      value - The artifact URI.
    • getEntityClass

      public Class<Artifact> getEntityClass()
      Gets the entity class for this link.
      Returns:
      The Artifact class.