00001 <?php 00014 class CodeInstrumentationReceiverConfiguration 00015 { 00030 protected $booActive = true; 00031 00038 protected $booIgnoreNullReturns = true; 00039 00046 protected $booIgnoreRecursiveCalls = false; 00047 00056 protected $booMergeSameClassObjects = false; 00057 00058 00064 protected $objGatekeeperClasses; 00065 00071 protected $objGatekeeperMethods; 00072 00078 protected $objMatchGroupStereotypes; 00079 00088 public function setActive( $booActive ) 00089 { 00090 $this->booActive = $booActive; 00091 return $this; 00092 } 00093 00101 public function getActive() 00102 { 00103 return $this->booActive; 00104 } 00105 00115 public function setIgnoreNullReturns( $booIgnoreNullReturns ) 00116 { 00117 $this->booIgnoreNullReturns = $booIgnoreNullReturns; 00118 return $this; 00119 } 00120 00129 public function getIgnoreNullReturns() 00130 { 00131 return $this->booIgnoreNullReturns; 00132 } 00133 00143 public function setIgnoreRecursiveCalls( $booIgnoreRecursiveCalls ) 00144 { 00145 $this->booIgnoreRecursiveCalls = $booIgnoreRecursiveCalls; 00146 return $this; 00147 } 00148 00157 public function getIgnoreRecursiveCalls() 00158 { 00159 return $this->booIgnoreRecursiveCalls; 00160 } 00161 00172 public function setMergeSameClassObjects( $booMergeSameClassObjects ) 00173 { 00174 $this->booMergeSameClassObjects = $booMergeSameClassObjects; 00175 return $this; 00176 } 00177 00186 public function getMergeSameClassObjects() 00187 { 00188 return $this->booMergeSameClassObjects; 00189 } 00190 00196 public function setGatekeeperClasses( MatchGatekeeper $objGatekeeperClasses ) 00197 { 00198 $this->objGatekeeperClasses = $objGatekeeperClasses; 00199 } 00200 00206 public function getGatekeeperClasses() 00207 { 00208 return $this->objGatekeeperClasses; 00209 } 00210 00216 public function setGatekeeperMethods( MatchGatekeeper $objGatekeeperMethods ) 00217 { 00218 $this->objGatekeeperMethods = $objGatekeeperMethods; 00219 } 00220 00226 public function getGatekeeperMethods() 00227 { 00228 return $this->objGatekeeperMethods; 00229 } 00230 00236 public function setMatchGroupStereotypes( MatchGroup $objMatchGroupStereotypes ) 00237 { 00238 $this->objMatchGroupStereotypes = $objMatchGroupStereotypes; 00239 return $this; 00240 } 00241 00247 public function getMatchGroupStereotypes() 00248 { 00249 return $this->objMatchGroupStereotypes; 00250 } 00251 00257 public function __construct() 00258 { 00259 // create the internal objects // 00260 $objGatekeeperClasses = new MatchGatekeeper(); 00261 $this->setGatekeeperClasses( $objGatekeeperClasses ); 00262 00263 $objGatekeeperMethods = new MatchGatekeeper(); 00264 $this->setGatekeeperMethods( $objGatekeeperMethods ); 00265 00266 $objMatchGroupStereotypes = new MatchGroup(); 00267 $objDefaultStereotype = UmlSequenceDiagramStereotype::getStereotypeByName( "system" ); 00268 $objMatchGroupStereotypes->setNotFoundValue( $objDefaultStereotype ); 00269 $this->setMatchGroupStereotypes( $objMatchGroupStereotypes ); 00270 } 00271 00272 } 00273 ?>
1.5.9