|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectthredds.catalog.InvDataset
public abstract class InvDataset
Public interface to a thredds dataset, basic abstraction for data.
Field Summary | |
---|---|
protected List<InvAccess> |
access
|
protected String |
authorityName
|
protected InvCatalog |
catalog
|
protected CollectionType |
collectionType
|
protected List<ThreddsMetadata.Contributor> |
contributors
|
protected List<ThreddsMetadata.Source> |
creators
|
protected DataFormatType |
dataFormatType
|
protected List<InvDataset> |
datasets
|
protected FeatureType |
dataType
|
protected List<DateType> |
dates
|
protected InvService |
defaultService
|
protected List<InvDocumentation> |
docs
|
ThreddsMetadata.GeospatialCoverage |
gc
|
protected boolean |
harvest
|
protected String |
id
|
protected List<ThreddsMetadata.Vocab> |
keywords
|
protected List<InvMetadata> |
metadata
|
protected String |
name
|
protected InvDataset |
parent
|
protected List<ThreddsMetadata.Vocab> |
projects
|
protected List<InvProperty> |
properties
|
protected List<ThreddsMetadata.Source> |
publishers
|
protected String |
restrictAccess
|
protected List<InvService> |
services
|
DateRange |
tc
|
protected List<ThreddsMetadata.Variables> |
variables
|
Constructor Summary | |
---|---|
protected |
InvDataset(InvDataset parent,
String name)
|
Method Summary | |
---|---|
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. |
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. |
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()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected InvCatalog catalog
protected InvDataset parent
protected String name
protected String id
protected List<InvDataset> datasets
protected boolean harvest
protected CollectionType collectionType
protected List<InvAccess> access
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<DateType> dates
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
Constructor Detail |
---|
protected InvDataset(InvDataset parent, String name)
Method Detail |
---|
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 ServiceType
public InvAccess findAccess(String accessURL)
accessURL
- find theis access URL string
public String getSubsetUrl()
public boolean hasNestedDatasets()
public List<InvDataset> getDatasets()
public InvDatasetImpl findDatasetByName(String name)
name
- match on this name
public 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 name
public List<InvMetadata> getMetadata()
public List<InvMetadata> getMetadata(MetadataType want)
want
- find this metadata type
public InvService findService(String name)
name
- match this name
public 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 ThreddsMetadata.Variables getVariables(String vocab)
vocab
- look for this vocabulary
public ThreddsMetadata.GeospatialCoverage getGeospatialCoverage()
public DateRange getTimeCoverage()
public String getDocumentation(String type)
type
- find this type of documentation
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |