Class ProcessTemplateLink

java.lang.Object
com.genologics.ri.LimsLinkBase<ProcessTemplate>
com.genologics.ri.processtemplate.ProcessTemplateLink
All Implemented Interfaces:
LimsLink<ProcessTemplate>, Linkable<ProcessTemplate>, Locatable, Serializable

public class ProcessTemplateLink extends LimsLinkBase<ProcessTemplate>
process-template-link is a child element type of Process Templates and provides a URI linking to the detailed representation of a Process Template.
See Also:
  • Field Details

    • uri

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

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

    • ProcessTemplateLink

      public ProcessTemplateLink()
      Default constructor.
    • ProcessTemplateLink

      public ProcessTemplateLink(URI uri)
      Constructor with URI.
      Parameters:
      uri - the URI of the process template.
    • ProcessTemplateLink

      public ProcessTemplateLink(URI uri, String name)
      Constructor with URI and name.
      Parameters:
      uri - the URI of the process template.
      name - the name of the process template.
    • ProcessTemplateLink

      public ProcessTemplateLink(Linkable<ProcessTemplate> link)
      Constructor from a linkable process template.
      Parameters:
      link - the linkable process template.
    • ProcessTemplateLink

      public ProcessTemplateLink(ProcessTemplate template)
      Constructor from a ProcessTemplate object.
      Parameters:
      template - the process template.
  • Method Details

    • getEntityClass

      public Class<ProcessTemplate> getEntityClass()
      Gets the entity class.
      Returns:
      the ProcessTemplate class.
    • getName

      public String getName()
      Gets the name.
      Returns:
      the name.
    • setName

      public void setName(String name)
      Sets the name.
      Parameters:
      name - the name to set.
    • getUri

      public URI getUri()
      Gets the URI.
      Returns:
      the URI.
    • setUri

      public void setUri(URI uri)
      Sets the URI.
      Parameters:
      uri - the URI to set.
    • toString

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