|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectthredds.catalog.InvDataset
thredds.catalog.InvDatasetImpl
thredds.catalog.InvCatalogRef
public class InvCatalogRef
A reference to a InvCatalog. The referenced catalog is not read until getDatasets() is called. A client will see the referenced catalog as a nested dataset.
The client can also do asynchronous reading, if the InvCatalogFactory supports it, and if readAsynch() is used.
Parent relationship:
ds -> catRef -- catalog
^ top -> ds ...
ParentView relationship:
ds -> catRef -> top -> ds ...
(or) -> ds if UseProxy
for API, thredds.catalog.ui.CatalogTreeView as example to read asynchronously| Field Summary |
|---|
| Fields inherited from class thredds.catalog.InvDataset |
|---|
gc, tc |
| Constructor Summary | |
|---|---|
InvCatalogRef(InvDatasetImpl parent,
java.lang.String title,
java.lang.String href)
Constructor. |
|
| Method Summary | |
|---|---|
boolean |
equals(java.lang.Object o)
InvDatasetImpl elements with same values are equal. |
InvDatasetImpl |
findDatasetByName(java.lang.String p0)
Find an immediate child dataset by its name. |
java.lang.String |
findProperty(java.lang.String p0)
Find named property. |
InvService |
findService(java.lang.String p0)
Find the named service declared in this dataset or one of its parents. |
boolean |
finish()
Finish constructing after all elements have been added. |
java.util.List<InvAccess> |
getAccess()
Get all access elements for this dataset. |
InvAccess |
getAccess(ServiceType p0)
Get access element of the specified service type for this dataset. |
java.lang.String |
getAlias()
|
java.lang.String |
getAuthority()
Get authority for this Dataset, may be null. |
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 p0)
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 |
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 p0)
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. |
java.util.List<ThreddsMetadata.Vocab> |
getProjects()
get Projects metadata |
java.util.List<InvProperty> |
getProperties()
Get all properties for this dataset. |
InvDatasetImpl |
getProxyDataset()
This triggers a read of the referenced catalog the first time its called. |
java.util.List<ThreddsMetadata.Source> |
getPublishers()
get Publisher metadata |
InvService |
getServiceDefault()
Find the default service for this dataset and its children. |
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.net.URI |
getURI()
|
java.lang.String |
getUrlPath()
Get urlPath for this Dataset |
java.lang.Object |
getUserProperty(java.lang.Object p0)
Look up the User property having the given key |
java.util.List<ThreddsMetadata.Variables> |
getVariables()
get Variable metadata |
java.lang.String |
getXlinkHref()
|
boolean |
hasAccess()
If this dataset has access elements. |
int |
hashCode()
Override Object.hashCode() to implement equals. |
boolean |
hasNestedDatasets()
If this dataset has nested datasets. |
boolean |
isHarvest()
|
boolean |
isRead()
|
void |
readAsynch(InvCatalogFactory factory,
CatalogSetCallback caller)
Read the referenced catalog asynchronously, if the catalog factory supports it. |
void |
release()
Release resources - undo the read of the catalog. |
void |
setXlinkHref(java.lang.String href)
|
| Methods inherited from class thredds.catalog.InvDataset |
|---|
findAccess, getCatalogUrl, getHistory, getParentCatalog, getProcessing, getRestrictAccess, getRights, getSubsetUrl, getSummary, getVariables |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public InvCatalogRef(InvDatasetImpl parent,
java.lang.String title,
java.lang.String href)
parent - : parent datasettitle - : display name of collectionhref - : URL to another catalog| Method Detail |
|---|
public java.lang.String getXlinkHref()
public void setXlinkHref(java.lang.String href)
public java.net.URI getURI()
public java.util.List<InvDataset> getDatasets()
getDatasets in class InvDatasetpublic boolean isRead()
public InvDatasetImpl getProxyDataset()
public void release()
public boolean finish()
InvDatasetImpl
finish in class InvDatasetImpl
public void readAsynch(InvCatalogFactory factory,
CatalogSetCallback caller)
factory - : use this catalog factorycaller - when catalog is readCatalogSetCallbackpublic boolean equals(java.lang.Object o)
InvDatasetImpl
equals in class InvDatasetImplpublic int hashCode()
InvDatasetImpl
hashCode in class InvDatasetImplpublic InvDatasetImpl findDatasetByName(java.lang.String p0)
InvDataset
findDatasetByName in class InvDatasetp0 - match on this name
public java.lang.String findProperty(java.lang.String p0)
InvDataset
findProperty in class InvDatasetp0 - match on this name
public InvService findService(java.lang.String p0)
InvDataset
findService in class InvDatasetp0 - match this name
public InvAccess getAccess(ServiceType p0)
InvDataset
getAccess in class InvDatasetp0 - find this ServiceType
public java.util.List<InvAccess> getAccess()
InvDataset
getAccess in class InvDatasetpublic java.lang.String getAlias()
getAlias in class InvDatasetImplpublic java.lang.String getAuthority()
InvDataset
getAuthority in class InvDatasetpublic CollectionType getCollectionType()
InvDataset
getCollectionType in class InvDatasetpublic java.util.List<ThreddsMetadata.Contributor> getContributors()
InvDataset
getContributors in class InvDatasetpublic java.util.List<ThreddsMetadata.Source> getCreators()
InvDataset
getCreators in class InvDatasetpublic DataFormatType getDataFormatType()
InvDataset
getDataFormatType in class InvDatasetpublic FeatureType getDataType()
InvDataset
getDataType in class InvDatasetpublic java.util.List<DateType> getDates()
InvDataset
getDates in class InvDatasetpublic java.util.List<InvDocumentation> getDocumentation()
InvDataset
getDocumentation in class InvDatasetpublic java.lang.String getDocumentation(java.lang.String p0)
InvDataset
getDocumentation in class InvDatasetp0 - find this type of documentation
public java.lang.String getFullName()
InvDataset
getFullName in class InvDatasetpublic ThreddsMetadata.GeospatialCoverage getGeospatialCoverage()
InvDataset
getGeospatialCoverage in class InvDatasetpublic java.lang.String getID()
InvDataset
getID in class InvDatasetpublic java.util.List<ThreddsMetadata.Vocab> getKeywords()
InvDataset
getKeywords in class InvDatasetpublic java.util.List<InvMetadata> getMetadata(MetadataType p0)
InvDataset
getMetadata in class InvDatasetp0 - find this metadata type
public java.util.List<InvMetadata> getMetadata()
InvDataset
getMetadata in class InvDatasetpublic java.lang.String getName()
InvDataset
getName in class InvDatasetpublic InvDataset getParent()
InvDataset
getParent in class InvDatasetpublic java.util.List<ThreddsMetadata.Vocab> getProjects()
InvDataset
getProjects in class InvDatasetpublic java.util.List<InvProperty> getProperties()
InvDataset
getProperties in class InvDatasetpublic java.util.List<ThreddsMetadata.Source> getPublishers()
InvDataset
getPublishers in class InvDatasetpublic InvService getServiceDefault()
InvDataset
getServiceDefault in class InvDatasetpublic DateRange getTimeCoverage()
InvDataset
getTimeCoverage in class InvDatasetpublic java.lang.String getUniqueID()
InvDataset
getUniqueID in class InvDatasetpublic java.lang.String getUrlPath()
InvDatasetImpl
getUrlPath in class InvDatasetImplpublic java.lang.Object getUserProperty(java.lang.Object p0)
InvDatasetImpl
getUserProperty in class InvDatasetImplp0 - property key
public java.util.List<ThreddsMetadata.Variables> getVariables()
InvDataset
getVariables in class InvDatasetpublic boolean hasAccess()
InvDataset
hasAccess in class InvDatasetpublic boolean hasNestedDatasets()
InvDataset
hasNestedDatasets in class InvDatasetpublic boolean isHarvest()
isHarvest in class InvDataset
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||