1 29 30 package com.caucho.amber.cfg; 31 32 import java.util.HashMap ; 33 34 35 38 public class AssociationOverrideConfig { 39 40 private String _name; 42 43 private HashMap <String , JoinColumnConfig> _joinColumnMap 45 = new HashMap <String , JoinColumnConfig>(); 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 JoinColumnConfig getJoinColumn(String columnName) 64 { 65 return _joinColumnMap.get(columnName); 66 } 67 68 public void addJoinColumn(JoinColumnConfig joinColumn) 69 { 70 _joinColumnMap.put(joinColumn.getName(), 71 joinColumn); 72 } 73 74 public HashMap <String , JoinColumnConfig> getJoinColumnMap() 75 { 76 return _joinColumnMap; 77 } 78 } 79 | Popular Tags |