1 19 20 package za.org.coefficient.core; 21 22 import java.util.HashMap ; 23 import java.util.Map ; 24 25 29 public class CoefficientConfiguration implements java.io.Serializable { 30 31 private Long id; 32 private String forClass; 33 private Map properties = new HashMap (); 34 35 40 public void setId(Long argId) { 41 this.id = argId; 42 } 43 44 51 public Long getId() { 52 return this.id; 53 } 54 55 60 public void setForClass(String clazz) { 61 this.forClass = clazz; 62 } 63 64 71 public String getForClass() { 72 return this.forClass; 73 } 74 75 80 public void setProperties(Map argProperties) { 81 this.properties = argProperties; 82 } 83 84 100 public Map getProperties() { 101 return this.properties; 102 } 103 104 public void addProperty(String key, String value) { 105 this.properties.put(key, value); 106 } 107 108 public String getProperty(String key) { 109 return (String )this.properties.get(key); 110 } 111 } 112 | Popular Tags |