1 26 27 package org.objectweb.openccm.ast.lib; 28 29 import org.objectweb.openccm.ast.api.Delegation; 31 32 48 49 public class DelegationListImpl 50 extends ListBaseImpl 51 implements org.objectweb.openccm.ast.api.DelegationList 52 { 53 59 65 68 public 69 DelegationListImpl() 70 { 71 super(); 73 } 74 75 81 87 93 99 public void 100 add(String source, 101 String target) 102 { 103 super.addObject( new DelegationImpl(source, target) ); 104 } 105 106 111 public Delegation[] 112 getDelegations() 113 { 114 return (Delegation[])super.toArray(new Delegation[0]); 115 } 116 } 117 | Popular Tags |