1 29 30 package com.caucho.amber.cfg; 31 32 import java.util.HashMap ; 33 34 35 38 public class EmbeddedConfig { 39 40 private String _name; 42 43 private HashMap <String , AttributeOverrideConfig> _attributeOverrideMap 45 = new HashMap <String , AttributeOverrideConfig>(); 46 47 50 public String getName() 51 { 52 return _name; 53 } 54 55 58 public void setName(String name) 59 { 60 _name = name; 61 } 62 63 public AttributeOverrideConfig getAttributeOverride(String name) 64 { 65 return _attributeOverrideMap.get(name); 66 } 67 68 public void addAttributeOverride(AttributeOverrideConfig attributeOverride) 69 { 70 _attributeOverrideMap.put(attributeOverride.getName(), attributeOverride); 71 } 72 73 public HashMap <String , AttributeOverrideConfig> getAttributeOverrideMap() 74 { 75 return _attributeOverrideMap; 76 } 77 } 78 | Popular Tags |