public abstract class InvDataset extends Object
Modifier | Constructor and Description |
---|---|
protected |
InvDataset(InvDataset parent,
String name) |
Modifier and Type | Method and Description |
---|---|
InvAccess |
findAccess(String accessURL)
Get access element that matches the given access standard URL.
|
InvDatasetImpl |
findDatasetByName(String name)
Find an immediate child dataset by its name.
|
String |
findProperty(String name)
Find named property.
|
InvService |
findService(String name)
Find the named service declared in this dataset or one of its parents.
|
List<InvAccess> |
getAccess()
Get all access elements for this dataset.
|
InvAccess |
getAccess(ServiceType type)
Get access element of the specified service type for this dataset.
|
String |
getAuthority()
Get authority for this Dataset, may be null.
|
CalendarDateRange |
getCalendarDateCoverage()
get time coverage as CalendarDateRange
|
String |
getCatalogUrl()
Get URL to this dataset.
|
CollectionType |
getCollectionType()
Get collectionType
|
List<ThreddsMetadata.Contributor> |
getContributors()
get Contributor metadata
|
List<ThreddsMetadata.Source> |
getCreators()
get any Creator metadata
|
DataFormatType |
getDataFormatType()
Get the DataFormatType (which may be inherited from parent), or null .
|
List<InvDataset> |
getDatasets()
Get a list of all the nested datasets.
|
FeatureType |
getDataType()
Get the DataType (which may be inherited from parent), or null .
|
List<DateType> |
getDates()
get any DateType metadata
|
List<InvDocumentation> |
getDocumentation()
Get list of documentation elements for this dataset.
|
String |
getDocumentation(String type)
get specific type of documentation
|
String |
getFullName()
Get the full, heirarchical name of the dataset, which has all parent collection names.
|
ThreddsMetadata.GeospatialCoverage |
getGeospatialCoverage()
get geospatial coverage
|
String |
getHistory()
get specific type of documentation = history
|
String |
getID()
Get the id of the dataset, or null.
|
List<ThreddsMetadata.Vocab> |
getKeywords()
get any Keyword metadata
|
List<InvMetadata> |
getMetadata()
Get the metadata elements for this InvDataset.
|
List<InvMetadata> |
getMetadata(MetadataType want)
Get the metadata elements of the specified type.
|
String |
getName()
Get the "human readable" name of the dataset.
|
InvDataset |
getParent()
Get parent dataset.
|
InvCatalog |
getParentCatalog()
Get containing catalog.
|
String |
getProcessing()
get specific type of documentation = processing_level
|
List<ThreddsMetadata.Vocab> |
getProjects()
get Projects metadata
|
List<InvProperty> |
getProperties()
Get all properties for this dataset.
|
List<ThreddsMetadata.Source> |
getPublishers()
get Publisher metadata
|
String |
getRestrictAccess()
Return the resource control value which indicates that only users with
proper permission can access this resource.
|
String |
getRights()
get specific type of documentation = rights
|
InvService |
getServiceDefault()
Find the default service for this dataset and its children.
|
String |
getSubsetUrl()
Return the query fragment referencing this dataset, ie "catalog=catalog.xml&dataset=datasetID"
|
String |
getSummary()
get specific type of documentation = summary
|
DateRange |
getTimeCoverage()
get time coverage
|
String |
getUniqueID()
If this dataset has an authority and an ID, then the concatenation of them is the
globally unique ID.
|
String |
getVariableMapLink() |
List<ThreddsMetadata.Variables> |
getVariables()
get Variable metadata
|
ThreddsMetadata.Variables |
getVariables(String vocab)
get Variables from the specified vocabulary
|
boolean |
hasAccess()
If this dataset has access elements.
|
boolean |
hasNestedDatasets()
If this dataset has nested datasets.
|
boolean |
isHarvest() |
protected InvCatalog catalog
protected InvDataset parent
protected String name
protected String id
protected List<InvDataset> datasets
protected boolean harvest
protected CollectionType collectionType
protected List<InvService> services
protected String authorityName
protected FeatureType dataType
protected InvService defaultService
protected DataFormatType dataFormatType
protected String restrictAccess
protected List<InvDocumentation> docs
protected List<InvMetadata> metadata
protected List<InvProperty> properties
protected List<ThreddsMetadata.Source> creators
protected List<ThreddsMetadata.Contributor> contributors
protected List<ThreddsMetadata.Vocab> keywords
protected List<ThreddsMetadata.Vocab> projects
protected List<ThreddsMetadata.Source> publishers
protected List<ThreddsMetadata.Variables> variables
public ThreddsMetadata.GeospatialCoverage gc
public DateRange tc
protected String variableMapLink
protected InvDataset(InvDataset parent, String name)
public String getName()
public String getFullName()
public CollectionType getCollectionType()
public boolean isHarvest()
public String getID()
public String getUniqueID()
public String getAuthority()
public FeatureType getDataType()
public DataFormatType getDataFormatType()
public boolean hasAccess()
public List<InvAccess> getAccess()
public InvAccess getAccess(ServiceType type)
type
- find this ServiceTypepublic InvAccess findAccess(String accessURL)
accessURL
- find theis access URL stringpublic String getSubsetUrl()
public boolean hasNestedDatasets()
public List<InvDataset> getDatasets()
public InvDatasetImpl findDatasetByName(String name)
name
- match on this namepublic InvDataset getParent()
public InvCatalog getParentCatalog()
public String getCatalogUrl()
public List<InvDocumentation> getDocumentation()
public List<InvProperty> getProperties()
public String findProperty(String name)
name
- match on this namepublic List<InvMetadata> getMetadata()
public List<InvMetadata> getMetadata(MetadataType want)
want
- find this metadata typepublic InvService findService(String name)
name
- match this namepublic InvService getServiceDefault()
public String getRestrictAccess()
public List<ThreddsMetadata.Source> getCreators()
public List<ThreddsMetadata.Contributor> getContributors()
public List<DateType> getDates()
public List<ThreddsMetadata.Vocab> getKeywords()
public List<ThreddsMetadata.Vocab> getProjects()
public List<ThreddsMetadata.Source> getPublishers()
public String getHistory()
public String getProcessing()
public String getRights()
public String getSummary()
public List<ThreddsMetadata.Variables> getVariables()
public String getVariableMapLink()
public ThreddsMetadata.Variables getVariables(String vocab)
vocab
- look for this vocabularypublic ThreddsMetadata.GeospatialCoverage getGeospatialCoverage()
public CalendarDateRange getCalendarDateCoverage()
public DateRange getTimeCoverage()
Copyright © 1999–2019 UCAR/Unidata. All rights reserved.