Class ControlTypeLink

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

public class ControlTypeLink extends Object implements LimsLink<ControlType>, Serializable
Control-type-link is a child element type of controlTypes and provides a URI linking to the detailed representation of a ControlType.
See Also:
  • Field Details

    • name

      protected String name
    • uri

      protected URI uri
  • 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

    • getName

      public String getName()
    • setName

      public void setName(String name)
    • 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 uri)
      Description copied from interface: Locatable
      Set the URI of this object.
      Specified by:
      setUri in interface Locatable
      Parameters:
      uri - 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.
    • toString

      public String toString()
      Overrides:
      toString in class Object