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