1 31 package org.blojsom.plugin.syndication.module; 32 33 40 public class Metadata implements Cloneable { 41 42 private String key; 43 private String value; 44 45 public Metadata() { 46 } 47 48 public String getKey() { 49 return key; 50 } 51 52 public void setKey(String key) { 53 this.key = key; 54 } 55 56 public String getValue() { 57 return value; 58 } 59 60 public void setValue(String value) { 61 this.value = value; 62 } 63 64 public Object clone() throws CloneNotSupportedException { 65 Metadata clonedMetadata = new Metadata(); 66 67 clonedMetadata.setKey(key); 68 clonedMetadata.setValue(value); 69 70 return clonedMetadata; 71 } 72 } 73 | Popular Tags |