@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 |
DatasetHash |
static java.lang.String |
DatasetRoots |
static java.lang.String |
Datasets |
static java.lang.String |
DataSize |
static java.lang.String |
Dates |
static java.lang.String |
Documentation |
static java.lang.String |
Expires |
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 java.lang.String |
MetadataOther |
static java.lang.String |
Ncml |
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 |
Services |
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 |
VariableMapLink |
static java.lang.String |
Version |
flds, name, parent
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) |
Dataset(java.lang.String urlPath,
java.lang.String featureType,
java.lang.String dataFormatS,
java.lang.String serviceType)
Construct an Dataset which refers to a urlPath.
|
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.util.List<ThreddsMetadata.Vocab> |
getKeywords() |
DateType |
getLastModifiedDate() |
java.lang.Object |
getLocalField(java.lang.String fldName) |
java.util.List |
getLocalFieldAsList(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 |
isDatasetScan() |
boolean |
isHarvest() |
findDatasetByName, getDatasets, getFlds, getName, getParent, getParentCatalog, getParentDataset, hasNestedDatasets
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 DatasetHash
public static final java.lang.String DatasetRoots
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 Expires
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 java.lang.String MetadataOther
public static final java.lang.String Ncml
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 Services
public static final java.lang.String ThreddsMetadataInheritable
public static final java.lang.String TimeCoverage
public static final java.lang.String VariableGroups
public static final java.lang.String VariableMapLink
public static final java.lang.String Version
public static final java.lang.String UrlPath
public static final java.lang.String UseRemoteCatalogService
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 Dataset(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
- : ServiceTypepublic java.util.List<Access> getAccess()
public Access getAccess(ServiceType type)
public boolean hasAccess()
public Access findAccess(java.lang.String accessURL)
accessURL
- find theis access URL stringpublic java.lang.String getCatalogUrl()
public java.lang.String getCollectionType()
public boolean isDatasetScan()
public boolean isHarvest()
public java.lang.String getId()
public java.lang.String getID()
public java.lang.String getUrlPath()
public org.jdom2.Element getNcmlElement()
public java.lang.Object getLocalField(java.lang.String fldName)
getLocalField
in interface ThreddsMetadataContainer
public java.lang.String getAuthority()
public java.lang.String getDataFormatName()
public DataFormatType getDataFormatType()
public long getDataSize()
public boolean hasDataSize()
public FeatureType getFeatureType()
public java.lang.String getFeatureTypeName()
public ThreddsMetadata.GeospatialCoverage getGeospatialCoverage()
public java.lang.String getServiceNameDefault()
public Service getServiceDefault()
public java.lang.String getRestrictAccess()
public DateRange getTimeCoverage()
public ThreddsMetadata.UriResolved getVariableMapLink()
public java.util.List getLocalFieldAsList(java.lang.String fldName)
getLocalFieldAsList
in interface ThreddsMetadataContainer
public java.util.List<ThreddsMetadata.Source> getCreators()
public java.util.List<ThreddsMetadata.Contributor> getContributors()
public java.util.List<DateType> getDates()
public java.util.List<Documentation> getDocumentation()
public java.util.List<ThreddsMetadata.Vocab> getKeywords()
public java.util.List<ThreddsMetadata.MetadataOther> getMetadataOther()
public java.util.List<ThreddsMetadata.MetadataOther> getMetadata(java.lang.String want)
public java.util.List<ThreddsMetadata.Vocab> getProjects()
public java.util.List<Property> getProperties()
public java.lang.String findProperty(java.lang.String name)
public java.util.List<ThreddsMetadata.Source> getPublishers()
public java.util.List<ThreddsMetadata.VariableGroup> getVariables()
public java.lang.String getDocumentation(java.lang.String type)
public java.lang.String getHistory()
public java.lang.String getProcessing()
public java.lang.String getRights()
public java.lang.String getSummary()
public DateType getLastModifiedDate()