1 29 30 package com.caucho.amber.cfg; 31 32 import java.util.HashMap ; 33 34 35 38 public class SecondaryTableConfig extends AbstractTableConfig { 39 40 private HashMap <String , PrimaryKeyJoinColumnConfig> _primaryKeyJoinColumnMap 42 = new HashMap <String , PrimaryKeyJoinColumnConfig>(); 43 44 public PrimaryKeyJoinColumnConfig getPrimaryKeyJoinColumn(String columnName) 45 { 46 return _primaryKeyJoinColumnMap.get(columnName); 47 } 48 49 public void addPrimaryKeyJoinColumn(PrimaryKeyJoinColumnConfig primaryKeyJoinColumn) 50 { 51 _primaryKeyJoinColumnMap.put(primaryKeyJoinColumn.getName(), 52 primaryKeyJoinColumn); 53 } 54 55 public HashMap <String , PrimaryKeyJoinColumnConfig> getPrimaryKeyJoinColumnMap() 56 { 57 return _primaryKeyJoinColumnMap; 58 } 59 } 60 | Popular Tags |