Package thredds.client.catalog
Class DatasetNode
- java.lang.Object
-
- thredds.client.catalog.DatasetNode
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
DatasetNode(DatasetNode parent, String name, Map<String,Object> flds, List<DatasetBuilder> datasetBuilders)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Dataset
findDatasetByName(String name)
Object
get(String key)
List<Dataset>
getDatasets()
Get top level datasets contained in this catalog, or if its a catref, get the datasets in the referenced catalog only if already read in.List<Dataset>
getDatasetsLocal()
Get top level datasets contained directly in this catalog.List<Dataset>
getDatasetsLogical()
Get top level datasets logically contained in this catalog.Iterable<Map.Entry<String,Object>>
getFldIterator()
List
getLocalFieldAsList(String fldName)
String
getName()
DatasetNode
getParent()
Catalog
getParentCatalog()
Dataset
getParentDataset()
boolean
hasNestedDatasets()
-
-
-
Field Detail
-
parent
protected final DatasetNode parent
-
name
protected final String name
-
-
Constructor Detail
-
DatasetNode
protected DatasetNode(DatasetNode parent, String name, Map<String,Object> flds, List<DatasetBuilder> datasetBuilders)
-
-
Method Detail
-
getParent
public DatasetNode getParent()
-
getName
public String getName()
-
getDatasetsLocal
public List<Dataset> getDatasetsLocal()
Get top level datasets contained directly in this catalog. Do not dereference catRefs.
-
getDatasets
public List<Dataset> getDatasets()
Get top level datasets contained in this catalog, or if its a catref, get the datasets in the referenced catalog only if already read in.
-
getDatasetsLogical
public List<Dataset> getDatasetsLogical()
Get top level datasets logically contained in this catalog. If this is a catalogRef, read it in.
-
hasNestedDatasets
public boolean hasNestedDatasets()
-
getParentCatalog
public Catalog getParentCatalog()
-
getParentDataset
public Dataset getParentDataset()
-
-