gov.nasa.pds.harvest.meta.FieldMap Maven / Gradle / Ivy
package gov.nasa.pds.harvest.meta;
import java.util.Collection;
import java.util.Set;
/**
* Interface for a map of multi-valued fields (metadata) extracted from PDS labels.
*
* @author karpenko
*/
public interface FieldMap
{
public void addValue(String fieldName, String value);
public void addValues(String fieldName, String[] values);
public Collection getValues(String fieldName);
public String getFirstValue(String fieldName);
public Set getNames();
public boolean isEmpty();
public int size();
public void clear();
}