gov.nasa.pds.registry.common.util.FieldMap Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of registry-common Show documentation
Show all versions of registry-common Show documentation
Common code used by Harvest and Registry Manager.
The newest version!
package gov.nasa.pds.registry.common.util;
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();
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy