1 26 27 package org.objectweb.openccm.Components; 28 29 37 38 public class EmitsInfo 39 extends PortInfo 40 implements EventConsumerBaseHolder 41 { 42 48 51 private org.omg.Components.EventConsumerBase ref_; 52 53 54 protected org.omg.Components.EventConsumerBase initial_consumer_; 55 56 62 65 public 66 EmitsInfo(java.lang.String rep_id, 67 java.lang.String name, 68 java.lang.String type_id) 69 { 70 super(rep_id, name, type_id, PortInfo.pk_emits); 71 ref_ = null; 72 initial_consumer_ = null; 73 } 74 75 81 84 public org.omg.Components.EventConsumerBase 85 getEventConsumerBase() 86 { 87 return initial_consumer_; 88 } 89 90 93 public void 94 setEventConsumerBase(org.omg.Components.EventConsumerBase ecb) 95 { 96 ref_ = ecb; 97 } 98 99 105 108 public org.omg.Components.EventConsumerBase 109 consumer() 110 { 111 return ref_; 112 } 113 114 117 public void 118 consumer(org.omg.Components.EventConsumerBase ref) 119 { 120 ref_ = ref; 121 initial_consumer_ = ref; 122 } 123 } 124 | Popular Tags |