Class ProcessTypeLink

java.lang.Object
com.genologics.ri.LimsLinkBase<ProcessType>
com.genologics.ri.automation.ProcessTypeLink
All Implemented Interfaces:
LimsLink<ProcessType>, Linkable<ProcessType>, Locatable, Serializable

public class ProcessTypeLink extends LimsLinkBase<ProcessType>
Provides links to process types the automation is enabled on.
Since:
2.26
See Also:
  • Field Details

    • uri

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

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

    • ProcessTypeLink

      public ProcessTypeLink()
      Default constructor.
    • ProcessTypeLink

      public ProcessTypeLink(URI uri)
      Constructor with URI.
      Parameters:
      uri - The process type URI.
    • ProcessTypeLink

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

      public ProcessTypeLink(Linkable<ProcessType> link)
      Constructor from a Linkable.
      Parameters:
      link - The linkable process type.
    • ProcessTypeLink

      public ProcessTypeLink(ProcessType processType)
      Constructor from a ProcessType entity.
      Parameters:
      processType - The process type entity.
  • Method Details

    • getUri

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

      public void setUri(URI value)
      Sets the URI of the process type.
      Parameters:
      value - The process type URI.
    • setProcessType

      public void setProcessType(Linkable<ProcessType> processType)
      Sets the process type from a linkable.
      Parameters:
      processType - The linkable process type.
    • getName

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

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

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

      public String toString()
      Returns a string representation of this process type link.
      Overrides:
      toString in class LimsLinkBase<ProcessType>
      Returns:
      The process type URI and name.
      See Also: