Class ControlTypeLink

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

public class ControlTypeLink extends LockableSetting implements LimsLink<ControlType>
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

    • uri

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

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

    • ControlTypeLink

      public ControlTypeLink()
      Default constructor.
    • ControlTypeLink

      public ControlTypeLink(URI uri)
      Constructor with URI.
      Parameters:
      uri - The URI of the control type.
    • ControlTypeLink

      public ControlTypeLink(URI uri, String name)
      Constructor with URI and name.
      Parameters:
      uri - The URI of the control type.
      name - The name of the control type.
    • ControlTypeLink

      public ControlTypeLink(Linkable<ControlType> link)
      Constructor from a linkable control type.
      Parameters:
      link - The linkable control type.
    • ControlTypeLink

      public ControlTypeLink(ControlType controlType)
      Constructor from a control type entity.
      Parameters:
      controlType - The control type entity.
  • Method Details

    • getUri

      public URI getUri()
      Gets the URI of the control type.
      Specified by:
      getUri in interface LimsLink<ControlType>
      Specified by:
      getUri in interface Locatable
      Returns:
      The control type URI.
    • setUri

      public void setUri(URI value)
      Sets the URI of the control type.
      Specified by:
      setUri in interface Locatable
      Parameters:
      value - The control type URI.
    • getEntityClass

      public Class<ControlType> getEntityClass()
      Gets the entity class for this link.
      Specified by:
      getEntityClass in interface LimsLink<ControlType>
      Returns:
      The ControlType class.
    • getName

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

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

      public String toString()
      Returns a string representation of this control type link.
      Overrides:
      toString in class Object
      Returns:
      The control type name.
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
      See Also:
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
      See Also: