Class ProcessTypeLink

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

public class ProcessTypeLink extends LimsLinkBase<ProcessType>
Process-type-link is a child element type of process types and provides a URI linking to the detailed representation of a process type.
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()
      Constructs a new process type link.
    • ProcessTypeLink

      public ProcessTypeLink(URI uri)
      Constructs a new process type link with the specified URI.
      Parameters:
      uri - the URI of the process type.
    • ProcessTypeLink

      public ProcessTypeLink(URI uri, String name)
      Constructs a new process type link with the specified URI and name.
      Parameters:
      uri - the URI of the process type.
      name - the name of the process type.
    • ProcessTypeLink

      public ProcessTypeLink(Linkable<ProcessType> link)
      Constructs a new process type link from a linkable object.
      Parameters:
      link - the linkable object providing the URI.
    • ProcessTypeLink

      public ProcessTypeLink(ProcessType processType)
      Constructs a new process type link from a process type entity.
      Parameters:
      processType - the process type entity.
  • Method Details

    • getEntityClass

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

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

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

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

      public void setUri(URI uri)
      Sets the URI of the process type.
      Parameters:
      uri - the process type URI.
    • 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: