thredds.cataloggen
Class DatasetEnhancer1.AddId

java.lang.Object
  extended by thredds.cataloggen.DatasetEnhancer1.AddId
All Implemented Interfaces:
DatasetEnhancer1.DatasetMetadataAdder
Enclosing class:
DatasetEnhancer1

protected static class DatasetEnhancer1.AddId
extends Object
implements DatasetEnhancer1.DatasetMetadataAdder


Constructor Summary
DatasetEnhancer1.AddId(String baseId)
           
 
Method Summary
 boolean addMetadata(InvDataset dataset)
          Attempt to add metadata to the given dataset and return true if successful.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DatasetEnhancer1.AddId

public DatasetEnhancer1.AddId(String baseId)
Method Detail

addMetadata

public boolean addMetadata(InvDataset dataset)
Description copied from interface: DatasetEnhancer1.DatasetMetadataAdder
Attempt to add metadata to the given dataset and return true if successful. Return false if this DatasetMetadataAdder does not apply to the given dataset or if otherwise unsuccessful.

Specified by:
addMetadata in interface DatasetEnhancer1.DatasetMetadataAdder
Parameters:
dataset - the dataset to enhance with metadata.
Returns:
True if metadata added, otherwise false.


Copyright © 1999-2011 UCAR/Unidata. All Rights Reserved.