Package thredds.cataloggen
Class DatasetEnhancer1.AddId
- java.lang.Object
-
- thredds.cataloggen.DatasetEnhancer1.AddId
-
- All Implemented Interfaces:
DatasetEnhancer1.DatasetMetadataAdder
- Enclosing class:
- DatasetEnhancer1
protected static class DatasetEnhancer1.AddId extends Object implements DatasetEnhancer1.DatasetMetadataAdder
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
addMetadata(InvDataset dataset)
Attempt to add metadata to the given dataset and return true if successful.
-
-
-
Constructor Detail
-
AddId
public 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 interfaceDatasetEnhancer1.DatasetMetadataAdder
- Parameters:
dataset
- the dataset to enhance with metadata.- Returns:
- True if metadata added, otherwise false.
-
-