public void add(String name, TiffObject value, String path, String schema) {
    if (!metadata.containsKey(name)) {
      metadata.put(name, new MetadataObject());
    }
    metadata.get(name).getObjectList().add(value);
    metadata.get(name).setPath(path);
    metadata.get(name).setSchema(schema);
  }
public void add ( String name , TiffObject value , String path , String schema ) { if ( ! metadata . containsKey ( name ) ) { metadata . put ( name , new MetadataObject ( ) ) ; } metadata . get ( name ) . getObjectList ( ) . add ( value ) ; metadata . get ( name ) . setPath ( path ) ; metadata . get ( name ) . setSchema ( schema ) ; }
Adds a metadata value to the dictionary.

@param name the name
@param value the value