public class InvCatalogRef extends InvDatasetImpl
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 asynchronouslylog, mark, ncmlElement, tm, tmi, tmi6access, authorityName, catalog, collectionType, contributors, creators, dataFormatType, datasets, dataType, dates, defaultService, docs, gc, harvest, id, keywords, metadata, name, parent, projects, properties, publishers, restrictAccess, services, tc, variableMapLink, variables| Constructor and Description |
|---|
InvCatalogRef(InvDatasetImpl parent,
String title,
String href)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o)
InvDatasetImpl elements with same values are equal.
|
InvDatasetImpl |
findDatasetByName(String p0)
Find an immediate child dataset by its name.
|
String |
findProperty(String p0)
Find named property.
|
InvService |
findService(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.
|
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.
|
String |
getAlias() |
String |
getAuthority()
Get authority for this Dataset, may be null.
|
CalendarDateRange |
getCalendarDateCoverage()
get time coverage as CalendarDateRange
|
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 p0)
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 |
getID()
Get the id of the dataset, or null.
|
List<ThreddsMetadata.Vocab> |
getKeywords()
get any Keyword metadata
|
protected boolean |
getMark()
Filtering
|
List<InvMetadata> |
getMetadata()
Get the metadata elements for this InvDataset.
|
List<InvMetadata> |
getMetadata(MetadataType p0)
Get the metadata elements of the specified type.
|
String |
getName()
Get the "human readable" name of the dataset.
|
InvDataset |
getParent()
Get parent dataset.
|
List<ThreddsMetadata.Vocab> |
getProjects()
get Projects metadata
|
List<InvProperty> |
getProperties()
Get all properties for this dataset.
|
InvDatasetImpl |
getProxyDataset()
This triggers a read of the referenced catalog the first time its called.
|
List<ThreddsMetadata.Source> |
getPublishers()
get Publisher metadata
|
InvService |
getServiceDefault()
Find the default service for this dataset and its children.
|
String |
getUniqueID()
If this dataset has an authority and an ID, then the concatenation of them is the
globally unique ID.
|
URI |
getURI() |
String |
getUrlPath()
Get urlPath for this Dataset
|
Object |
getUserProperty(Object p0)
Look up the User property having the given key
|
String |
getVariableMapLink() |
List<ThreddsMetadata.Variables> |
getVariables()
get Variable metadata
|
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(String href) |
addAccess, addAccess, addDataset, addDataset, addDocumentation, addProperty, addService, canonicalize, dump, getAccessLocal, getDataSize, getLastModifiedDate, getLocalMetadata, getLocalMetadataInheritable, getNcmlElement, getParentReal, getServiceName, getServicesLocal, main, removeDataset, removeLocalMetadata, removeService, replaceDataset, resolve, setAlias, setAuthority, setCatalog, setCollectionType, setContributors, setDataFormatType, setDataSize, setDataType, setGeospatialCoverage, setHarvest, setID, setKeywords, setLastModifiedDate, setLastModifiedDate, setLocalMetadata, setMark, setName, setNcmlElement, setParent, setProjects, setPublishers, setResourceControl, setServiceName, setServicesLocal, setTimeCoverage, setTimeCoverage, setUrlPath, setUserProperty, toString, transferMetadata, writeHtmlDescription, writeHtmlDescriptionfindAccess, getCatalogUrl, getHistory, getParentCatalog, getProcessing, getRestrictAccess, getRights, getSubsetUrl, getSummary, getTimeCoverage, getVariablespublic InvCatalogRef(InvDatasetImpl parent, String title, String href)
parent - : parent datasettitle - : display name of collectionhref - : URL to another catalogpublic String getXlinkHref()
public void setXlinkHref(String href)
public URI getURI()
public List<InvDataset> getDatasets()
getDatasets in class InvDatasetpublic boolean isRead()
public InvDatasetImpl getProxyDataset()
public void release()
public boolean finish()
InvDatasetImplfinish in class InvDatasetImplpublic void readAsynch(InvCatalogFactory factory, CatalogSetCallback caller)
factory - : use this catalog factorycaller - when catalog is readCatalogSetCallbackpublic boolean equals(Object o)
InvDatasetImplequals in class InvDatasetImplpublic int hashCode()
InvDatasetImplhashCode in class InvDatasetImplpublic InvDatasetImpl findDatasetByName(String p0)
InvDatasetfindDatasetByName in class InvDatasetp0 - match on this namepublic String findProperty(String p0)
InvDatasetfindProperty in class InvDatasetp0 - match on this namepublic InvService findService(String p0)
InvDatasetfindService in class InvDatasetp0 - match this namepublic InvAccess getAccess(ServiceType p0)
InvDatasetgetAccess in class InvDatasetp0 - find this ServiceTypepublic List<InvAccess> getAccess()
InvDatasetgetAccess in class InvDatasetpublic String getAlias()
getAlias in class InvDatasetImplpublic String getAuthority()
InvDatasetgetAuthority in class InvDatasetpublic CollectionType getCollectionType()
InvDatasetgetCollectionType in class InvDatasetpublic List<ThreddsMetadata.Contributor> getContributors()
InvDatasetgetContributors in class InvDatasetpublic List<ThreddsMetadata.Source> getCreators()
InvDatasetgetCreators in class InvDatasetpublic DataFormatType getDataFormatType()
InvDatasetgetDataFormatType in class InvDatasetpublic FeatureType getDataType()
InvDatasetgetDataType in class InvDatasetpublic List<DateType> getDates()
InvDatasetgetDates in class InvDatasetpublic List<InvDocumentation> getDocumentation()
InvDatasetgetDocumentation in class InvDatasetpublic String getDocumentation(String p0)
InvDatasetgetDocumentation in class InvDatasetp0 - find this type of documentationpublic String getFullName()
InvDatasetgetFullName in class InvDatasetpublic ThreddsMetadata.GeospatialCoverage getGeospatialCoverage()
InvDatasetgetGeospatialCoverage in class InvDatasetpublic String getID()
InvDatasetgetID in class InvDatasetpublic List<ThreddsMetadata.Vocab> getKeywords()
InvDatasetgetKeywords in class InvDatasetprotected boolean getMark()
InvDatasetImplgetMark in class InvDatasetImplpublic List<InvMetadata> getMetadata(MetadataType p0)
InvDatasetgetMetadata in class InvDatasetp0 - find this metadata typepublic List<InvMetadata> getMetadata()
InvDatasetgetMetadata in class InvDatasetpublic String getName()
InvDatasetgetName in class InvDatasetpublic InvDataset getParent()
InvDatasetgetParent in class InvDatasetpublic List<ThreddsMetadata.Vocab> getProjects()
InvDatasetgetProjects in class InvDatasetpublic List<InvProperty> getProperties()
InvDatasetgetProperties in class InvDatasetpublic List<ThreddsMetadata.Source> getPublishers()
InvDatasetgetPublishers in class InvDatasetpublic InvService getServiceDefault()
InvDatasetgetServiceDefault in class InvDatasetpublic CalendarDateRange getCalendarDateCoverage()
InvDatasetgetCalendarDateCoverage in class InvDatasetpublic String getUniqueID()
InvDatasetgetUniqueID in class InvDatasetpublic String getUrlPath()
InvDatasetImplgetUrlPath in class InvDatasetImplpublic Object getUserProperty(Object p0)
InvDatasetImplgetUserProperty in class InvDatasetImplp0 - property keypublic List<ThreddsMetadata.Variables> getVariables()
InvDatasetgetVariables in class InvDatasetpublic String getVariableMapLink()
getVariableMapLink in class InvDatasetpublic boolean hasAccess()
InvDatasethasAccess in class InvDatasetpublic boolean hasNestedDatasets()
InvDatasethasNestedDatasets in class InvDatasetpublic boolean isHarvest()
isHarvest in class InvDatasetCopyright © 1999-2013 UCAR/Unidata. All Rights Reserved.