1 16 package org.apache.cocoon.portal.coplet; 17 18 import java.util.HashMap ; 19 import java.util.Map ; 20 21 29 public final class CopletBaseData { 30 31 private Map copletConfig = new HashMap (); 32 33 private String id; 34 35 private String copletAdapterName; 36 37 public CopletBaseData() { 38 } 40 41 public String getId() { 42 return id; 43 } 44 45 public void setId(String name) { 46 this.id = name; 47 } 48 49 public String getCopletAdapterName() { 50 return this.copletAdapterName; 51 } 52 53 public Object getCopletConfig(String key) { 54 return this.copletConfig.get(key); 55 } 56 57 public void setCopletConfig(String key, Object value) { 58 this.copletConfig.put(key, value); 59 } 60 61 public Map getCopletConfig() { 62 return this.copletConfig; 63 } 64 65 public void setCopletConfig(Map config) { 66 this.copletConfig = config; 67 } 68 69 public void setCopletAdapterName(String name) { 70 this.copletAdapterName = name; 71 } 72 } 73 | Popular Tags |