Class ContainerTypeLink

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

public class ContainerTypeLink extends LimsLinkBase<ContainerType>
Container-type is a child element of container and provides a URI linking to the detailed representation of the container type that the container is associated with. A container type describes the physical characteristics of the container, such as the number of wells in the container and how the wells are labelled.
See Also:
  • Field Details

    • uri

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

      protected String name
      The name of the container type.
  • Constructor Details

    • ContainerTypeLink

      public ContainerTypeLink()
      Default constructor.
    • ContainerTypeLink

      public ContainerTypeLink(URI uri)
      Constructor with URI.
      Parameters:
      uri - The URI.
    • ContainerTypeLink

      public ContainerTypeLink(URI uri, String name)
      Constructor with URI and name.
      Parameters:
      uri - The URI.
      name - The name.
    • ContainerTypeLink

      public ContainerTypeLink(Linkable<ContainerType> link)
      Constructor from a linkable container type.
      Parameters:
      link - The linkable container type.
    • ContainerTypeLink

      public ContainerTypeLink(ContainerType containerType)
      Constructor from a container type.
      Parameters:
      containerType - The container type.
  • Method Details

    • getEntityClass

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

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

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

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

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

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