1 27 28 package org.objectweb.speedo.pobjects.relations; 29 30 import java.util.Collection ; 31 import java.util.ArrayList ; 32 33 public class B { 34 35 private String name; 36 37 private A a; 39 private Collection as; 41 private A na; 43 public B () { 44 } 45 46 public B (String name) { 47 this.name = name; 48 this.as = new ArrayList (); 49 } 50 51 public String getName() { 52 return name; 53 } 54 55 public A getA() { 56 return a; 57 } 58 59 public void setA(A a) { 60 this.a = a; 61 } 62 63 public Collection getAs() { 64 return as; 65 } 66 67 public void setAs(Collection as) { 68 this.as = as; 69 } 70 71 public A getNa() { 72 return na; 73 } 74 75 public void setNa(A na) { 76 this.na = na; 77 } 78 79 public void setName(String name) { 80 this.name = name; 81 } 82 } 83 | Popular Tags |