public class InvCatalogRef extends InvDatasetImpl
Parent relationship:
ds -> catRef -- catalog
^ top -> ds ...
ParentView relationship:
ds -> catRef -> top -> ds ...
(or) -> ds if UseProxy
log, mark, ncmlElement, tm, tmiaccess, 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,
java.lang.String name,
java.lang.String href)
Constructor.
|
InvCatalogRef(InvDatasetImpl parent,
java.lang.String name,
java.lang.String href,
java.lang.Boolean useRemoteCatalogService)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
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)
Finds the first property declared in the dataset with the given name.
|
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.
|
CalendarDateRange |
getCalendarDateCoverage()
get time coverage as CalendarDateRange
|
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
|
protected boolean |
getMark()
Filtering
|
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.
|
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.lang.String |
getVariableMapLink() |
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) |
java.lang.Boolean |
useRemoteCatalogService() |
addAccess, addAccess, addDataset, addDataset, addDocumentation, addProperty, addService, canonicalize, dump, getAccessLocal, getDataSize, getLastModifiedDate, getLocalMetadata, getLocalMetadataInheritable, getNcmlElement, getParentReal, getServiceName, getServicesLocal, 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, java.lang.String name, java.lang.String href)
parent - : parent datasetname - : display name of collectionhref - : URL to another catalogpublic InvCatalogRef(InvDatasetImpl parent, java.lang.String name, java.lang.String href, java.lang.Boolean useRemoteCatalogService)
parent - : parent datasetname - : display name of collectionhref - : URL to another cataloguseRemoteCatalogService - : force catalogRef to go through the remoteCatalogServicepublic java.lang.Boolean useRemoteCatalogService()
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()
InvDatasetImplfinish in class InvDatasetImplpublic void readAsynch(InvCatalogFactory factory, CatalogSetCallback caller)
factory - : use this catalog factorycaller - when catalog is readCatalogSetCallbackpublic boolean equals(java.lang.Object o)
InvDatasetImplequals in class InvDatasetImplpublic int hashCode()
InvDatasetImplhashCode in class InvDatasetImplpublic InvDatasetImpl findDatasetByName(java.lang.String p0)
InvDatasetfindDatasetByName in class InvDatasetp0 - match on this namepublic java.lang.String findProperty(java.lang.String p0)
InvDatasetInvDataset.getProperties().
The property may have been specified in the dataset or in an enclosing parent element.
findProperty in class InvDatasetp0 - the name of the property.null if no such property exists.public InvService findService(java.lang.String p0)
InvDatasetfindService in class InvDatasetp0 - match this namepublic InvAccess getAccess(ServiceType p0)
InvDatasetgetAccess in class InvDatasetp0 - find this ServiceTypepublic java.util.List<InvAccess> getAccess()
InvDatasetgetAccess in class InvDatasetpublic java.lang.String getAlias()
getAlias in class InvDatasetImplpublic java.lang.String getAuthority()
InvDatasetgetAuthority in class InvDatasetpublic CollectionType getCollectionType()
InvDatasetgetCollectionType in class InvDatasetpublic java.util.List<ThreddsMetadata.Contributor> getContributors()
InvDatasetgetContributors in class InvDatasetpublic java.util.List<ThreddsMetadata.Source> getCreators()
InvDatasetgetCreators in class InvDatasetpublic DataFormatType getDataFormatType()
InvDatasetgetDataFormatType in class InvDatasetpublic FeatureType getDataType()
InvDatasetgetDataType in class InvDatasetpublic java.util.List<DateType> getDates()
InvDatasetgetDates in class InvDatasetpublic java.util.List<InvDocumentation> getDocumentation()
InvDatasetgetDocumentation in class InvDatasetpublic java.lang.String getDocumentation(java.lang.String p0)
InvDatasetgetDocumentation in class InvDatasetp0 - find this type of documentationpublic java.lang.String getFullName()
InvDatasetgetFullName in class InvDatasetpublic ThreddsMetadata.GeospatialCoverage getGeospatialCoverage()
InvDatasetgetGeospatialCoverage in class InvDatasetpublic java.lang.String getID()
InvDatasetgetID in class InvDatasetpublic java.util.List<ThreddsMetadata.Vocab> getKeywords()
InvDatasetgetKeywords in class InvDatasetprotected boolean getMark()
InvDatasetImplgetMark in class InvDatasetImplpublic java.util.List<InvMetadata> getMetadata(MetadataType p0)
InvDatasetgetMetadata in class InvDatasetp0 - find this metadata typepublic java.util.List<InvMetadata> getMetadata()
InvDatasetgetMetadata in class InvDatasetpublic java.lang.String getName()
InvDatasetgetName in class InvDatasetpublic InvDataset getParent()
InvDatasetgetParent in class InvDatasetpublic java.util.List<ThreddsMetadata.Vocab> getProjects()
InvDatasetgetProjects in class InvDatasetpublic java.util.List<InvProperty> getProperties()
InvDatasetgetProperties in class InvDatasetpublic java.util.List<ThreddsMetadata.Source> getPublishers()
InvDatasetgetPublishers in class InvDatasetpublic InvService getServiceDefault()
InvDatasetgetServiceDefault in class InvDatasetpublic CalendarDateRange getCalendarDateCoverage()
InvDatasetgetCalendarDateCoverage in class InvDatasetpublic java.lang.String getUniqueID()
InvDatasetgetUniqueID in class InvDatasetpublic java.lang.String getUrlPath()
InvDatasetImplgetUrlPath in class InvDatasetImplpublic java.lang.Object getUserProperty(java.lang.Object p0)
InvDatasetImplgetUserProperty in class InvDatasetImplp0 - property keypublic java.util.List<ThreddsMetadata.Variables> getVariables()
InvDatasetgetVariables in class InvDatasetpublic java.lang.String getVariableMapLink()
getVariableMapLink in class InvDatasetpublic boolean hasAccess()
InvDatasethasAccess in class InvDatasetpublic boolean hasNestedDatasets()
InvDatasethasNestedDatasets in class InvDatasetpublic boolean isHarvest()
isHarvest in class InvDataset