Class CreationInput

java.lang.Object
com.genologics.ri.LimsLinkBase<Artifact>
com.genologics.ri.step.CreationInput
All Implemented Interfaces:
LimsLink<Artifact>, Linkable<Artifact>, Locatable, Serializable

public class CreationInput extends LimsLinkBase<Artifact>
Typically, provides a URI linking to the input artifact. Can also be used to designate control sample inputs (via its control type). One of 'uri' or 'control-type-uri' attributes must be provided, but not both.
Since:
2.18
See Also:
  • Field Details

    • uri

      protected URI uri
      URI of the input artifact.
    • controlTypeUri

      protected URI controlTypeUri
      URI of the control type.
    • replicates

      protected Long replicates
      Number of replicates.
  • Constructor Details

    • CreationInput

      public CreationInput()
      Default constructor.
    • CreationInput

      public CreationInput(URI uri)
      Constructor with URI.
      Parameters:
      uri - The URI of the input artifact.
    • CreationInput

      public CreationInput(URI uri, URI controlTypeUri)
      Constructor with URI and control type URI.
      Parameters:
      uri - The URI of the input artifact.
      controlTypeUri - The URI of the control type.
    • CreationInput

      public CreationInput(URI uri, URI controlTypeUri, Long replicates)
      Constructor with URI, control type URI, and replicates.
      Parameters:
      uri - The URI of the input artifact.
      controlTypeUri - The URI of the control type.
      replicates - The number of replicates.
    • CreationInput

      public CreationInput(Linkable<Artifact> artifact)
      Constructor from a linkable artifact.
      Parameters:
      artifact - The linkable artifact.
    • CreationInput

      public CreationInput(Linkable<Artifact> artifact, Linkable<ControlType> controlType)
      Constructor from a linkable artifact and control type.
      Parameters:
      artifact - The linkable artifact.
      controlType - The linkable control type.
    • CreationInput

      public CreationInput(Linkable<Artifact> artifact, Linkable<ControlType> controlType, Long replicates)
      Constructor from a linkable artifact, control type, and replicates.
      Parameters:
      artifact - The linkable artifact.
      controlType - The linkable control type.
      replicates - The number of replicates.
  • Method Details

    • getUri

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

      public void setUri(URI uri)
      Sets the URI.
      Parameters:
      uri - The URI.
    • setArtifact

      public void setArtifact(Linkable<Artifact> a)
      Sets the artifact.
      Parameters:
      a - The linkable artifact.
    • getControlTypeUri

      public URI getControlTypeUri()
      Gets the control type URI.
      Returns:
      The control type URI.
    • setControlTypeUri

      public void setControlTypeUri(URI controlTypeUri)
      Sets the control type URI.
      Parameters:
      controlTypeUri - The control type URI.
    • setControlType

      public void setControlType(Linkable<ControlType> type)
      Sets the control type.
      Parameters:
      type - The linkable control type.
    • getReplicates

      public Long getReplicates()
      Gets the number of replicates.
      Returns:
      The number of replicates.
    • setReplicates

      public void setReplicates(Long replicates)
      Sets the number of replicates.
      Parameters:
      replicates - The number of replicates.
    • getEntityClass

      public Class<Artifact> getEntityClass()
      Gets the entity class.
      Returns:
      The Artifact class.