Class ContainerTypeLink

java.lang.Object
com.genologics.ri.LimsLinkBase<Container>
com.genologics.ri.processtype.ContainerTypeLink
All Implemented Interfaces:
LimsLink<Container>, Linkable<Container>, Locatable, Serializable

public class ContainerTypeLink extends LimsLinkBase<Container>
Link to a container type within a process type configuration. Provides a URI linking to the detailed representation of a container type, along with its name.
Since:
2.25
See Also:
  • Field Details

    • name

      protected String name
      The name of the container type.
    • uri

      protected URI uri
      The URI of the container type.
  • Constructor Details

    • ContainerTypeLink

      public ContainerTypeLink()
      Constructs a new container type link.
    • ContainerTypeLink

      public ContainerTypeLink(URI uri)
      Constructs a new container type link with the specified URI.
      Parameters:
      uri - the URI of the container type.
    • ContainerTypeLink

      public ContainerTypeLink(URI uri, String name)
      Constructs a new container type link with the specified URI and name.
      Parameters:
      uri - the URI of the container type.
      name - the name of the container type.
    • ContainerTypeLink

      public ContainerTypeLink(Linkable<ContainerType> link)
      Constructs a new container type link from a linkable object.
      Parameters:
      link - the linkable object providing the URI.
    • ContainerTypeLink

      public ContainerTypeLink(ContainerType containerType)
      Constructs a new container type link from a container type entity.
      Parameters:
      containerType - the container type entity.
  • Method Details

    • getUri

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

      public void setUri(URI uri)
      Sets the URI of the container type.
      Parameters:
      uri - the container type URI.
    • getName

      public String getName()
      Gets the name of the container type.
      Returns:
      the container type name.
    • setName

      public void setName(String name)
      Sets the name of the container type.
      Parameters:
      name - the container type name.
    • getEntityClass

      public Class<Container> getEntityClass()
      Gets the entity class for this link.
      Returns:
      the Container class.
    • toString

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