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