Class FileLink

java.lang.Object
com.genologics.ri.file.FileLink
All Implemented Interfaces:
LimsLink<ClarityFile>, Linkable<ClarityFile>, Locatable, Serializable

public class FileLink extends Object implements LimsLink<ClarityFile>, Serializable
The file-link type provides a URI that links to information about a file in the system.

Elements of this type are used for lists of files, or by resources that have attached files to identify and link to further information about the file.

See Also:
  • Field Details

    • uri

      protected URI uri
    • limsid

      protected String limsid
  • Constructor Details

  • Method Details

    • getEntityClass

      public Class<ClarityFile> getEntityClass()
      Description copied from interface: LimsLink
      Get the class of the true, full LIMS entity this object links to.
      Specified by:
      getEntityClass in interface LimsLink<ClarityFile>
      Returns:
      The real object class.
    • getUri

      public URI getUri()
      Description copied from interface: LimsLink
      Get the URI of the object we are linking to.
      Specified by:
      getUri in interface LimsLink<ClarityFile>
      Specified by:
      getUri in interface Locatable
      Returns:
      The URI.
    • setUri

      public void setUri(URI uri)
      Description copied from interface: Locatable
      Set the URI of this object.
      Specified by:
      setUri in interface Locatable
      Parameters:
      uri - The new URI.
    • getLimsid

      public String getLimsid()
    • setLimsid

      public void setLimsid(String limsid)
    • toString

      public String toString()
      Overrides:
      toString in class Object