class MetadataElement implements NameValuePair, Cloneable {

  @Override
  public boolean equals(Object obj) {
    if (obj instanceof MetadataElement) { // false if obj is null
      if (((MetadataElement) obj).getKey().equals(getKey())) {
        return true;
      }
    }

    return false;
  }

  public  MetadataElement();
  public  MetadataElement(KeyValuePair kp);
  public  MetadataElement(String key, String value);

}