thredds.catalog
Class InvDatasetImplProxy

java.lang.Object
  extended by thredds.catalog.InvDataset
      extended by thredds.catalog.InvDatasetImpl
          extended by thredds.catalog.InvDatasetImplProxy

public class InvDatasetImplProxy
extends InvDatasetImpl

Proxy an InvDatasetImpl to another InvDatasetImpl.


Field Summary
 
Fields inherited from class thredds.catalog.InvDataset
gc, tc
 
Constructor Summary
InvDatasetImplProxy(java.lang.String aliasName, InvDatasetImpl proxy)
           
 
Method Summary
 void addAccess(InvAccess p0)
          Add InvAccess element to this dataset.
 void addDataset(InvDatasetImpl p0)
          Add a nested dataset.
 void addDocumentation(InvDocumentation p0)
          Add documentation element to this dataset.
 void addProperty(InvProperty p0)
          Add a property to this dataset
 void addService(InvService p0)
          Add a service to this dataset.
 java.lang.String dump()
          debugging info
 boolean equals(java.lang.Object p0)
          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 getAccess()
          Get all access elements for this dataset.
 InvAccess getAccess(ServiceType p0)
          Get access element of the specified service type for this dataset.
 java.util.List getAccessLocal()
          Get the non-expanded access elements.
 java.lang.String getAlias()
          Get alias for this Dataset, if it exists
 java.lang.String getAliasName()
           
 java.lang.String getAuthority()
          Get authority for this Dataset, may be null.
 CollectionType getCollectionType()
          Get collectionType
 java.util.List getContributors()
          get List of type ThreddsMetadata.Contributors
 java.util.List getCreators()
          get List of type ThreddsMetadata.Source
 DataFormatType getDataFormatType()
          Get the DataFormatType (which may be inherited from parent), or null .
 java.util.List getDatasets()
          Get a list of all the nested datasets.
 DataType getDataType()
          Get the DataType (which may be inherited from parent), or null .
 java.util.List getDates()
          get List of type DateType
 java.util.List 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, or null if none
 java.lang.String getID()
          Get the id of the dataset, or null.
 java.util.List getKeywords()
          get List of type ThreddsMetadata.Vocab
 ThreddsMetadata getLocalMetadata()
          Get the metadata stored in this dataset element.
 java.util.List getMetadata()
          Get the metadata elements for this InvDataset.
 java.util.List 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.
 InvCatalog getParentCatalog()
          Get containing catalog.
 java.util.List getProjects()
          get List of type ThreddsMetadata.Vocab
 java.util.List getProperties()
          Get all properties for this dataset.
 java.util.List getPublishers()
          get List of type ThreddsMetadata.Source
 InvService getServiceDefault()
          Find the default service for this dataset and its children.
 java.util.List getServicesLocal()
          Get services attached specifically to this dataset.
 thredds.datatype.DateRange getTimeCoverage()
          get time coverage, or null if none
 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 getUrlPath()
          Get urlPath for this Dataset
 java.lang.Object getUserProperty(java.lang.Object p0)
          User properties
 java.util.List getVariables()
          get List of type ThreddsMetadata.Variables
 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()
          Get harvest
 boolean removeDataset(InvDatasetImpl p0)
          Remove the given dataset element from this dataset if it is in the dataset.
 void removeService(InvService p0)
          Remove a service from this dataset.
 void setAlias(java.lang.String p0)
          Set alias for this Dataset
 void setAuthority(java.lang.String p0)
          Set authorityName for this Dataset
 void setCatalog(InvCatalog p0)
          Set the containing catalog; use only for top level dataset.
 void setCollectionType(CollectionType p0)
          Set collectionType
 void setContributors(java.util.ArrayList p0)
           
 void setGeospatialCoverage(ThreddsMetadata.GeospatialCoverage p0)
           
 void setHarvest(boolean p0)
          Set harvest
 void setID(java.lang.String p0)
          Set the ID for this Dataset
 void setKeywords(java.util.ArrayList p0)
           
 void setLocalMetadata(ThreddsMetadata p0)
           
 void setName(java.lang.String p0)
          Set name of this Dataset.
 void setParent(InvDatasetImpl p0)
          Set the parent dataset.
 void setProjects(java.util.ArrayList p0)
           
 void setPublishers(java.util.ArrayList p0)
           
 void setServicesLocal(java.util.ArrayList p0)
          Set the list of services attached specifically to this dataset.
 void setTimeCoverage(thredds.datatype.DateRange p0)
           
 void setUrlPath(java.lang.String p0)
          Set the urlPath for this InvDatasetImpl
 void setUserProperty(java.lang.Object p0, java.lang.Object p1)
           
 java.lang.String toString()
           
 
