public class ThreddsDataset
extends java.lang.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 |
|---|---|
java.lang.String |
getCopyrightStatement()
Returns an empty string
|
java.lang.String |
getDatasetPath()
Gets the path that was specified on the incoming URL
|
java.lang.Exception |
getException() |
java.lang.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(java.lang.String layerId)
Gets the
Layer with the given id. |
java.util.Set<uk.ac.rdg.resc.ncwms.wms.Layer> |
getLayers() |
java.lang.String |
getMoreInfoUrl()
Returns an empty string
|
java.lang.String |
getTitle() |
boolean |
isDisabled() |
boolean |
isError() |
boolean |
isLoading() |
boolean |
isReady() |
public java.lang.String getId()
url path as the unique id.getId in interface uk.ac.rdg.resc.ncwms.wms.Datasetpublic java.lang.String getTitle()
getTitle in interface uk.ac.rdg.resc.ncwms.wms.Datasetpublic java.lang.String getDatasetPath()
public org.joda.time.DateTime getLastUpdateTime()
getLastUpdateTime in interface uk.ac.rdg.resc.ncwms.wms.DatasetThreddsServerConfig.getLastUpdateTime()public ThreddsLayer getLayerById(java.lang.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 java.util.Set<uk.ac.rdg.resc.ncwms.wms.Layer> getLayers()
getLayers in interface uk.ac.rdg.resc.ncwms.wms.Datasetpublic java.lang.String getCopyrightStatement()
getCopyrightStatement in interface uk.ac.rdg.resc.ncwms.wms.Datasetpublic java.lang.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 java.lang.Exception getException()
getException in interface uk.ac.rdg.resc.ncwms.wms.Datasetpublic boolean isDisabled()
isDisabled in interface uk.ac.rdg.resc.ncwms.wms.Dataset