Class DataSetUpdatable

    • Field Detail

      • service

        protected final ch.systemsx.cisd.openbis.dss.generic.shared.IEncapsulatedBasicOpenBISService service
    • Constructor Detail

      • DataSetUpdatable

        public DataSetUpdatable​(ch.systemsx.cisd.openbis.generic.shared.basic.dto.AbstractExternalData dataSet,
                                ch.systemsx.cisd.openbis.dss.generic.shared.IEncapsulatedBasicOpenBISService service)
    • Method Detail

      • setExperiment

        public void setExperiment​(IExperimentImmutable experiment)
        Description copied from interface: IDataSetUpdatable
        Set the experiment for this data set. The experiment may also be set by setting the sample.
        Specified by:
        setExperiment in interface IDataSetUpdatable
        Parameters:
        experiment - The experiment for this data set. Need not actually be immutable, but the immutable one is the supertype.
      • setSample

        public void setSample​(ISampleImmutable sampleOrNull)
        Description copied from interface: IDataSetUpdatable
        Set the sample for this data set. Will also set the experiment, since the sample must have an experiment.
        Specified by:
        setSample in interface IDataSetUpdatable
        Parameters:
        sampleOrNull - The sample to use. Need not actually be immutable, but the immutable one is the supertype.
      • setFileFormatType

        public void setFileFormatType​(java.lang.String fileFormatTypeCode)
        Description copied from interface: IDataSetUpdatable
        Set the file format type.

        This property is undefined for container data sets.

        Specified by:
        setFileFormatType in interface IDataSetUpdatable
        Parameters:
        fileFormatTypeCode - The code of the desired FileFormatType.
      • setPropertyValue

        public void setPropertyValue​(java.lang.String propertyCode,
                                     java.lang.String propertyValue)
        Description copied from interface: IDataSetUpdatable
        Set the value for a property.
        Specified by:
        setPropertyValue in interface IDataSetUpdatable
      • setParentDatasets

        public void setParentDatasets​(java.util.List<java.lang.String> parentDataSetCodes)
        Description copied from interface: IDataSetUpdatable
        Sets the parents of the dataset.
        Specified by:
        setParentDatasets in interface IDataSetUpdatable
      • setContainedDataSetCodes

        public void setContainedDataSetCodes​(java.util.List<java.lang.String> containedDataSetCodes)
        Description copied from interface: IDataSetUpdatable
        Set the codes for contained data sets.
        Specified by:
        setContainedDataSetCodes in interface IDataSetUpdatable
      • getExternalData

        public ch.systemsx.cisd.openbis.generic.shared.basic.dto.AbstractExternalData getExternalData()
        Only visible to internal implementation classes. Not part of the public interface.
      • getUpdates

        public ch.systemsx.cisd.openbis.generic.shared.dto.DataSetBatchUpdatesDTO getUpdates()
      • setExternalCode

        public void setExternalCode​(java.lang.String externalCode)
        Description copied from interface: IDataSetUpdatable
        Set the code from the external data management system
        Specified by:
        setExternalCode in interface IDataSetUpdatable
      • getDataSetTypeWithPropertyTypes

        protected DataSetType getDataSetTypeWithPropertyTypes​(java.lang.String dataSetTypeCode)