Methods inherited from class thredds.catalog.InvDatasetImpl
addAccess, addDataset, getCat6Metadata, getDataSize, getDocumentationLinks, getLocalMetadataInheritable, getNcmlElement, getParentReal, getServiceName, main, removeLocalMetadata, replaceDataset, resolve, setDataSize, setDataType, setNcmlElement, setResourceControl, setServiceName, transferMetadata, writeHtmlDescription
 
Methods inherited from class thredds.catalog.InvDataset
findAccess, getCatalogUrl, getHistory, getProcessing, getResourceControl, getRights, getSubsetUrl, getSummary, getVariables
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

InvDatasetImplProxy

public InvDatasetImplProxy(java.lang.String aliasName,
                           InvDatasetImpl proxy)
Method Detail

getAliasName

public java.lang.String getAliasName()

addAccess

public void addAccess(InvAccess p0)
Description copied from class: InvDatasetImpl
Add InvAccess element to this dataset.

Overrides:
addAccess in class InvDatasetImpl

addDataset

public void addDataset(InvDatasetImpl p0)
Description copied from class: InvDatasetImpl
Add a nested dataset.

Overrides:
addDataset in class InvDatasetImpl

addDocumentation

public void addDocumentation(InvDocumentation p0)
Description copied from class: InvDatasetImpl
Add documentation element to this dataset.

Overrides:
addDocumentation in class InvDatasetImpl

addProperty

public void addProperty(InvProperty p0)
Description copied from class: InvDatasetImpl
Add a property to this dataset

Overrides:
addProperty in class InvDatasetImpl

addService

public void addService(InvService p0)
Description copied from class: InvDatasetImpl
Add a service to this dataset.

Overrides:
addService in class InvDatasetImpl

dump

public java.lang.String dump()
Description copied from class: InvDatasetImpl
debugging info

Overrides:
dump in class InvDatasetImpl

equals

public boolean equals(java.lang.Object p0)
Description copied from class: InvDatasetImpl
InvDatasetImpl elements with same values are equal.

Overrides:
equals in class InvDatasetImpl

findDatasetByName

public InvDatasetImpl findDatasetByName(java.lang.String p0)
Description copied from class: InvDataset
Find an immediate child dataset by its name.

Overrides:
findDatasetByName in class InvDataset
Returns:
dataset if found or null if not exist.

findProperty

public java.lang.String findProperty(java.lang.String p0)
Description copied from class: InvDataset
Find named property. This may have been specified in the dataset or an enclosing parent element.

Overrides:
findProperty in class InvDataset
Returns:
string value of property or null if not exist.

findService

public InvService findService(java.lang.String p0)
Description copied from class: InvDataset
Find the named service declared in this dataset or one of its parents.

Overrides:
findService in class InvDataset
Returns:
first service that matches the given name, or null if none found.

finish

public boolean finish()
Description copied from class: InvDatasetImpl
Finish constructing after all elements have been added. This does the inheritence thing This can be called again if new elements are added.

Overrides:
finish in class InvDatasetImpl
Returns:
true if successful.

getAccess

public InvAccess getAccess(ServiceType p0)
Description copied from class: InvDataset
Get access element of the specified service type for this dataset. If more than one, get the first one.

Overrides:
getAccess in class InvDataset
Returns:
InvAccess or null if there is not one.

getAccess

public java.util.List getAccess()
Description copied from class: InvDataset
Get all access elements for this dataset. This list will expand any compound services.

Overrides:
getAccess in class InvDataset
Returns:
List of InvAccess objects. List may not be null, may be empty.

getAccessLocal

public java.util.List getAccessLocal()
Description copied from class: InvDatasetImpl
Get the non-expanded access elements.

Overrides:
getAccessLocal in class InvDatasetImpl

getAlias

public java.lang.String getAlias()
Description copied from class: InvDatasetImpl
Get alias for this Dataset, if it exists

Overrides:
getAlias in class InvDatasetImpl

getAuthority

public java.lang.String getAuthority()
Description copied from class: InvDataset
Get authority for this Dataset, may be null.

Overrides:
getAuthority in class InvDataset

getCollectionType

public CollectionType getCollectionType()
Description copied from class: InvDataset
Get collectionType

Overrides:
getCollectionType in class InvDataset

getContributors

public java.util.List getContributors()
Description copied from class: InvDataset
get List of type ThreddsMetadata.Contributors

Overrides:
getContributors in class InvDataset

getCreators

public java.util.List getCreators()
Description copied from class: InvDataset
get List of type ThreddsMetadata.Source

Overrides:
getCreators in class InvDataset

getDataFormatType

public DataFormatType getDataFormatType()
Description copied from class: InvDataset
Get the DataFormatType (which may be inherited from parent), or null .

Overrides:
getDataFormatType in class InvDataset

getDataType

