Class ArtifactGroupLink

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

public class ArtifactGroupLink extends LimsLinkBase<ArtifactGroup>
artifactGroup-link is a child element type of artifactGroup and provides a URI linking to the detailed representation of a artifactGroup.
See Also:
  • Field Details

    • uri

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

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

    • ArtifactGroupLink

      public ArtifactGroupLink()
      Default constructor.
    • ArtifactGroupLink

      public ArtifactGroupLink(URI uri)
      Constructs a link with the given URI.
      Parameters:
      uri - The URI of the artifact group.
    • ArtifactGroupLink

      public ArtifactGroupLink(URI uri, String name)
      Constructs a link with the given URI and name.
      Parameters:
      uri - The URI of the artifact group.
      name - The name of the artifact group.
    • ArtifactGroupLink

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

    • getEntityClass

      public Class<ArtifactGroup> getEntityClass()
      Gets the entity class this link refers to.
      Returns:
      The ArtifactGroup class.
    • getName

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

      public void setName(String value)
      Sets the name of the artifact group.
      Parameters:
      value - The name to set.
    • getUri

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

      public void setUri(URI value)
      Sets the URI of the artifact group.
      Parameters:
      value - The URI to set.
    • 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: