Class ControlTypeLink

java.lang.Object
com.genologics.ri.sample.ControlTypeLink
All Implemented Interfaces:
LimsLink<ControlType>, Linkable<ControlType>, Locatable, Serializable

public class ControlTypeLink extends Object implements LimsLink<ControlType>, Serializable
Control Type provides a name and a URI linking to the detailed representation of the Control Type associated with the Sample. If a Control Type is associated, the Sample will not have an associated Project.
See Also:
  • Field Details

    • uri

      protected URI uri
    • name

      protected String name
  • Constructor Details

    • ControlTypeLink

      public ControlTypeLink()
    • ControlTypeLink

      public ControlTypeLink(URI uri)
    • ControlTypeLink

      public ControlTypeLink(URI uri, String name)
    • ControlTypeLink

      public ControlTypeLink(Linkable<ControlType> link)
    • ControlTypeLink

      public ControlTypeLink(ControlType controlType)
  • Method Details

    • getUri

      public URI getUri()
      Description copied from interface: LimsLink
      Get the URI of the object we are linking to.
      Specified by:
      getUri in interface LimsLink<ControlType>
      Specified by:
      getUri in interface Locatable
      Returns:
      The URI.
    • setUri

      public void setUri(URI value)
      Description copied from interface: Locatable
      Set the URI of this object.
      Specified by:
      setUri in interface Locatable
      Parameters:
      value - The new URI.
    • getEntityClass

      public Class<ControlType> getEntityClass()
      Description copied from interface: LimsLink
      Get the class of the true, full LIMS entity this object links to.
      Specified by:
      getEntityClass in interface LimsLink<ControlType>
      Returns:
      The real object class.
    • getName

      public String getName()
    • setName

      public void setName(String name)
    • toString

      public String toString()
      Overrides:
      toString in class Object