public DataType getDataType()
Description copied from class: InvDataset
Get the DataType (which may be inherited from parent), or null .

Overrides:
getDataType in class InvDataset

getDatasets

public java.util.List getDatasets()
Description copied from class: InvDataset
Get a list of all the nested datasets.

Overrides:
getDatasets in class InvDataset
Returns:
list of objects of type InvDataset. May be empty, not null.

getDates

public java.util.List getDates()
Description copied from class: InvDataset
get List of type DateType

Overrides:
getDates in class InvDataset

getDocumentation

public java.util.List getDocumentation()
Description copied from class: InvDataset
Get list of documentation elements for this dataset.

Overrides:
getDocumentation in class InvDataset
Returns:
list of InvDocumentation objects. May be empty, not null.

getDocumentation

public java.lang.String getDocumentation(java.lang.String p0)
Description copied from class: InvDataset
get specific type of documentation

Overrides:
getDocumentation in class InvDataset

getFullName

public java.lang.String getFullName()
Description copied from class: InvDataset
Get the full, heirarchical name of the dataset, which has all parent collection names.

Overrides:
getFullName in class InvDataset

getGeospatialCoverage

public ThreddsMetadata.GeospatialCoverage getGeospatialCoverage()
Description copied from class: InvDataset
get geospatial coverage, or null if none

Overrides:
getGeospatialCoverage in class InvDataset

getID

public java.lang.String getID()
Description copied from class: InvDataset
Get the id of the dataset, or null.

Overrides:
getID in class InvDataset

getKeywords

public java.util.List getKeywords()
Description copied from class: InvDataset
get List of type ThreddsMetadata.Vocab

Overrides:
getKeywords in class InvDataset

getLocalMetadata

public ThreddsMetadata getLocalMetadata()
Description copied from class: InvDatasetImpl
Get the metadata stored in this dataset element. Inherited metadata only in an InvMetadata object.

Overrides:
getLocalMetadata in class InvDatasetImpl

getMetadata

public java.util.List getMetadata(MetadataType p0)
Description copied from class: InvDataset
Get the metadata elements of the specified type.

Overrides:
getMetadata in class InvDataset
Returns:
List of InvMetadata objects. List may be empty but not null.

getMetadata

public java.util.List getMetadata()
Description copied from class: InvDataset
Get the metadata elements for this InvDataset.

Overrides:
getMetadata in class InvDataset
Returns:
List of InvMetadata objects. List may be empty but not null.

getName

public java.lang.String getName()
Description copied from class: InvDataset
Get the "human readable" name of the dataset.

Overrides:
getName in class InvDataset

getParent

public InvDataset getParent()
Description copied from class: InvDataset
Get parent dataset.

Overrides:
getParent in class InvDataset
Returns:
parent dataset. If top dataset, return null.

getParentCatalog

public InvCatalog getParentCatalog()
Description copied from class: InvDataset
Get containing catalog.

Overrides:
getParentCatalog in class InvDataset
Returns:
containing catalog.

getProjects

public java.util.List getProjects()
Description copied from class: InvDataset
get List of type ThreddsMetadata.Vocab

Overrides:
getProjects in class InvDataset

getProperties

public java.util.List getProperties()
Description copied from class: InvDataset
Get all properties for this dataset. These may have been specified in the dataset or an enclosing parent element.

Overrides:
getProperties in class InvDataset
Returns:
List of type InvProperty. May be empty, not null.

getPublishers

public java.util.List getPublishers()
Description copied from class: InvDataset
get List of type ThreddsMetadata.Source

Overrides:
getPublishers in class InvDataset

getServiceDefault

public InvService getServiceDefault()
Description copied from class: InvDataset
Find the default service for this dataset and its children. If not declared in this dataset, search in parents. This is the default for any nested datasets or access elements.

Overrides:
getServiceDefault in class InvDataset

getServicesLocal

public java.util.List getServicesLocal()
Description copied from class: InvDatasetImpl
Get services attached specifically to this dataset.

Overrides:
getServicesLocal in class InvDatasetImpl
Returns:
List of type InvService. May be empty, but not null.

getTimeCoverage

public thredds.datatype.DateRange getTimeCoverage()
Description copied from class: InvDataset
get time coverage, or null if none

Overrides:
getTimeCoverage in class InvDataset

getUniqueID

public java.lang.String getUniqueID()
Description copied from class: InvDataset
If this dataset has an authority and an ID, then the concatenation of them is the globally unique ID.

Overrides:
getUniqueID in class InvDataset
Returns:
globally unique ID, or null if missing authority or ID.

getUrlPath

public java.lang.String getUrlPath()
Description copied from class: InvDatasetImpl
Get urlPath for this Dataset

Overrides:
getUrlPath in class InvDatasetImpl

getUserProperty

