Class Lab

java.lang.Object
com.genologics.ri.lab.Lab
All Implemented Interfaces:
LimsEntity<Lab>, LimsEntityLinkable<Lab>, Linkable<Lab>, Locatable, UDFHolder, Serializable

public class Lab extends Object implements LimsEntity<Lab>, UDFHolder, Serializable
The detailed representation of a lab.
See Also:
  • Field Details

    • name

      protected String name
    • billingAddress

      protected Address billingAddress
    • shippingAddress

      protected Address shippingAddress
    • type

      protected UDT type
    • fields

      protected List<UDF> fields
    • externalIds

      protected List<ExternalId> externalIds
    • website

      protected String website
    • uri

      protected URI uri
  • Constructor Details

    • Lab

      public Lab()
    • Lab

      public Lab(URI uri)
    • Lab

      public Lab(URI uri, String name)
  • Method Details

    • getName

      public String getName()
    • setName

      public void setName(String value)
    • getBillingAddress

      public Address getBillingAddress()
    • setBillingAddress

      public void setBillingAddress(Address value)
    • getShippingAddress

      public Address getShippingAddress()
    • setShippingAddress

      public void setShippingAddress(Address value)
    • getUserDefinedType

      public UDT getUserDefinedType()
    • setUserDefinedType

      public UDT setUserDefinedType(UDT value)
    • setUserDefinedType

      public UDT setUserDefinedType(String type)
    • getUserDefinedFields

      public List<UDF> getUserDefinedFields()
      Description copied from interface: UDFHolder
      Get a list of user defined fields held by the entity.
      Specified by:
      getUserDefinedFields in interface UDFHolder
      Returns:
      A list of UDF objects. This should never return null.
    • getUserDefinedField

      @Deprecated public UDF getUserDefinedField(String name)
      Deprecated.
    • addUserDefinedField

      @Deprecated public UDF addUserDefinedField(UDF udf)
      Deprecated.
    • addUserDefinedField

      @Deprecated public UDF addUserDefinedField(String name, FieldType type, String value)
      Deprecated.
    • getExternalid

      public List<ExternalId> getExternalid()
    • getWebsite

      public String getWebsite()
    • setWebsite

      public void setWebsite(String value)
    • getUri

      public URI getUri()
      Description copied from interface: Locatable
      Get the URI of this object.
      Specified by:
      getUri in interface Locatable
      Returns:
      The URI.
    • setUri

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

      public String getLimsid()
      Description copied from interface: LimsEntityLinkable
      Get the LIMS id for this object.
      Specified by:
      getLimsid in interface LimsEntityLinkable<Lab>
      Returns:
      The LIMS id.
    • setLimsid

      public void setLimsid(String id)
      Description copied from interface: LimsEntityLinkable
      Set the LIMS id for this object.
      Specified by:
      setLimsid in interface LimsEntityLinkable<Lab>
      Parameters:
      id - The new LIMS id.
    • toString

      public String toString()
      Overrides:
      toString in class Object