1 package net.sf.mmapps.modules.config; 2 3 /*** 4 * 5 * @author Kees Jongenburger 6 * @version $Id: RelationManagerConfigurations.java,v 1.1.1.1 2004/02/06 08:44:05 keesj Exp $ 7 */ 8 public class RelationManagerConfigurations extends java.util.Vector { 9 10 /*** Creates a new instance of RelationManagerConfigurations */ 11 public RelationManagerConfigurations() { 12 } 13 14 public RelationManagerConfiguration getRelationManagerConfiguration(int index){ 15 return (RelationManagerConfiguration)get(index); 16 } 17 18 public RelationManagerConfiguration getRelationManagerConfiguration(String name){ 19 for (int x =0 ; x < size() ; x++){ 20 if (getRelationManagerConfiguration(x).getName().equals(name)){ 21 return getRelationManagerConfiguration(x); 22 } 23 } 24 return null; 25 } 26 27 }