1 26 27 package org.objectweb.openccm.ast.lib; 28 29 37 38 public class DelegationImpl 39 extends ObjectBase 40 implements org.objectweb.openccm.ast.api.Delegation 41 { 42 48 49 protected String source_; 50 51 52 protected String target_; 53 54 60 61 public 62 DelegationImpl() 63 { 64 this(null, null); 66 } 67 68 74 public 75 DelegationImpl(String source, 76 String target) 77 { 78 super(); 80 81 source_ = source; 83 target_ = target; 84 } 85 86 92 98 104 109 public void 110 setSource(String name) 111 { 112 source_ = name; 113 } 114 115 120 public String 121 getSource() 122 { 123 return source_; 124 } 125 126 131 public void 132 setTarget(String name) 133 { 134 target_ = name; 135 } 136 137 142 public String 143 getTarget() 144 { 145 return target_; 146 } 147 } 148 | Popular Tags |