Class DataSetUpdatable
java.lang.Object
ch.systemsx.cisd.etlserver.registrator.api.v2.impl.DataSetImmutable
ch.systemsx.cisd.etlserver.registrator.api.v2.impl.DataSetUpdatable
- All Implemented Interfaces:
IDataSetUpdatable,ch.systemsx.cisd.openbis.dss.generic.shared.api.internal.v2.IDataSetImmutable,ch.systemsx.cisd.openbis.dss.generic.shared.api.internal.v2.IMetaprojectContent
A data set already existing in the openBIS database, that is changed as part of the registration process of another data set.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final ch.systemsx.cisd.openbis.dss.generic.shared.IEncapsulatedBasicOpenBISServiceFields inherited from class ch.systemsx.cisd.etlserver.registrator.api.v2.impl.DataSetImmutable
dataSet -
Constructor Summary
ConstructorsConstructorDescriptionDataSetUpdatable(DataSetImmutable dataSet) DataSetUpdatable(ch.systemsx.cisd.openbis.generic.shared.basic.dto.AbstractExternalData dataSet, ch.systemsx.cisd.openbis.dss.generic.shared.IEncapsulatedBasicOpenBISService service) -
Method Summary
Modifier and TypeMethodDescriptionprotected ch.systemsx.cisd.openbis.generic.shared.api.v1.dto.DataSetTypegetDataSetTypeWithPropertyTypes(String dataSetTypeCode) ch.systemsx.cisd.openbis.generic.shared.basic.dto.AbstractExternalDataOnly visible to internal implementation classes.ch.systemsx.cisd.openbis.generic.shared.dto.DataSetBatchUpdatesDTOvoidsetContainedDataSetCodes(List<String> containedDataSetCodes) Set the codes for contained data sets.voidsetExperiment(ch.systemsx.cisd.openbis.dss.generic.shared.api.internal.v2.IExperimentImmutable experiment) Set the experiment for this data set.voidsetExternalCode(String externalCode) Set the code from the external data management systemvoidsetExternalDataManagementSystem(ch.systemsx.cisd.openbis.dss.generic.shared.api.internal.v2.IExternalDataManagementSystemImmutable externalDataManagementSystem) Set the external data management systemvoidsetFileFormatType(String fileFormatTypeCode) Set the file format type.voidsetParentDatasets(List<String> parentDataSetCodes) Sets the parents of the dataset.voidsetPropertyValue(String propertyCode, String propertyValue) Set the value for a property.voidsetSample(ch.systemsx.cisd.openbis.dss.generic.shared.api.internal.v2.ISampleImmutable sampleOrNull) Set the sample for this data set.Methods inherited from class ch.systemsx.cisd.etlserver.registrator.api.v2.impl.DataSetImmutable
equals, getAllPropertyCodes, getChildrenDataSets, getContainedDataSetCodes, getContainerDataSet, getContainerDataSets, getDataSetCode, getDataSetKind, getDataSetType, getDataSetTypeWithPropertyTypes, getEntityId, getExperiment, getExternalCode, getExternalDataManagementSystem, getFileFormatType, getOrderInContainer, getParentDatasets, getPropertyValue, getSample, getSpeedHint, isContainedDataSet, isContainerDataSet, isLinkDataSet, isMeasuredData, isNoFileDataSet, isPostRegisteredMethods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface ch.systemsx.cisd.openbis.dss.generic.shared.api.internal.v2.IDataSetImmutable
getAllPropertyCodes, getChildrenDataSets, getContainedDataSetCodes, getContainerDataSet, getContainerDataSets, getDataSetCode, getDataSetKind, getDataSetType, getDataSetTypeWithPropertyTypes, getExperiment, getExternalCode, getExternalDataManagementSystem, getFileFormatType, getOrderInContainer, getParentDatasets, getPropertyValue, getSample, getSpeedHint, isContainedDataSet, isContainerDataSet, isLinkDataSet, isMeasuredData, isNoFileDataSet, isPostRegisteredMethods inherited from interface ch.systemsx.cisd.openbis.dss.generic.shared.api.internal.v2.IMetaprojectContent
getEntityId
-
Field Details
-
service
protected final ch.systemsx.cisd.openbis.dss.generic.shared.IEncapsulatedBasicOpenBISService service
-
-
Constructor Details
-
DataSetUpdatable
-
Method Details
-
setFileFormatType
Description copied from interface:IDataSetUpdatableSet the file format type.This property is undefined for container data sets.
- Specified by:
setFileFormatTypein interfaceIDataSetUpdatable- Parameters:
fileFormatTypeCode- The code of the desiredFileFormatType.
-
setPropertyValue
Description copied from interface:IDataSetUpdatableSet the value for a property.- Specified by:
setPropertyValuein interfaceIDataSetUpdatable
-
setParentDatasets
Description copied from interface:IDataSetUpdatableSets the parents of the dataset.- Specified by:
setParentDatasetsin interfaceIDataSetUpdatable
-
setContainedDataSetCodes
Description copied from interface:IDataSetUpdatableSet the codes for contained data sets.- Specified by:
setContainedDataSetCodesin interfaceIDataSetUpdatable
-
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
Description copied from interface:IDataSetUpdatableSet the code from the external data management system- Specified by:
setExternalCodein interfaceIDataSetUpdatable
-
getDataSetTypeWithPropertyTypes
protected ch.systemsx.cisd.openbis.generic.shared.api.v1.dto.DataSetType getDataSetTypeWithPropertyTypes(String dataSetTypeCode)