Class AbstractExternalData

    • Constructor Detail

      • AbstractExternalData

        public AbstractExternalData​(boolean isStub)
    • Method Detail

      • isAvailable

        public boolean isAvailable()
        Returns:
        true if the data set is available for viewing/editing.
      • isContainer

        public boolean isContainer()
        Returns:
        true if this is a container data set.
      • isLinkData

        public boolean isLinkData()
        Returns:
        true if this is a link data set.
      • isPlaceHolderDataSet

        public boolean isPlaceHolderDataSet()
        Returns:
        true if this is a place holder data set.
      • tryGetAsDataSet

        public PhysicalDataSet tryGetAsDataSet()
        Will return non-null values for plain non-container data sets.
      • tryGetAsContainerDataSet

        public ContainerDataSet tryGetAsContainerDataSet()
        Returns null if the data set is not a container data set, otherwise returns the container.
      • tryGetAsLinkDataSet

        public LinkDataSet tryGetAsLinkDataSet()
      • getPermlink

        public java.lang.String getPermlink()
      • setPermlink

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

        public Sample getSample()
        NOTE: may be NULL
      • setSample

        public void setSample​(Sample sample)
      • getSampleIdentifier

        public final java.lang.String getSampleIdentifier()
        NOTE: may be NULL
      • getSampleCode

        public final java.lang.String getSampleCode()
        NOTE: may be NULL
      • getSampleType

        public final SampleType getSampleType()
        NOTE: may be NULL
      • isDerived

        public final boolean isDerived()
      • setDerived

        public final void setDerived​(boolean derived)
      • getDataSetType

        public final DataSetType getDataSetType()
      • setDataSetType

        public final void setDataSetType​(DataSetType dataSetType)
      • getProductionDate

        public final java.util.Date getProductionDate()
      • setProductionDate

        public final void setProductionDate​(java.util.Date productionDate)
      • getDataProducerCode

        public final java.lang.String getDataProducerCode()
      • setDataProducerCode

        public final void setDataProducerCode​(java.lang.String producerCode)
      • getSize

        public java.lang.Long getSize()
      • setSize

        public void setSize​(java.lang.Long size)
      • setDeletion

        public final void setDeletion​(Deletion deletion)
      • getExperiment

        public final Experiment getExperiment()
      • setExperiment

        public final void setExperiment​(Experiment experiment)
      • setDataSetProperties

        public void setDataSetProperties​(java.util.List<IEntityProperty> dataSetProperties)
      • getDataStore

        public final DataStore getDataStore()
      • setDataStore

        public final void setDataStore​(DataStore dataStore)
      • 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)
      • tryGetContainer

        @Deprecated
        public ContainerDataSet tryGetContainer()
        Deprecated.
        Returns:
        the "virtual" container of this data set or null.
      • addContainer

        public void addContainer​(ContainerDataSet containerDataSet,
                                 java.lang.Integer orderInContainer)
      • getContainerDataSets

        public java.util.List<ContainerDataSet> getContainerDataSets()
      • getOrderInContainer

        public java.lang.Integer getOrderInContainer​(java.lang.Long containerDataSetTechId)
      • getOrderInContainer

        public java.lang.Integer getOrderInContainer​(java.lang.String containerDataSetCode)
      • isStorageConfirmation

        public boolean isStorageConfirmation()
      • setStorageConfirmation

        public void setStorageConfirmation​(boolean storageConfirmation)
      • setMetaprojects

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

        public java.lang.String getSourceType()
      • isStub

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

        public boolean isPostRegistered()
      • setPostRegistered

        public void setPostRegistered​(boolean isPostRegistered)
      • getAccessTimestamp

        public java.util.Date getAccessTimestamp()
      • setAccessTimestamp

        public void setAccessTimestamp​(java.util.Date accessTimestamp)
      • getSpace

        public Space getSpace()
      • getProject

        public Project getProject()