public class MetaDataSet extends Object
| Constructor and Description |
|---|
MetaDataSet() |
| Modifier and Type | Method and Description |
|---|---|
void |
addMetaData(String name,
String key,
Object value)
Add a meta-data entry to a named meta-data object.
|
void |
addMetaDataMap(String name,
Map<String,Object> data)
Add a set of meta-data to a named meta-data object.
|
void |
addMetaDataSet(MetaDataSet metaDataSet)
Add a MetaDataSet to an existing MetaDataSet.
|
void |
addProperties(String name,
Properties props)
Add a set of properties to a MetaDataSet.
|
Properties |
convertToProperties()
Convert a MetaDataSet to a Properties object.
|
Object |
getValue(String name) |
Object |
getValue(String map,
String name) |
public void addProperties(String name, Properties props)
name - The name of the map to which the properties should be addedprops - The properties.public void addMetaData(String name, String key, Object value)
name - The name of the map to which the new meta-data should be
addedkey - The key of the meta-data to addvalue - The value of the meta-data to addpublic void addMetaDataMap(String name, Map<String,Object> data)
name - The name of the map to which the new meta-data should be
addeddata - The meta-data to addpublic void addMetaDataSet(MetaDataSet metaDataSet)
metaDataSet - The MetaDataSet to add to the existing one.public Properties convertToProperties()
Copyright © 2017 LSST. All rights reserved.