Class NewDataSetDTOBuilder
- java.lang.Object
-
- ch.systemsx.cisd.openbis.dss.generic.shared.api.v1.NewDataSetDTOBuilder
-
public class NewDataSetDTOBuilder extends java.lang.ObjectA mutable object for building NewDataSetDTO objects.
-
-
Constructor Summary
Constructors Constructor Description NewDataSetDTOBuilder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description NewDataSetDTOasNewDataSetDTO()Convert the builder into a NewDataSetDTO object.NewDataSetMetadataDTOgetDataSetMetadata()The metadata data for the data set, including type and properties.NewDataSetDTO.DataSetOwnergetDataSetOwner()The owner may be null during construction but is non-null in a well-formed object.java.lang.StringgetDataSetOwnerIdentifier()The owner identifier may be and empty during construction but is non-null in a well-formed object.NewDataSetDTO.DataSetOwnerTypegetDataSetOwnerType()The owner type should never be null.java.io.FilegetFile()The file that contains the data set.java.util.List<FileInfoDssDTO>getFileInfos()voidinitializeFromTemplate(NewDataSetDTOBuilder template)Take over any appropriate values from the template.voidsetDataSetOwnerIdentifier(java.lang.String dataSetOwnerIdentifier)voidsetDataSetOwnerType(NewDataSetDTO.DataSetOwnerType dataSetOwnerType)voidsetFile(java.io.File file)Set the file that contains the data set.
-
-
-
Method Detail
-
getDataSetOwnerIdentifier
public java.lang.String getDataSetOwnerIdentifier()
The owner identifier may be and empty during construction but is non-null in a well-formed object.
-
setDataSetOwnerIdentifier
public void setDataSetOwnerIdentifier(java.lang.String dataSetOwnerIdentifier)
-
getDataSetOwnerType
public NewDataSetDTO.DataSetOwnerType getDataSetOwnerType()
The owner type should never be null.
-
setDataSetOwnerType
public void setDataSetOwnerType(NewDataSetDTO.DataSetOwnerType dataSetOwnerType)
-
getDataSetOwner
public NewDataSetDTO.DataSetOwner getDataSetOwner()
The owner may be null during construction but is non-null in a well-formed object.
-
getDataSetMetadata
public NewDataSetMetadataDTO getDataSetMetadata()
The metadata data for the data set, including type and properties.
-
getFile
public java.io.File getFile()
The file that contains the data set. May be null during initialization but should be non-null in a well-formed data set.
-
setFile
public void setFile(java.io.File file)
Set the file that contains the data set.
-
getFileInfos
public java.util.List<FileInfoDssDTO> getFileInfos()
-
asNewDataSetDTO
public NewDataSetDTO asNewDataSetDTO()
Convert the builder into a NewDataSetDTO object.
-
initializeFromTemplate
public void initializeFromTemplate(NewDataSetDTOBuilder template)
Take over any appropriate values from the template.
-
-