Class ContainerDataSet
- java.lang.Object
-
- ch.systemsx.cisd.openbis.generic.shared.basic.dto.AbstractRegistrationHolder
-
- ch.systemsx.cisd.openbis.generic.shared.basic.dto.CodeWithRegistration<T>
-
- ch.systemsx.cisd.openbis.generic.shared.basic.dto.CodeWithRegistrationAndModificationDate<AbstractExternalData>
-
- ch.systemsx.cisd.openbis.generic.shared.basic.dto.AbstractExternalData
-
- ch.systemsx.cisd.openbis.generic.shared.basic.dto.ContainerDataSet
-
- All Implemented Interfaces:
IEntityPropertiesHolder
,ICodeHolder
,IDeletionProvider
,IEntityInformationHolder
,IEntityInformationHolderWithIdentifier
,IEntityInformationHolderWithPermId
,IEntityInformationHolderWithProperties
,IEntityWithDeletionInformation
,IIdAndCodeHolder
,IIdentifierHolder
,IIdHolder
,IIsStub
,IPermIdHolder
,IRegistratorAndModifierHolder
,IRegistratorHolder
,ITaggable
,java.io.Serializable
,java.lang.Comparable<AbstractExternalData>
public class ContainerDataSet extends AbstractExternalData
A virtual data set "containing" other data sets. Container data sets have no physical representation. Their sole purpose is to provide a merged view of their contents.- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class ch.systemsx.cisd.openbis.generic.shared.basic.dto.AbstractExternalData
AbstractExternalData.DataSetComponentsComparator
-
-
Constructor Summary
Constructors Constructor Description ContainerDataSet()
ContainerDataSet(boolean isStub)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.List<AbstractExternalData>
getContainedDataSets()
DataSetKind
getDataSetKind()
boolean
isContainer()
void
setContainedDataSets(java.util.List<AbstractExternalData> containedDataSets)
ContainerDataSet
tryGetAsContainerDataSet()
Returns null if the data set is not a container data set, otherwise returns the container.-
Methods inherited from class ch.systemsx.cisd.openbis.generic.shared.basic.dto.AbstractExternalData
addContainer, getAccessTimestamp, getChildren, getContainerDataSets, getDataProducerCode, getDataSetType, getDataStore, getDeletion, getEntityKind, getEntityType, getExperiment, getId, getIdentifier, getMetaprojects, getOrderInContainer, getOrderInContainer, getParents, getPermId, getPermlink, getProductionDate, getProject, getProperties, getSample, getSampleCode, getSampleIdentifier, getSampleType, getSize, getSourceType, getSpace, isAvailable, isDerived, isLinkData, isPlaceHolderDataSet, isPostRegistered, isStorageConfirmation, isStub, setAccessTimestamp, setChildren, setDataProducerCode, setDataSetProperties, setDataSetType, setDataStore, setDeletion, setDerived, setExperiment, setId, setMetaprojects, setParents, setPermlink, setPostRegistered, setProductionDate, setSample, setSize, setStorageConfirmation, tryGetAsDataSet, tryGetAsLinkDataSet, tryGetContainer
-
Methods inherited from class ch.systemsx.cisd.openbis.generic.shared.basic.dto.CodeWithRegistrationAndModificationDate
getModificationDate, getModifier, getVersion, setModificationDate, setModifier, setVersion
-
Methods inherited from class ch.systemsx.cisd.openbis.generic.shared.basic.dto.CodeWithRegistration
compareTo, getCode, setCode
-
Methods inherited from class ch.systemsx.cisd.openbis.generic.shared.basic.dto.AbstractRegistrationHolder
getRegistrationDate, getRegistrator, setRegistrationDate, setRegistrator
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface ch.systemsx.cisd.openbis.generic.shared.basic.ICodeHolder
getCode
-
Methods inherited from interface ch.systemsx.cisd.openbis.generic.shared.basic.IRegistratorHolder
getRegistrator
-
-
-
-
Method Detail
-
isContainer
public boolean isContainer()
- Overrides:
isContainer
in classAbstractExternalData
- Returns:
- true if this is a container data set.
-
tryGetAsContainerDataSet
public ContainerDataSet tryGetAsContainerDataSet()
Description copied from class:AbstractExternalData
Returns null if the data set is not a container data set, otherwise returns the container.- Overrides:
tryGetAsContainerDataSet
in classAbstractExternalData
-
getDataSetKind
public DataSetKind getDataSetKind()
- Overrides:
getDataSetKind
in classAbstractExternalData
-
getContainedDataSets
public java.util.List<AbstractExternalData> getContainedDataSets()
-
setContainedDataSets
public void setContainedDataSets(java.util.List<AbstractExternalData> containedDataSets)
-
-