Class ProcessTypeLink

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

public class ProcessTypeLink extends Object implements LimsLink<ProcessType>, Serializable
Process-type is a child element that provides a URI linking to the detailed representation of the process type that the step is associated with.
See Also:
  • Field Details

    • name

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

      protected URI uri
      The URI of the process type.
  • Constructor Details

    • ProcessTypeLink

      public ProcessTypeLink()
      Default constructor.
    • ProcessTypeLink

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

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

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

      public ProcessTypeLink(ProcessType processType)
      Constructor 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.
      Specified by:
      getEntityClass in interface LimsLink<ProcessType>
      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.
      Specified by:
      getUri in interface LimsLink<ProcessType>
      Specified by:
      getUri in interface Locatable
      Returns:
      The process type URI.
    • setUri

      public void setUri(URI uri)
      Sets the URI of the process type.
      Specified by:
      setUri in interface Locatable
      Parameters:
      uri - The process type URI.
    • toString

      public String toString()
      Returns a string representation of this process type link.
      Overrides:
      toString in class Object
      Returns:
      The process 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: