Class DataSet
java.lang.Object
ch.systemsx.cisd.openbis.generic.shared.api.v1.dto.DataSet
- All Implemented Interfaces:
ICustomIdHolder<Long>,IIdHolder,Serializable
Immutable value object representing a data set.
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumstatic final classClass used to initialize a new data set instance. -
Constructor Summary
ConstructorsConstructorDescriptionDataSet(DataSet.DataSetInitializer initializer) Creates a new instance with the provided initializer -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturn the children codes.getCode()Returns the data set code;Deprecated.Returns the identifier of the Experiment to which this data set belongs.getId()Returns tech id of the data set.Return the parent codes.Return the data set registration details.inthashCode()booleanbooleanbooleanbooleanbooleanisStub()voidsetFetchOptions(DataSetFetchOptions fetchOptions) voidsetPostRegistered(boolean isInPostRegistrationQueue) voidsetStorageConfirmed(boolean storageConfirmed) toString()
-
Constructor Details
-
Method Details
-
getId
Returns tech id of the data set.- Specified by:
getIdin interfaceICustomIdHolder<Long>- Returns:
nullif there is no Id.
-
getCode
Returns the data set code; -
getExperimentIdentifier
Returns the identifier of the Experiment to which this data set belongs.- Returns:
nullif this data set belongs to a sample without experiment. If bothgetExperimentIdentifier()andgetSampleIdentifierOrNull()returnnullindicate that this data set is not completely filled with all information available. That is,getProperties(),getChildrenCodes(),getParentCodes(), andgetContainedDataSets()do not return correct results.
-
getSampleIdentifierOrNull
-
getDataSetTypeCode
-
getRegistrationDate
-
getProperties
-
getMetaprojects
- Throws:
IllegalArgumentException
-
getRetrievedConnections
-
getParentCodes
Return the parent codes. This throws an IllegalArgumentException if the parent codes were not retrieved.- Returns:
- A list of parent data set codes or an empty list if there are no parents.
- Throws:
IllegalArgumentException- Thrown if the parent codes were not retrieved from the server.
-
getChildrenCodes
Return the children codes. This throws an IllegalArgumentException if the children codes were not retrieved.- Returns:
- A list of chidlren data set codes or an empty list if there are no children.
- Throws:
IllegalArgumentException- Thrown if the children codes were not retrieved from the server.
-
getRegistrationDetails
Return the data set registration details.- Since:
- 1.11
-
isContainerDataSet
public boolean isContainerDataSet() -
getContainerOrNull
Deprecated.- Since:
- 1.20
-
getContainerDataSets
- Since:
- 1.27
-
isLinkDataSet
public boolean isLinkDataSet() -
getExternalDataSetCode
-
getExternalDataSetLink
-
getExternalDataManagementSystem
-
getContainedDataSets
-
equals
-
hashCode
public int hashCode() -
toString
-
getFetchOptions
-
isStorageConfirmed
public boolean isStorageConfirmed() -
setStorageConfirmed
public void setStorageConfirmed(boolean storageConfirmed) -
isStub
public boolean isStub() -
isPostRegistered
public boolean isPostRegistered() -
setPostRegistered
public void setPostRegistered(boolean isInPostRegistrationQueue)
-
getContainerDataSets().