public class ThreddsDataset extends Object implements uk.ac.rdg.resc.ncwms.wms.Dataset
Dataset that provides access to layers read from
NetcdfDataset objects.| Modifier and Type | Method and Description |
|---|---|
String |
getCopyrightStatement()
Returns an empty string
|
String |
getDatasetPath()
Gets the path that was specified on the incoming URL
|
Exception |
getException() |
String |
getId()
Uses the
url path as the unique id. |
org.joda.time.DateTime |
getLastUpdateTime()
Returns the current time, since datasets could change at any time without
our knowledge.
|
ThreddsLayer |
getLayerById(String layerId)
Gets the
Layer with the given id. |
Set<uk.ac.rdg.resc.ncwms.wms.Layer> |
getLayers() |
String |
getMoreInfoUrl()
Returns an empty string
|
String |
getTitle() |
boolean |
isDisabled() |
boolean |
isError() |
boolean |
isLoading() |
boolean |
isReady() |
public String getId()
url path as the unique id.getId in interface uk.ac.rdg.resc.ncwms.wms.Datasetpublic String getTitle()
getTitle in interface uk.ac.rdg.resc.ncwms.wms.Datasetpublic String getDatasetPath()
public org.joda.time.DateTime getLastUpdateTime()
getLastUpdateTime in interface uk.ac.rdg.resc.ncwms.wms.DatasetThreddsServerConfig.getLastUpdateTime()public ThreddsLayer getLayerById(String layerId)
Layer with the given id. The id
is unique within the dataset, not necessarily on the whole server.getLayerById in interface uk.ac.rdg.resc.ncwms.wms.Datasetpublic Set<uk.ac.rdg.resc.ncwms.wms.Layer> getLayers()
getLayers in interface uk.ac.rdg.resc.ncwms.wms.Datasetpublic String getCopyrightStatement()
getCopyrightStatement in interface uk.ac.rdg.resc.ncwms.wms.Datasetpublic String getMoreInfoUrl()
getMoreInfoUrl in interface uk.ac.rdg.resc.ncwms.wms.Datasetpublic boolean isReady()
isReady in interface uk.ac.rdg.resc.ncwms.wms.Datasetpublic boolean isLoading()
isLoading in interface uk.ac.rdg.resc.ncwms.wms.Datasetpublic boolean isError()
isError in interface uk.ac.rdg.resc.ncwms.wms.Datasetpublic Exception getException()
getException in interface uk.ac.rdg.resc.ncwms.wms.Datasetpublic boolean isDisabled()
isDisabled in interface uk.ac.rdg.resc.ncwms.wms.DatasetCopyright © 1999-2013 UCAR/Unidata. All Rights Reserved.