1 22 package org.jboss.ejb3.metamodel; 23 24 import java.util.ArrayList ; 25 import java.util.List ; 26 27 34 public class Relationships 35 { 36 37 private List ejbRelations = new ArrayList (); 38 39 public List getEjbRelations() 40 { 41 return ejbRelations; 42 } 43 44 public void setEjbRelations(List ejbRelations) 45 { 46 this.ejbRelations = ejbRelations; 47 } 48 49 public void addEjbRelation(EjbRelation ejbRelation) 50 { 51 ejbRelations.add(ejbRelation); 52 } 53 54 public String toString() 55 { 56 StringBuffer sb = new StringBuffer (100); 57 sb.append("["); 58 sb.append("ejbRelations=").append(ejbRelations); 59 sb.append("]"); 60 return sb.toString(); 61 } 62 } 63 | Popular Tags |