Class ArtifactGroupLink

java.lang.Object
com.genologics.ri.LimsLinkBase<ArtifactGroup>
com.genologics.ri.artifact.ArtifactGroupLink
All Implemented Interfaces:
LimsLink<ArtifactGroup>, Linkable<ArtifactGroup>, Locatable, Serializable

public class ArtifactGroupLink extends LimsLinkBase<ArtifactGroup>
Artifact group is a child element of Artifact and provides a URI linking to the detailed representation of the artifact group that the Artifact belongs to. In the client, artifact groups are referred to as experiments.
See Also:
  • Field Details

    • uri

      protected URI uri
      The URI of this artifact group.
    • name

      protected String name
      The name of this artifact group.
  • Constructor Details

    • ArtifactGroupLink

      public ArtifactGroupLink()
      Default constructor.
    • ArtifactGroupLink

      public ArtifactGroupLink(URI uri)
      Constructor taking a URI.
      Parameters:
      uri - The artifact group URI.
    • ArtifactGroupLink

      public ArtifactGroupLink(URI uri, String name)
      Constructor taking a URI and name.
      Parameters:
      uri - The artifact group URI.
      name - The artifact group name.
    • ArtifactGroupLink

      public ArtifactGroupLink(Linkable<ArtifactGroup> link)
      Constructor from a Linkable.
      Parameters:
      link - The linkable object to copy.
  • Method Details

    • getEntityClass

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

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

      public void setUri(URI uri)
      Sets the URI.
      Parameters:
      uri - The artifact group URI.
    • getName

      public String getName()
      Gets the name.
      Returns:
      The artifact group name.
    • setName

      public void setName(String name)
      Sets the name.
      Parameters:
      name - The artifact group name.
    • toString

      public String toString()
      Returns a string representation of this link.
      Overrides:
      toString in class LimsLinkBase<ArtifactGroup>
      Returns:
      The LIMS id and name of the artifact group.
      See Also: