1 7 package org.jboss.ejb3.dd; 8 9 import java.util.ArrayList ; 10 import java.util.List ; 11 12 19 public class Relationships 20 { 21 22 private List ejbRelations = new ArrayList (); 23 24 public List getEjbRelations() 25 { 26 return ejbRelations; 27 } 28 29 public void setEjbRelations(List ejbRelations) 30 { 31 this.ejbRelations = ejbRelations; 32 } 33 34 public void addEjbRelation(EjbRelation ejbRelation) 35 { 36 ejbRelations.add(ejbRelation); 37 } 38 39 public String toString() 40 { 41 StringBuffer sb = new StringBuffer (100); 42 sb.append("["); 43 sb.append("ejbRelations=").append(ejbRelations); 44 sb.append("]"); 45 return sb.toString(); 46 } 47 } 48 | Popular Tags |