@Immutable public class Dataset extends DatasetNode implements ThreddsMetadataContainer
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
Access |
static java.lang.String |
Alias |
static java.lang.String |
Authority |
static java.lang.String |
CollectionType |
static java.lang.String |
Contributors |
static java.lang.String |
Creators |
static java.lang.String |
DataFormatType |
static java.lang.String |
Datasets |
static java.lang.String |
DataSize |
static java.lang.String |
Dates |
static java.lang.String |
Documentation |
static java.lang.String |
FeatureType |
static java.lang.String |
GeospatialCoverage |
static java.lang.String |
Harvest |
static java.lang.String |
Id |
static java.lang.String |
Keywords |
static com.google.common.collect.ImmutableSet<java.lang.String> |
listFlds |
static java.lang.String |
MetadataOther |
static java.lang.String |
Ncml |
static java.lang.String |
NotAThreddsDataset |
static java.lang.String |
Projects |
static java.lang.String |
Properties |
static java.lang.String |
Publishers |
static java.lang.String |
RestrictAccess |
static java.lang.String |
ServiceName |
static java.lang.String |
ThreddsMetadataInheritable |
static java.lang.String |
TimeCoverage |
static java.lang.String |
UrlPath |
static java.lang.String |
UseRemoteCatalogService |
static java.lang.String |
VariableGroups |
static java.lang.String |
VariableMapLinkURI |
Constructor and Description |
---|
Dataset(DatasetNode parent,
java.lang.String name,
java.util.Map<java.lang.String,java.lang.Object> flds,
java.util.List<AccessBuilder> accessBuilders,
java.util.List<DatasetBuilder> datasetBuilders) |
Modifier and Type | Method and Description |
---|---|
Access |
findAccess(java.lang.String accessURL)
Get access element that matches the given access standard URL.
|
java.lang.String |
findProperty(java.lang.String name) |
java.util.List<Access> |
getAccess() |
Access |
getAccess(ServiceType type) |
java.lang.String |
getAuthority() |
java.lang.String |
getCatalogUrl()
Get URL to this dataset.
|
java.lang.String |
getCollectionType() |
java.util.List<ThreddsMetadata.Contributor> |
getContributors() |
java.util.List<ThreddsMetadata.Source> |
getCreators() |
java.lang.String |
getDataFormatName() |
DataFormatType |
getDataFormatType() |
long |
getDataSize() |
java.util.List<DateType> |
getDates() |
java.util.List<Documentation> |
getDocumentation() |
java.lang.String |
getDocumentation(java.lang.String type) |
FeatureType |
getFeatureType() |
java.lang.String |
getFeatureTypeName() |
ThreddsMetadata.GeospatialCoverage |
getGeospatialCoverage() |
java.lang.String |
getHistory() |
java.lang.String |
getId() |
java.lang.String |
getID() |
java.lang.String |
getIdOrPath() |
java.util.List<ThreddsMetadata.Vocab> |
getKeywords() |
DateType |
getLastModifiedDate() |
java.lang.Object |
getLocalField(java.lang.String fldName) |
java.util.List<ThreddsMetadata.MetadataOther> |
getMetadata(java.lang.String want) |
java.util.List<ThreddsMetadata.MetadataOther> |
getMetadataOther() |
org.jdom2.Element |
getNcmlElement() |
java.lang.String |
getProcessing() |
java.util.List<ThreddsMetadata.Vocab> |
getProjects() |
java.util.List<Property> |
getProperties() |
java.util.List<ThreddsMetadata.Source> |
getPublishers() |
java.lang.String |
getRestrictAccess() |
java.lang.String |
getRights() |
Service |
getServiceDefault() |
java.lang.String |
getServiceNameDefault() |
java.lang.String |
getSummary() |
DateRange |
getTimeCoverage() |
java.lang.String |
getUrlPath() |
ThreddsMetadata.UriResolved |
getVariableMapLink() |
java.util.List<ThreddsMetadata.VariableGroup> |
getVariables() |
boolean |
hasAccess() |
boolean |
hasDataSize() |
boolean |
hasProperty(Property want) |
boolean |
hasProperty(java.lang.String name) |
boolean |
isDatasetScan() |
boolean |
isHarvest() |
static Dataset |
makeStandalone(java.lang.String urlPath,
java.lang.String featureType,
java.lang.String dataFormatS,
java.lang.String serviceType)
Construct an Dataset which refers to a urlPath.
|
findDatasetByName, get, getDatasets, getDatasetsLocal, getDatasetsLogical, getFldIterator, getLocalFieldAsList, getName, getParent, getParentCatalog, getParentDataset, hasNestedDatasets
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getLocalFieldAsList
public static final java.lang.String Access
public static final java.lang.String Alias
public static final java.lang.String Authority
public static final java.lang.String CollectionType
public static final java.lang.String Contributors
public static final java.lang.String Creators
public static final java.lang.String DataFormatType
public static final java.lang.String Datasets
public static final java.lang.String DataSize
public static final java.lang.String Dates
public static final java.lang.String Documentation
public static final java.lang.String FeatureType
public static final java.lang.String GeospatialCoverage
public static final java.lang.String Harvest
public static final java.lang.String Id
public static final java.lang.String Keywords
public static final com.google.common.collect.ImmutableSet<java.lang.String> listFlds
public static final java.lang.String MetadataOther
public static final java.lang.String Ncml
public static final java.lang.String NotAThreddsDataset
public static final java.lang.String Projects
public static final java.lang.String Properties
public static final java.lang.String Publishers
public static final java.lang.String RestrictAccess
public static final java.lang.String ServiceName
public static final java.lang.String ThreddsMetadataInheritable
public static final java.lang.String TimeCoverage
public static final java.lang.String UrlPath
public static final java.lang.String UseRemoteCatalogService
public static final java.lang.String VariableGroups
public static final java.lang.String VariableMapLinkURI
public Dataset(DatasetNode parent, java.lang.String name, java.util.Map<java.lang.String,java.lang.Object> flds, java.util.List<AccessBuilder> accessBuilders, java.util.List<DatasetBuilder> datasetBuilders)
public Access findAccess(java.lang.String accessURL)
accessURL
- find theis access URL stringpublic java.lang.String findProperty(java.lang.String name)
public java.util.List<Access> getAccess()
public Access getAccess(ServiceType type)
public java.lang.String getAuthority()
public java.lang.String getCatalogUrl()
public java.lang.String getCollectionType()
public java.util.List<ThreddsMetadata.Contributor> getContributors()
public java.util.List<ThreddsMetadata.Source> getCreators()
public java.lang.String getDataFormatName()
public DataFormatType getDataFormatType()
public long getDataSize()
public java.util.List<DateType> getDates()
public java.util.List<Documentation> getDocumentation()
public java.lang.String getDocumentation(java.lang.String type)
public FeatureType getFeatureType()
public java.lang.String getFeatureTypeName()
public ThreddsMetadata.GeospatialCoverage getGeospatialCoverage()
public java.lang.String getHistory()
public java.lang.String getId()
public java.lang.String getID()
public java.lang.String getIdOrPath()
public java.util.List<ThreddsMetadata.Vocab> getKeywords()
public DateType getLastModifiedDate()
public java.lang.Object getLocalField(java.lang.String fldName)
getLocalField
in interface ThreddsMetadataContainer
public java.util.List<ThreddsMetadata.MetadataOther> getMetadata(java.lang.String want)
public java.util.List<ThreddsMetadata.MetadataOther> getMetadataOther()
public org.jdom2.Element getNcmlElement()
public java.lang.String getProcessing()
public java.util.List<ThreddsMetadata.Vocab> getProjects()
public java.util.List<Property> getProperties()
public java.util.List<ThreddsMetadata.Source> getPublishers()
public java.lang.String getRestrictAccess()
public java.lang.String getRights()
public Service getServiceDefault()
public java.lang.String getServiceNameDefault()
public java.lang.String getSummary()
public DateRange getTimeCoverage()
public java.lang.String getUrlPath()
public ThreddsMetadata.UriResolved getVariableMapLink()
public java.util.List<ThreddsMetadata.VariableGroup> getVariables()
public boolean hasAccess()
public boolean hasDataSize()
public boolean hasProperty(Property want)
public boolean hasProperty(java.lang.String name)
public boolean isDatasetScan()
public boolean isHarvest()
public static Dataset makeStandalone(java.lang.String urlPath, java.lang.String featureType, java.lang.String dataFormatS, java.lang.String serviceType)
urlPath
- : construct URL from this pathfeatureType
- : feature typedataFormatS
- : data formatserviceType
- : ServiceType