Class Sample

    • Field Detail

      • EMPTY_ARRAY

        public static final Sample[] EMPTY_ARRAY
    • Constructor Detail

      • Sample

        public Sample()
      • Sample

        public Sample​(boolean isStub)
    • Method Detail

      • getSubCode

        public java.lang.String getSubCode()
      • setSubCode

        public void setSubCode​(java.lang.String subCode)
      • getPermlink

        public java.lang.String getPermlink()
      • setPermlink

        public void setPermlink​(java.lang.String permlink)
      • getSearchlink

        public java.lang.String getSearchlink()
      • setSearchlink

        public void setSearchlink​(java.lang.String searchlink)
      • getSampleType

        public SampleType getSampleType()
      • setSampleType

        public void setSampleType​(SampleType sampleType)
      • setSpace

        public void setSpace​(Space space)
      • getSpace

        public Space getSpace()
        can be null
      • setDatabaseInstance

        public void setDatabaseInstance​(DatabaseInstance databaseInstance)
      • setIdentifier

        public void setIdentifier​(java.lang.String sampleIdentifer)
      • getContainer

        public Sample getContainer()
      • setContainer

        public void setContainer​(Sample container)
      • getParents

        public java.util.Set<Sample> getParents()
      • setParents

        public void setParents​(java.util.Set<Sample> parents)
      • addParent

        public void addParent​(Sample parent)
      • tryGetContainedSamples

        public java.util.List<Sample> tryGetContainedSamples()
      • setContainedSample

        public void setContainedSample​(java.util.List<Sample> containedSamples)
      • getGeneratedFrom

        public Sample getGeneratedFrom()
      • setGeneratedFrom

        public void setGeneratedFrom​(Sample generatedFrom)
      • setProperties

        public void setProperties​(java.util.List<IEntityProperty> properties)
      • setDeletion

        public final void setDeletion​(Deletion deletion)
      • getExperiment

        public final Experiment getExperiment()
      • setExperiment

        public final void setExperiment​(Experiment experiment)
      • getProject

        public final Project getProject()
      • setProject

        public final void setProject​(Project project)
      • getId

        public java.lang.Long getId()
        Description copied from interface: IIdHolder
        Returns the technical ID of this instance.
        Specified by:
        getId in interface IIdHolder
        Returns:
        null if there is no Id.
      • setId

        public void setId​(java.lang.Long id)
      • setAttachments

        public void setAttachments​(java.util.List<Attachment> attachments)
      • getAttachments

        public java.util.List<Attachment> getAttachments()
      • setPermId

        public void setPermId​(java.lang.String permId)
      • isStub

        public boolean isStub()
        Specified by:
        isStub in interface IIsStub
      • setMetaprojects

        public void setMetaprojects​(java.util.Collection<Metaproject> metaprojects)
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • equals

        public boolean equals​(java.lang.Object obj)
        Overrides:
        equals in class java.lang.Object