public java.lang.Object getUserProperty(java.lang.Object p0)
Description copied from class: InvDatasetImpl
User properties

Overrides:
getUserProperty in class InvDatasetImpl

getVariables

public java.util.List getVariables()
Description copied from class: InvDataset
get List of type ThreddsMetadata.Variables

Overrides:
getVariables in class InvDataset

hasAccess

public boolean hasAccess()
Description copied from class: InvDataset
If this dataset has access elements.

Overrides:
hasAccess in class InvDataset
Returns:
true if has access elements.

hasNestedDatasets

public boolean hasNestedDatasets()
Description copied from class: InvDataset
If this dataset has nested datasets.

Overrides:
hasNestedDatasets in class InvDataset
Returns:
true if has nested datasets.

hashCode

public int hashCode()
Description copied from class: InvDatasetImpl
Override Object.hashCode() to implement equals.

Overrides:
hashCode in class InvDatasetImpl

isHarvest

public boolean isHarvest()
Description copied from class: InvDataset
Get harvest

Overrides:
isHarvest in class InvDataset

removeDataset

public boolean removeDataset(InvDatasetImpl p0)
Description copied from class: InvDatasetImpl
Remove the given dataset element from this dataset if it is in the dataset.

Overrides:
removeDataset in class InvDatasetImpl
Parameters:
p0 - - the dataset element to be removed
Returns:
true if this dataset contained the given dataset element.

removeService

public void removeService(InvService p0)
Description copied from class: InvDatasetImpl
Remove a service from this dataset.

Overrides:
removeService in class InvDatasetImpl

setAlias

public void setAlias(java.lang.String p0)
Description copied from class: InvDatasetImpl
Set alias for this Dataset

Overrides:
setAlias in class InvDatasetImpl

setAuthority

public void setAuthority(java.lang.String p0)
Description copied from class: InvDatasetImpl
Set authorityName for this Dataset

Overrides:
setAuthority in class InvDatasetImpl

setCatalog

public void setCatalog(InvCatalog p0)
Description copied from class: InvDatasetImpl
Set the containing catalog; use only for top level dataset.

Overrides:
setCatalog in class InvDatasetImpl

setCollectionType

public void setCollectionType(CollectionType p0)
Description copied from class: InvDatasetImpl
Set collectionType

Overrides:
setCollectionType in class InvDatasetImpl

setContributors

public void setContributors(java.util.ArrayList p0)
Overrides:
setContributors in class InvDatasetImpl

setGeospatialCoverage

public void setGeospatialCoverage(ThreddsMetadata.GeospatialCoverage p0)
Overrides:
setGeospatialCoverage in class InvDatasetImpl

setHarvest

public void setHarvest(boolean p0)
Description copied from class: InvDatasetImpl
Set harvest

Overrides:
setHarvest in class InvDatasetImpl

setID

public void setID(java.lang.String p0)
Description copied from class: InvDatasetImpl
Set the ID for this Dataset

Overrides:
setID in class InvDatasetImpl

setKeywords

public void setKeywords(java.util.ArrayList p0)
Overrides:
setKeywords in class InvDatasetImpl

setLocalMetadata

public void setLocalMetadata(ThreddsMetadata p0)
Overrides:
setLocalMetadata in class InvDatasetImpl

setName

public void setName(java.lang.String p0)
Description copied from class: InvDatasetImpl
Set name of this Dataset.

Overrides:
setName in class InvDatasetImpl

setParent

public void setParent(InvDatasetImpl p0)
Description copied from class: InvDatasetImpl
Set the parent dataset.

Overrides:
setParent in class InvDatasetImpl

setProjects

public void setProjects(java.util.ArrayList p0)
Overrides:
setProjects in class InvDatasetImpl

setPublishers

public void setPublishers(java.util.ArrayList p0)
Overrides:
setPublishers in class InvDatasetImpl

setServicesLocal

public void setServicesLocal(java.util.ArrayList p0)
Description copied from class: InvDatasetImpl
Set the list of services attached specifically to this dataset. Discard any previous servies.

Overrides:
setServicesLocal in class InvDatasetImpl
Parameters:
p0 - list of services.

setTimeCoverage

public void setTimeCoverage(thredds.datatype.DateRange p0)
Overrides:
setTimeCoverage in class InvDatasetImpl

setUrlPath

public void setUrlPath(java.lang.String p0)
Description copied from class: InvDatasetImpl
Set the urlPath for this InvDatasetImpl

Overrides:
setUrlPath in class InvDatasetImpl

setUserProperty

public void setUserProperty(java.lang.Object p0,
                            java.lang.Object p1)
Overrides:
setUserProperty in class InvDatasetImpl

toString

public java.lang.String toString()
Overrides:
toString in class InvDatasetImpl