Class DatasetLocationNode
- java.lang.Object
-
- ch.systemsx.cisd.openbis.generic.shared.basic.dto.DatasetLocationNode
-
- All Implemented Interfaces:
IDatasetLocationNode
,java.io.Serializable
public class DatasetLocationNode extends java.lang.Object implements IDatasetLocationNode, java.io.Serializable
Simple implementation ofIDatasetLocationNode
.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description DatasetLocationNode(IDatasetLocation location)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addContained(IDatasetLocationNode node)
java.util.Collection<IDatasetLocationNode>
getComponents()
Returns a collection of component locations.IDatasetLocation
getLocation()
Returns the data set location.boolean
isContainer()
Returns true if the data set is a container.
-
-
-
Constructor Detail
-
DatasetLocationNode
public DatasetLocationNode(IDatasetLocation location)
-
-
Method Detail
-
getLocation
public IDatasetLocation getLocation()
Description copied from interface:IDatasetLocationNode
Returns the data set location. Never returns null.- Specified by:
getLocation
in interfaceIDatasetLocationNode
-
isContainer
public boolean isContainer()
Description copied from interface:IDatasetLocationNode
Returns true if the data set is a container.- Specified by:
isContainer
in interfaceIDatasetLocationNode
-
getComponents
public java.util.Collection<IDatasetLocationNode> getComponents()
Description copied from interface:IDatasetLocationNode
Returns a collection of component locations. For a data set that is not a container always returns an empty collection. Never returns null.- Specified by:
getComponents
in interfaceIDatasetLocationNode
-
addContained
public void addContained(IDatasetLocationNode node)
-
-