Class Project

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

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

    • name

      protected String name
    • openDate

      protected Date openDate
    • closeDate

      protected Date closeDate
    • invoiceDate

      protected Date invoiceDate
    • researcher

      protected ResearcherLink researcher
    • type

      protected UDT type
    • fields

      protected List<UDF> fields
    • externalIds

      protected List<ExternalId> externalIds
    • files

      protected List<ClarityFile> files
    • limsid

      protected String limsid
    • uri

      protected URI uri
  • Constructor Details

    • Project

      public Project()
    • Project

      public Project(URI uri)
    • Project

      public Project(URI uri, String limsid)
  • Method Details

    • getName

      public String getName()
    • setName

      public void setName(String value)
    • getOpenDate

      public Date getOpenDate()
    • setOpenDate

      public void setOpenDate(Date openDate)
    • getCloseDate

      public Date getCloseDate()
    • setCloseDate

      public void setCloseDate(Date closeDate)
    • getInvoiceDate

      public Date getInvoiceDate()
    • setInvoiceDate

      public void setInvoiceDate(Date invoiceDate)
    • getResearcher

      public ResearcherLink getResearcher()
    • setResearcher

      public void setResearcher(Linkable<Researcher> link)
    • 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.
    • getExternalIds

      public List<ExternalId> getExternalIds()
    • getFiles

      public List<ClarityFile> getFiles()
    • addFile

      public ClarityFile addFile(ClarityFile f)
    • getLimsid

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

      public void setLimsid(String value)
      Description copied from interface: LimsEntityLinkable
      Set the LIMS id for this object.
      Specified by:
      setLimsid in interface LimsEntityLinkable<Project>
      Parameters:
      value - The new LIMS id.
    • 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.
    • toString

      public String toString()
      Overrides:
      toString in class Object