1 package org.omg.mof.Model; 2 3 4 10 11 12 public class _BehavioralFeatureStub extends org.omg.CORBA.portable.ObjectImpl implements org.omg.mof.Model.BehavioralFeature 14 { 15 16 public org.omg.mof.Model.BehavioralFeature[] all_of_type_behavioral_feature () 17 { 18 org.omg.CORBA.portable.InputStream $in = null; 19 try { 20 org.omg.CORBA.portable.OutputStream $out = _request ("_get_all_of_type_behavioral_feature", true); 21 $in = _invoke ($out); 22 org.omg.mof.Model.BehavioralFeature $result[] = org.omg.mof.Model.BehavioralFeatureSetHelper.read ($in); 23 return $result; 24 } catch (org.omg.CORBA.portable.ApplicationException $ex) { 25 $in = $ex.getInputStream (); 26 String _id = $ex.getId (); 27 throw new org.omg.CORBA.MARSHAL (_id); 28 } catch (org.omg.CORBA.portable.RemarshalException $rm) { 29 return all_of_type_behavioral_feature (); 30 } finally { 31 _releaseReply ($in); 32 } 33 } 35 public org.omg.mof.Model.Namespace[] all_of_type_namespace () 36 { 37 org.omg.CORBA.portable.InputStream $in = null; 38 try { 39 org.omg.CORBA.portable.OutputStream $out = _request ("_get_all_of_type_namespace", true); 40 $in = _invoke ($out); 41 org.omg.mof.Model.Namespace $result[] = org.omg.mof.Model.NamespaceSetHelper.read ($in); 42 return $result; 43 } catch (org.omg.CORBA.portable.ApplicationException $ex) { 44 $in = $ex.getInputStream (); 45 String _id = $ex.getId (); 46 throw new org.omg.CORBA.MARSHAL (_id); 47 } catch (org.omg.CORBA.portable.RemarshalException $rm) { 48 return all_of_type_namespace (); 49 } finally { 50 _releaseReply ($in); 51 } 52 } 54 public org.omg.mof.Model.ModelElement[] all_of_type_model_element () 55 { 56 org.omg.CORBA.portable.InputStream $in = null; 57 try { 58 org.omg.CORBA.portable.OutputStream $out = _request ("_get_all_of_type_model_element", true); 59 $in = _invoke ($out); 60 org.omg.mof.Model.ModelElement $result[] = org.omg.mof.Model.ModelElementSetHelper.read ($in); 61 return $result; 62 } catch (org.omg.CORBA.portable.ApplicationException $ex) { 63 $in = $ex.getInputStream (); 64 String _id = $ex.getId (); 65 throw new org.omg.CORBA.MARSHAL (_id); 66 } catch (org.omg.CORBA.portable.RemarshalException $rm) { 67 return all_of_type_model_element (); 68 } finally { 69 _releaseReply ($in); 70 } 71 } 73 public boolean ref_is_instance_of (org.omg.mof.Reflective.RefObject some_class, boolean consider_subtypes) 74 { 75 org.omg.CORBA.portable.InputStream $in = null; 76 try { 77 org.omg.CORBA.portable.OutputStream $out = _request ("ref_is_instance_of", true); 78 org.omg.mof.Reflective.DesignatorTypeHelper.write ($out, some_class); 79 $out.write_boolean (consider_subtypes); 80 $in = _invoke ($out); 81 boolean $result = $in.read_boolean (); 82 return $result; 83 } catch (org.omg.CORBA.portable.ApplicationException $ex) { 84 $in = $ex.getInputStream (); 85 String _id = $ex.getId (); 86 throw new org.omg.CORBA.MARSHAL (_id); 87 } catch (org.omg.CORBA.portable.RemarshalException $rm) { 88 return ref_is_instance_of (some_class, consider_subtypes); 89 } finally { 90 _releaseReply ($in); 91 } 92 } 94 public org.omg.mof.Reflective.RefObject ref_create_instance (org.omg.CORBA.Any [] args) throws org.omg.mof.Reflective.MofError 95 { 96 org.omg.CORBA.portable.InputStream $in = null; 97 try { 98 org.omg.CORBA.portable.OutputStream $out = _request ("ref_create_instance", true); 99 org.omg.mof.Reflective.ValueTypeListHelper.write ($out, args); 100 $in = _invoke ($out); 101 org.omg.mof.Reflective.RefObject $result = org.omg.mof.Reflective.RefObjectHelper.read ($in); 102 return $result; 103 } catch (org.omg.CORBA.portable.ApplicationException $ex) { 104 $in = $ex.getInputStream (); 105 String _id = $ex.getId (); 106 if (_id.equals ("IDL:org/omg/mof/Reflective/MofError:1.0")) 107 throw org.omg.mof.Reflective.MofErrorHelper.read ($in); 108 else 109 throw new org.omg.CORBA.MARSHAL (_id); 110 } catch (org.omg.CORBA.portable.RemarshalException $rm) { 111 return ref_create_instance (args); 112 } finally { 113 _releaseReply ($in); 114 } 115 } 117 public org.omg.mof.Reflective.RefObject[] ref_all_objects (boolean include_subtypes) 118 { 119 org.omg.CORBA.portable.InputStream $in = null; 120 try { 121 org.omg.CORBA.portable.OutputStream $out = _request ("ref_all_objects", true); 122 $out.write_boolean (include_subtypes); 123 $in = _invoke ($out); 124 org.omg.mof.Reflective.RefObject $result[] = org.omg.mof.Reflective.RefObjectSetHelper.read ($in); 125 return $result; 126 } catch (org.omg.CORBA.portable.ApplicationException $ex) { 127 $in = $ex.getInputStream (); 128 String _id = $ex.getId (); 129 throw new org.omg.CORBA.MARSHAL (_id); 130 } catch (org.omg.CORBA.portable.RemarshalException $rm) { 131 return ref_all_objects (include_subtypes); 132 } finally { 133 _releaseReply ($in); 134 } 135 } 137 public void ref_set_value (org.omg.mof.Reflective.RefObject feature, org.omg.CORBA.Any new_value) throws org.omg.mof.Reflective.MofError 138 { 139 org.omg.CORBA.portable.InputStream $in = null; 140 try { 141 org.omg.CORBA.portable.OutputStream $out = _request ("ref_set_value", true); 142 org.omg.mof.Reflective.DesignatorTypeHelper.write ($out, feature); 143 org.omg.mof.Reflective._ValueTypeHelper.write ($out, new_value); 144 $in = _invoke ($out); 145 } catch (org.omg.CORBA.portable.ApplicationException $ex) { 146 $in = $ex.getInputStream (); 147 String _id = $ex.getId (); 148 if (_id.equals ("IDL:org/omg/mof/Reflective/MofError:1.0")) 149 throw org.omg.mof.Reflective.MofErrorHelper.read ($in); 150 else 151 throw new org.omg.CORBA.MARSHAL (_id); 152 } catch (org.omg.CORBA.portable.RemarshalException $rm) { 153 ref_set_value (feature, new_value); 154 } finally { 155 _releaseReply ($in); 156 } 157 } 159 public org.omg.CORBA.Any ref_value (org.omg.mof.Reflective.RefObject feature) throws org.omg.mof.Reflective.NotSet, org.omg.mof.Reflective.MofError 160 { 161 org.omg.CORBA.portable.InputStream $in = null; 162 try { 163 org.omg.CORBA.portable.OutputStream $out = _request ("ref_value", true); 164 org.omg.mof.Reflective.DesignatorTypeHelper.write ($out, feature); 165 $in = _invoke ($out); 166 org.omg.CORBA.Any $result = org.omg.mof.Reflective._ValueTypeHelper.read ($in); 167 return $result; 168 } catch (org.omg.CORBA.portable.ApplicationException $ex) { 169 $in = $ex.getInputStream (); 170 String _id = $ex.getId (); 171 if (_id.equals ("IDL:org/omg/mof/Reflective/NotSet:1.0")) 172 throw org.omg.mof.Reflective.NotSetHelper.read ($in); 173 else if (_id.equals ("IDL:org/omg/mof/Reflective/MofError:1.0")) 174 throw org.omg.mof.Reflective.MofErrorHelper.read ($in); 175 else 176 throw new org.omg.CORBA.MARSHAL (_id); 177 } catch (org.omg.CORBA.portable.RemarshalException $rm) { 178 return ref_value (feature); 179 } finally { 180 _releaseReply ($in); 181 } 182 } 184 public void ref_unset_value () throws org.omg.mof.Reflective.MofError 185 { 186 org.omg.CORBA.portable.InputStream $in = null; 187 try { 188 org.omg.CORBA.portable.OutputStream $out = _request ("ref_unset_value", true); 189 $in = _invoke ($out); 190 } catch (org.omg.CORBA.portable.ApplicationException $ex) { 191 $in = $ex.getInputStream (); 192 String _id = $ex.getId (); 193 if (_id.equals ("IDL:org/omg/mof/Reflective/MofError:1.0")) 194 throw org.omg.mof.Reflective.MofErrorHelper.read ($in); 195 else 196 throw new org.omg.CORBA.MARSHAL (_id); 197 } catch (org.omg.CORBA.portable.RemarshalException $rm) { 198 ref_unset_value (); 199 } finally { 200 _releaseReply ($in); 201 } 202 } 204 public void ref_add_value (org.omg.mof.Reflective.RefObject feature, org.omg.CORBA.Any new_element) throws org.omg.mof.Reflective.MofError 205 { 206 org.omg.CORBA.portable.InputStream $in = null; 207 try { 208 org.omg.CORBA.portable.OutputStream $out = _request ("ref_add_value", true); 209 org.omg.mof.Reflective.DesignatorTypeHelper.write ($out, feature); 210 org.omg.mof.Reflective._ValueTypeHelper.write ($out, new_element); 211 $in = _invoke ($out); 212 } catch (org.omg.CORBA.portable.ApplicationException $ex) { 213 $in = $ex.getInputStream (); 214 String _id = $ex.getId (); 215 if (_id.equals ("IDL:org/omg/mof/Reflective/MofError:1.0")) 216 throw org.omg.mof.Reflective.MofErrorHelper.read ($in); 217 else 218 throw new org.omg.CORBA.MARSHAL (_id); 219 } catch (org.omg.CORBA.portable.RemarshalException $rm) { 220 ref_add_value (feature, new_element); 221 } finally { 222 _releaseReply ($in); 223 } 224 } 226 public void ref_add_value_before (org.omg.mof.Reflective.RefObject feature, org.omg.CORBA.Any new_element, org.omg.CORBA.Any before_element) throws org.omg.mof.Reflective.NotFound, org.omg.mof.Reflective.MofError 227 { 228 org.omg.CORBA.portable.InputStream $in = null; 229 try { 230 org.omg.CORBA.portable.OutputStream $out = _request ("ref_add_value_before", true); 231 org.omg.mof.Reflective.DesignatorTypeHelper.write ($out, feature); 232 org.omg.mof.Reflective._ValueTypeHelper.write ($out, new_element); 233 org.omg.mof.Reflective._ValueTypeHelper.write ($out, before_element); 234 $in = _invoke ($out); 235 } catch (org.omg.CORBA.portable.ApplicationException $ex) { 236 $in = $ex.getInputStream (); 237 String _id = $ex.getId (); 238 if (_id.equals ("IDL:org/omg/mof/Reflective/NotFound:1.0")) 239 throw org.omg.mof.Reflective.NotFoundHelper.read ($in); 240 else if (_id.equals ("IDL:org/omg/mof/Reflective/MofError:1.0")) 241 throw org.omg.mof.Reflective.MofErrorHelper.read ($in); 242 else 243 throw new org.omg.CORBA.MARSHAL (_id); 244 } catch (org.omg.CORBA.portable.RemarshalException $rm) { 245 ref_add_value_before (feature, new_element, before_element); 246 } finally { 247 _releaseReply ($in); 248 } 249 } 251 public void ref_add_value_at (org.omg.mof.Reflective.RefObject feature, org.omg.CORBA.Any new_element, int position) throws org.omg.mof.Reflective.BadPosition, org.omg.mof.Reflective.MofError 252 { 253 org.omg.CORBA.portable.InputStream $in = null; 254 try { 255 org.omg.CORBA.portable.OutputStream $out = _request ("ref_add_value_at", true); 256 org.omg.mof.Reflective.DesignatorTypeHelper.write ($out, feature); 257 org.omg.mof.Reflective._ValueTypeHelper.write ($out, new_element); 258 $out.write_ulong (position); 259 $in = _invoke ($out); 260 } catch (org.omg.CORBA.portable.ApplicationException $ex) { 261 $in = $ex.getInputStream (); 262 String _id = $ex.getId (); 263 if (_id.equals ("IDL:org/omg/mof/Reflective/BadPosition:1.0")) 264 throw org.omg.mof.Reflective.BadPositionHelper.read ($in); 265 else if (_id.equals ("IDL:org/omg/mof/Reflective/MofError:1.0")) 266 throw org.omg.mof.Reflective.MofErrorHelper.read ($in); 267 else 268 throw new org.omg.CORBA.MARSHAL (_id); 269 } catch (org.omg.CORBA.portable.RemarshalException $rm) { 270 ref_add_value_at (feature, new_element, position); 271 } finally { 272 _releaseReply ($in); 273 } 274 } 276 public void ref_modify_value (org.omg.mof.Reflective.RefObject feature, org.omg.CORBA.Any old_element, org.omg.CORBA.Any new_element) throws org.omg.mof.Reflective.NotFound, org.omg.mof.Reflective.MofError 277 { 278 org.omg.CORBA.portable.InputStream $in = null; 279 try { 280 org.omg.CORBA.portable.OutputStream $out = _request ("ref_modify_value", true); 281 org.omg.mof.Reflective.DesignatorTypeHelper.write ($out, feature); 282 org.omg.mof.Reflective._ValueTypeHelper.write ($out, old_element); 283 org.omg.mof.Reflective._ValueTypeHelper.write ($out, new_element); 284 $in = _invoke ($out); 285 } catch (org.omg.CORBA.portable.ApplicationException $ex) { 286 $in = $ex.getInputStream (); 287 String _id = $ex.getId (); 288 if (_id.equals ("IDL:org/omg/mof/Reflective/NotFound:1.0")) 289 throw org.omg.mof.Reflective.NotFoundHelper.read ($in); 290 else if (_id.equals ("IDL:org/omg/mof/Reflective/MofError:1.0")) 291 throw org.omg.mof.Reflective.MofErrorHelper.read ($in); 292 else 293 throw new org.omg.CORBA.MARSHAL (_id); 294 } catch (org.omg.CORBA.portable.RemarshalException $rm) { 295 ref_modify_value (feature, old_element, new_element); 296 } finally { 297 _releaseReply ($in); 298 } 299 } 301 public void ref_modify_value_at (org.omg.mof.Reflective.RefObject feature, org.omg.CORBA.Any new_element, int position) throws org.omg.mof.Reflective.BadPosition, org.omg.mof.Reflective.MofError 302 { 303 org.omg.CORBA.portable.InputStream $in = null; 304 try { 305 org.omg.CORBA.portable.OutputStream $out = _request ("ref_modify_value_at", true); 306 org.omg.mof.Reflective.DesignatorTypeHelper.write ($out, feature); 307 org.omg.mof.Reflective._ValueTypeHelper.write ($out, new_element); 308 $out.write_ulong (position); 309 $in = _invoke ($out); 310 } catch (org.omg.CORBA.portable.ApplicationException $ex) { 311 $in = $ex.getInputStream (); 312 String _id = $ex.getId (); 313 if (_id.equals ("IDL:org/omg/mof/Reflective/BadPosition:1.0")) 314 throw org.omg.mof.Reflective.BadPositionHelper.read ($in); 315 else if (_id.equals ("IDL:org/omg/mof/Reflective/MofError:1.0")) 316 throw org.omg.mof.Reflective.MofErrorHelper.read ($in); 317 else 318 throw new org.omg.CORBA.MARSHAL (_id); 319 } catch (org.omg.CORBA.portable.RemarshalException $rm) { 320 ref_modify_value_at (feature, new_element, position); 321 } finally { 322 _releaseReply ($in); 323 } 324 } 326 public void ref_remove_value (org.omg.mof.Reflective.RefObject feature, org.omg.CORBA.Any existing_element) throws org.omg.mof.Reflective.NotFound, org.omg.mof.Reflective.MofError 327 { 328 org.omg.CORBA.portable.InputStream $in = null; 329 try { 330 org.omg.CORBA.portable.OutputStream $out = _request ("ref_remove_value", true); 331 org.omg.mof.Reflective.DesignatorTypeHelper.write ($out, feature); 332 org.omg.mof.Reflective._ValueTypeHelper.write ($out, existing_element); 333 $in = _invoke ($out); 334 } catch (org.omg.CORBA.portable.ApplicationException $ex) { 335 $in = $ex.getInputStream (); 336 String _id = $ex.getId (); 337 if (_id.equals ("IDL:org/omg/mof/Reflective/NotFound:1.0")) 338 throw org.omg.mof.Reflective.NotFoundHelper.read ($in); 339 else if (_id.equals ("IDL:org/omg/mof/Reflective/MofError:1.0")) 340 throw org.omg.mof.Reflective.MofErrorHelper.read ($in); 341 else 342 throw new org.omg.CORBA.MARSHAL (_id); 343 } catch (org.omg.CORBA.portable.RemarshalException $rm) { 344 ref_remove_value (feature, existing_element); 345 } finally { 346 _releaseReply ($in); 347 } 348 } 350 public void ref_remove_value_at (org.omg.mof.Reflective.RefObject feature, int position) throws org.omg.mof.Reflective.BadPosition, org.omg.mof.Reflective.MofError 351 { 352 org.omg.CORBA.portable.InputStream $in = null; 353 try { 354 org.omg.CORBA.portable.OutputStream $out = _request ("ref_remove_value_at", true); 355 org.omg.mof.Reflective.DesignatorTypeHelper.write ($out, feature); 356 $out.write_ulong (position); 357 $in = _invoke ($out); 358 } catch (org.omg.CORBA.portable.ApplicationException $ex) { 359 $in = $ex.getInputStream (); 360 String _id = $ex.getId (); 361 if (_id.equals ("IDL:org/omg/mof/Reflective/BadPosition:1.0")) 362 throw org.omg.mof.Reflective.BadPositionHelper.read ($in); 363 else if (_id.equals ("IDL:org/omg/mof/Reflective/MofError:1.0")) 364 throw org.omg.mof.Reflective.MofErrorHelper.read ($in); 365 else 366 throw new org.omg.CORBA.MARSHAL (_id); 367 } catch (org.omg.CORBA.portable.RemarshalException $rm) { 368 ref_remove_value_at (feature, position); 369 } finally { 370 _releaseReply ($in); 371 } 372 } 374 public org.omg.mof.Reflective.RefObject ref_immediate_composite () 375 { 376 org.omg.CORBA.portable.InputStream $in = null; 377 try { 378 org.omg.CORBA.portable.OutputStream $out = _request ("ref_immediate_composite", true); 379 $in = _invoke ($out); 380 org.omg.mof.Reflective.RefObject $result = org.omg.mof.Reflective.RefObjectHelper.read ($in); 381 return $result; 382 } catch (org.omg.CORBA.portable.ApplicationException $ex) { 383 $in = $ex.getInputStream (); 384 String _id = $ex.getId (); 385 throw new org.omg.CORBA.MARSHAL (_id); 386 } catch (org.omg.CORBA.portable.RemarshalException $rm) { 387 return ref_immediate_composite (); 388 } finally { 389 _releaseReply ($in); 390 } 391 } 393 public org.omg.mof.Reflective.RefObject ref_outermost_composite () 394 { 395 org.omg.CORBA.portable.InputStream $in = null; 396 try { 397 org.omg.CORBA.portable.OutputStream $out = _request ("ref_outermost_composite", true); 398 $in = _invoke ($out); 399 org.omg.mof.Reflective.RefObject $result = org.omg.mof.Reflective.RefObjectHelper.read ($in); 400 return $result; 401 } catch (org.omg.CORBA.portable.ApplicationException $ex) { 402 $in = $ex.getInputStream (); 403 String _id = $ex.getId (); 404 throw new org.omg.CORBA.MARSHAL (_id); 405 } catch (org.omg.CORBA.portable.RemarshalException $rm) { 406 return ref_outermost_composite (); 407 } finally { 408 _releaseReply ($in); 409 } 410 } 412 public org.omg.CORBA.Any ref_invoke_operation (org.omg.mof.Reflective.RefObject requested_operation, org.omg.mof.Reflective.ValueTypeListHolder args) throws org.omg.mof.Reflective.OtherException, org.omg.mof.Reflective.MofError 413 { 414 org.omg.CORBA.portable.InputStream $in = null; 415 try { 416 org.omg.CORBA.portable.OutputStream $out = _request ("ref_invoke_operation", true); 417 org.omg.mof.Reflective.DesignatorTypeHelper.write ($out, requested_operation); 418 org.omg.mof.Reflective.ValueTypeListHelper.write ($out, args.value); 419 $in = _invoke ($out); 420 org.omg.CORBA.Any $result = org.omg.mof.Reflective._ValueTypeHelper.read ($in); 421 args.value = org.omg.mof.Reflective.ValueTypeListHelper.read ($in); 422 return $result; 423 } catch (org.omg.CORBA.portable.ApplicationException $ex) { 424 $in = $ex.getInputStream (); 425 String _id = $ex.getId (); 426 if (_id.equals ("IDL:org/omg/mof/Reflective/OtherException:1.0")) 427 throw org.omg.mof.Reflective.OtherExceptionHelper.read ($in); 428 else if (_id.equals ("IDL:org/omg/mof/Reflective/MofError:1.0")) 429 throw org.omg.mof.Reflective.MofErrorHelper.read ($in); 430 else 431 throw new org.omg.CORBA.MARSHAL (_id); 432 } catch (org.omg.CORBA.portable.RemarshalException $rm) { 433 return ref_invoke_operation (requested_operation, args); 434 } finally { 435 _releaseReply ($in); 436 } 437 } 439 public String ref_mof_id () 440 { 441 org.omg.CORBA.portable.InputStream $in = null; 442 try { 443 org.omg.CORBA.portable.OutputStream $out = _request ("ref_mof_id", true); 444 $in = _invoke ($out); 445 String $result = $in.read_string (); 446 return $result; 447 } catch (org.omg.CORBA.portable.ApplicationException $ex) { 448 $in = $ex.getInputStream (); 449 String _id = $ex.getId (); 450 throw new org.omg.CORBA.MARSHAL (_id); 451 } catch (org.omg.CORBA.portable.RemarshalException $rm) { 452 return ref_mof_id (); 453 } finally { 454 _releaseReply ($in); 455 } 456 } 458 public org.omg.mof.Reflective.RefObject ref_meta_object () 459 { 460 org.omg.CORBA.portable.InputStream $in = null; 461 try { 462 org.omg.CORBA.portable.OutputStream $out = _request ("ref_meta_object", true); 463 $in = _invoke ($out); 464 org.omg.mof.Reflective.RefObject $result = org.omg.mof.Reflective.DesignatorTypeHelper.read ($in); 465 return $result; 466 } catch (org.omg.CORBA.portable.ApplicationException $ex) { 467 $in = $ex.getInputStream (); 468 String _id = $ex.getId (); 469 throw new org.omg.CORBA.MARSHAL (_id); 470 } catch (org.omg.CORBA.portable.RemarshalException $rm) { 471 return ref_meta_object (); 472 } finally { 473 _releaseReply ($in); 474 } 475 } 477 public boolean ref_itself (org.omg.mof.Reflective.RefBaseObject other_object) 478 { 479 org.omg.CORBA.portable.InputStream $in = null; 480 try { 481 org.omg.CORBA.portable.OutputStream $out = _request ("ref_itself", true); 482 org.omg.mof.Reflective.RefBaseObjectHelper.write ($out, other_object); 483 $in = _invoke ($out); 484 boolean $result = $in.read_boolean (); 485 return $result; 486 } catch (org.omg.CORBA.portable.ApplicationException $ex) { 487 $in = $ex.getInputStream (); 488 String _id = $ex.getId (); 489 throw new org.omg.CORBA.MARSHAL (_id); 490 } catch (org.omg.CORBA.portable.RemarshalException $rm) { 491 return ref_itself (other_object); 492 } finally { 493 _releaseReply ($in); 494 } 495 } 497 public org.omg.mof.Reflective._RefPackage ref_immediate_package () 498 { 499 org.omg.CORBA.portable.InputStream $in = null; 500 try { 501 org.omg.CORBA.portable.OutputStream $out = _request ("ref_immediate_package", true); 502 $in = _invoke ($out); 503 org.omg.mof.Reflective._RefPackage $result = org.omg.mof.Reflective._RefPackageHelper.read ($in); 504 return $result; 505 } catch (org.omg.CORBA.portable.ApplicationException $ex) { 506 $in = $ex.getInputStream (); 507 String _id = $ex.getId (); 508 throw new org.omg.CORBA.MARSHAL (_id); 509 } catch (org.omg.CORBA.portable.RemarshalException $rm) { 510 return ref_immediate_package (); 511 } finally { 512 _releaseReply ($in); 513 } 514 } 516 public org.omg.mof.Reflective._RefPackage ref_outermost_package () 517 { 518 org.omg.CORBA.portable.InputStream $in = null; 519 try { 520 org.omg.CORBA.portable.OutputStream $out = _request ("ref_outermost_package", true); 521 $in = _invoke ($out); 522 org.omg.mof.Reflective._RefPackage $result = org.omg.mof.Reflective._RefPackageHelper.read ($in); 523 return $result; 524 } catch (org.omg.CORBA.portable.ApplicationException $ex) { 525 $in = $ex.getInputStream (); 526 String _id = $ex.getId (); 527 throw new org.omg.CORBA.MARSHAL (_id); 528 } catch (org.omg.CORBA.portable.RemarshalException $rm) { 529 return ref_outermost_package (); 530 } finally { 531 _releaseReply ($in); 532 } 533 } 535 public void ref_delete () throws org.omg.mof.Reflective.MofError 536 { 537 org.omg.CORBA.portable.InputStream $in = null; 538 try { 539 org.omg.CORBA.portable.OutputStream $out = _request ("ref_delete", true); 540 $in = _invoke ($out); 541 } catch (org.omg.CORBA.portable.ApplicationException $ex) { 542 $in = $ex.getInputStream (); 543 String _id = $ex.getId (); 544 if (_id.equals ("IDL:org/omg/mof/Reflective/MofError:1.0")) 545 throw org.omg.mof.Reflective.MofErrorHelper.read ($in); 546 else 547 throw new org.omg.CORBA.MARSHAL (_id); 548 } catch (org.omg.CORBA.portable.RemarshalException $rm) { 549 ref_delete (); 550 } finally { 551 _releaseReply ($in); 552 } 553 } 555 public org.omg.mof.Model.Feature[] all_of_type_feature () 556 { 557 org.omg.CORBA.portable.InputStream $in = null; 558 try { 559 org.omg.CORBA.portable.OutputStream $out = _request ("_get_all_of_type_feature", true); 560 $in = _invoke ($out); 561 org.omg.mof.Model.Feature $result[] = org.omg.mof.Model.FeatureSetHelper.read ($in); 562 return $result; 563 } catch (org.omg.CORBA.portable.ApplicationException $ex) { 564 $in = $ex.getInputStream (); 565 String _id = $ex.getId (); 566 throw new org.omg.CORBA.MARSHAL (_id); 567 } catch (org.omg.CORBA.portable.RemarshalException $rm) { 568 return all_of_type_feature (); 569 } finally { 570 _releaseReply ($in); 571 } 572 } 574 575 public String name () throws org.omg.mof.Reflective.MofError 577 { 578 org.omg.CORBA.portable.InputStream $in = null; 579 try { 580 org.omg.CORBA.portable.OutputStream $out = _request ("name", true); 581 $in = _invoke ($out); 582 String $result = $in.read_string (); 583 return $result; 584 } catch (org.omg.CORBA.portable.ApplicationException $ex) { 585 $in = $ex.getInputStream (); 586 String _id = $ex.getId (); 587 if (_id.equals ("IDL:org/omg/mof/Reflective/MofError:1.0")) 588 throw org.omg.mof.Reflective.MofErrorHelper.read ($in); 589 else 590 throw new org.omg.CORBA.MARSHAL (_id); 591 } catch (org.omg.CORBA.portable.RemarshalException $rm) { 592 return name (); 593 } finally { 594 _releaseReply ($in); 595 } 596 } 598 public void set_name (String new_value) throws org.omg.mof.Reflective.MofError 599 { 600 org.omg.CORBA.portable.InputStream $in = null; 601 try { 602 org.omg.CORBA.portable.OutputStream $out = _request ("set_name", true); 603 $out.write_string (new_value); 604 $in = _invoke ($out); 605 } catch (org.omg.CORBA.portable.ApplicationException $ex) { 606 $in = $ex.getInputStream (); 607 String _id = $ex.getId (); 608 if (_id.equals ("IDL:org/omg/mof/Reflective/MofError:1.0")) 609 throw org.omg.mof.Reflective.MofErrorHelper.read ($in); 610 else 611 throw new org.omg.CORBA.MARSHAL (_id); 612 } catch (org.omg.CORBA.portable.RemarshalException $rm) { 613 set_name (new_value); 614 } finally { 615 _releaseReply ($in); 616 } 617 } 619 620 public String annotation () throws org.omg.mof.Reflective.MofError 622 { 623 org.omg.CORBA.portable.InputStream $in = null; 624 try { 625 org.omg.CORBA.portable.OutputStream $out = _request ("annotation", true); 626 $in = _invoke ($out); 627 String $result = $in.read_string (); 628 return $result; 629 } catch (org.omg.CORBA.portable.ApplicationException $ex) { 630 $in = $ex.getInputStream (); 631 String _id = $ex.getId (); 632 if (_id.equals ("IDL:org/omg/mof/Reflective/MofError:1.0")) 633 throw org.omg.mof.Reflective.MofErrorHelper.read ($in); 634 else 635 throw new org.omg.CORBA.MARSHAL (_id); 636 } catch (org.omg.CORBA.portable.RemarshalException $rm) { 637 return annotation (); 638 } finally { 639 _releaseReply ($in); 640 } 641 } 643 public void set_annotation (String new_value) throws org.omg.mof.Reflective.MofError 644 { 645 org.omg.CORBA.portable.InputStream $in = null; 646 try { 647 org.omg.CORBA.portable.OutputStream $out = _request ("set_annotation", true); 648 $out.write_string (new_value); 649 $in = _invoke ($out); 650 } catch (org.omg.CORBA.portable.ApplicationException $ex) { 651 $in = $ex.getInputStream (); 652 String _id = $ex.getId (); 653 if (_id.equals ("IDL:org/omg/mof/Reflective/MofError:1.0")) 654 throw org.omg.mof.Reflective.MofErrorHelper.read ($in); 655 else 656 throw new org.omg.CORBA.MARSHAL (_id); 657 } catch (org.omg.CORBA.portable.RemarshalException $rm) { 658 set_annotation (new_value); 659 } finally { 660 _releaseReply ($in); 661 } 662 } 664 665 public String [] qualified_name () throws org.omg.mof.Reflective.MofError 667 { 668 org.omg.CORBA.portable.InputStream $in = null; 669 try { 670 org.omg.CORBA.portable.OutputStream $out = _request ("qualified_name", true); 671 $in = _invoke ($out); 672 String $result[] = org.omg.mof.Model.StringListHelper.read ($in); 673 return $result; 674 } catch (org.omg.CORBA.portable.ApplicationException $ex) { 675 $in = $ex.getInputStream (); 676 String _id = $ex.getId (); 677 if (_id.equals ("IDL:org/omg/mof/Reflective/MofError:1.0")) 678 throw org.omg.mof.Reflective.MofErrorHelper.read ($in); 679 else 680 throw new org.omg.CORBA.MARSHAL (_id); 681 } catch (org.omg.CORBA.portable.RemarshalException $rm) { 682 return qualified_name (); 683 } finally { 684 _releaseReply ($in); 685 } 686 } 688 689 public org.omg.mof.Model.Namespace container () throws org.omg.mof.Reflective.NotSet, org.omg.mof.Reflective.MofError 691 { 692 org.omg.CORBA.portable.InputStream $in = null; 693 try { 694 org.omg.CORBA.portable.OutputStream $out = _request ("container", true); 695 $in = _invoke ($out); 696 org.omg.mof.Model.Namespace $result = org.omg.mof.Model.NamespaceHelper.read ($in); 697 return $result; 698 } catch (org.omg.CORBA.portable.ApplicationException $ex) { 699 $in = $ex.getInputStream (); 700 String _id = $ex.getId (); 701 if (_id.equals ("IDL:org/omg/mof/Reflective/NotSet:1.0")) 702 throw org.omg.mof.Reflective.NotSetHelper.read ($in); 703 else if (_id.equals ("IDL:org/omg/mof/Reflective/MofError:1.0")) 704 throw org.omg.mof.Reflective.MofErrorHelper.read ($in); 705 else 706 throw new org.omg.CORBA.MARSHAL (_id); 707 } catch (org.omg.CORBA.portable.RemarshalException $rm) { 708 return container (); 709 } finally { 710 _releaseReply ($in); 711 } 712 } 714 public void set_container (org.omg.mof.Model.Namespace new_value) throws org.omg.mof.Reflective.MofError 715 { 716 org.omg.CORBA.portable.InputStream $in = null; 717 try { 718 org.omg.CORBA.portable.OutputStream $out = _request ("set_container", true); 719 org.omg.mof.Model.NamespaceHelper.write ($out, new_value); 720 $in = _invoke ($out); 721 } catch (org.omg.CORBA.portable.ApplicationException $ex) { 722 $in = $ex.getInputStream (); 723 String _id = $ex.getId (); 724 if (_id.equals ("IDL:org/omg/mof/Reflective/MofError:1.0")) 725 throw org.omg.mof.Reflective.MofErrorHelper.read ($in); 726 else 727 throw new org.omg.CORBA.MARSHAL (_id); 728 } catch (org.omg.CORBA.portable.RemarshalException $rm) { 729 set_container (new_value); 730 } finally { 731 _releaseReply ($in); 732 } 733 } 735 public void unset_container () throws org.omg.mof.Reflective.MofError 736 { 737 org.omg.CORBA.portable.InputStream $in = null; 738 try { 739 org.omg.CORBA.portable.OutputStream $out = _request ("unset_container", true); 740 $in = _invoke ($out); 741 } catch (org.omg.CORBA.portable.ApplicationException $ex) { 742 $in = $ex.getInputStream (); 743 String _id = $ex.getId (); 744 if (_id.equals ("IDL:org/omg/mof/Reflective/MofError:1.0")) 745 throw org.omg.mof.Reflective.MofErrorHelper.read ($in); 746 else 747 throw new org.omg.CORBA.MARSHAL (_id); 748 } catch (org.omg.CORBA.portable.RemarshalException $rm) { 749 unset_container (); 750 } finally { 751 _releaseReply ($in); 752 } 753 } 755 756 public org.omg.mof.Model.ModelElement[] required_elements () throws org.omg.mof.Reflective.MofError 758 { 759 org.omg.CORBA.portable.InputStream $in = null; 760 try { 761 org.omg.CORBA.portable.OutputStream $out = _request ("required_elements", true); 762 $in = _invoke ($out); 763 org.omg.mof.Model.ModelElement $result[] = org.omg.mof.Model.ModelElementBagHelper.read ($in); 764 return $result; 765 } catch (org.omg.CORBA.portable.ApplicationException $ex) { 766 $in = $ex.getInputStream (); 767 String _id = $ex.getId (); 768 if (_id.equals ("IDL:org/omg/mof/Reflective/MofError:1.0")) 769 throw org.omg.mof.Reflective.MofErrorHelper.read ($in); 770 else 771 throw new org.omg.CORBA.MARSHAL (_id); 772 } catch (org.omg.CORBA.portable.RemarshalException $rm) { 773 return required_elements (); 774 } finally { 775 _releaseReply ($in); 776 } 777 } 779 public void set_required_elements (org.omg.mof.Model.ModelElement[] new_value) throws org.omg.mof.Reflective.MofError 780 { 781 org.omg.CORBA.portable.InputStream $in = null; 782 try { 783 org.omg.CORBA.portable.OutputStream $out = _request ("set_required_elements", true); 784 org.omg.mof.Model.ModelElementBagHelper.write ($out, new_value); 785 $in = _invoke ($out); 786 } catch (org.omg.CORBA.portable.ApplicationException $ex) { 787 $in = $ex.getInputStream (); 788 String _id = $ex.getId (); 789 if (_id.equals ("IDL:org/omg/mof/Reflective/MofError:1.0")) 790 throw org.omg.mof.Reflective.MofErrorHelper.read ($in); 791 else 792 throw new org.omg.CORBA.MARSHAL (_id); 793 } catch (org.omg.CORBA.portable.RemarshalException $rm) { 794 set_required_elements (new_value); 795 } finally { 796 _releaseReply ($in); 797 } 798 } 800 public void add_required_elements (org.omg.mof.Model.ModelElement new_element) throws org.omg.mof.Reflective.MofError 801 { 802 org.omg.CORBA.portable.InputStream $in = null; 803 try { 804 org.omg.CORBA.portable.OutputStream $out = _request ("add_required_elements", true); 805 org.omg.mof.Model.ModelElementHelper.write ($out, new_element); 806 $in = _invoke ($out); 807 } catch (org.omg.CORBA.portable.ApplicationException $ex) { 808 $in = $ex.getInputStream (); 809 String _id = $ex.getId (); 810 if (_id.equals ("IDL:org/omg/mof/Reflective/MofError:1.0")) 811 throw org.omg.mof.Reflective.MofErrorHelper.read ($in); 812 else 813 throw new org.omg.CORBA.MARSHAL (_id); 814 } catch (org.omg.CORBA.portable.RemarshalException $rm) { 815 add_required_elements (new_element); 816 } finally { 817 _releaseReply ($in); 818 } 819 } 821 public void modify_required_elements (org.omg.mof.Model.ModelElement old_element, org.omg.mof.Model.ModelElement new_element) throws org.omg.mof.Reflective.NotFound, org.omg.mof.Reflective.MofError 822 { 823 org.omg.CORBA.portable.InputStream $in = null; 824 try { 825 org.omg.CORBA.portable.OutputStream $out = _request ("modify_required_elements", true); 826 org.omg.mof.Model.ModelElementHelper.write ($out, old_element); 827 org.omg.mof.Model.ModelElementHelper.write ($out, new_element); 828 $in = _invoke ($out); 829 } catch (org.omg.CORBA.portable.ApplicationException $ex) { 830 $in = $ex.getInputStream (); 831 String _id = $ex.getId (); 832 if (_id.equals ("IDL:org/omg/mof/Reflective/NotFound:1.0")) 833 throw org.omg.mof.Reflective.NotFoundHelper.read ($in); 834 else if (_id.equals ("IDL:org/omg/mof/Reflective/MofError:1.0")) 835 throw org.omg.mof.Reflective.MofErrorHelper.read ($in); 836 else 837 throw new org.omg.CORBA.MARSHAL (_id); 838 } catch (org.omg.CORBA.portable.RemarshalException $rm) { 839 modify_required_elements (old_element, new_element); 840 } finally { 841 _releaseReply ($in); 842 } 843 } 845 public void remove_required_elements (org.omg.mof.Model.ModelElement old_element) throws org.omg.mof.Reflective.NotFound, org.omg.mof.Reflective.MofError 846 { 847 org.omg.CORBA.portable.InputStream $in = null; 848 try { 849 org.omg.CORBA.portable.OutputStream $out = _request ("remove_required_elements", true); 850 org.omg.mof.Model.ModelElementHelper.write ($out, old_element); 851 $in = _invoke ($out); 852 } catch (org.omg.CORBA.portable.ApplicationException $ex) { 853 $in = $ex.getInputStream (); 854 String _id = $ex.getId (); 855 if (_id.equals ("IDL:org/omg/mof/Reflective/NotFound:1.0")) 856 throw org.omg.mof.Reflective.NotFoundHelper.read ($in); 857 else if (_id.equals ("IDL:org/omg/mof/Reflective/MofError:1.0")) 858 throw org.omg.mof.Reflective.MofErrorHelper.read ($in); 859 else 860 throw new org.omg.CORBA.MARSHAL (_id); 861 } catch (org.omg.CORBA.portable.RemarshalException $rm) { 862 remove_required_elements (old_element); 863 } finally { 864 _releaseReply ($in); 865 } 866 } 868 869 public org.omg.mof.Model.Constraint[] constraints () throws org.omg.mof.Reflective.MofError 871 { 872 org.omg.CORBA.portable.InputStream $in = null; 873 try { 874 org.omg.CORBA.portable.OutputStream $out = _request ("constraints", true); 875 $in = _invoke ($out); 876 org.omg.mof.Model.Constraint $result[] = org.omg.mof.Model.ConstraintBagHelper.read ($in); 877 return $result; 878 } catch (org.omg.CORBA.portable.ApplicationException $ex) { 879 $in = $ex.getInputStream (); 880 String _id = $ex.getId (); 881 if (_id.equals ("IDL:org/omg/mof/Reflective/MofError:1.0")) 882 throw org.omg.mof.Reflective.MofErrorHelper.read ($in); 883 else 884 throw new org.omg.CORBA.MARSHAL (_id); 885 } catch (org.omg.CORBA.portable.RemarshalException $rm) { 886 return constraints (); 887 } finally { 888 _releaseReply ($in); 889 } 890 } 892 public void set_constraints (org.omg.mof.Model.Constraint[] new_value) throws org.omg.mof.Reflective.MofError 893 { 894 org.omg.CORBA.portable.InputStream $in = null; 895 try { 896 org.omg.CORBA.portable.OutputStream $out = _request ("set_constraints", true); 897 org.omg.mof.Model.ConstraintBagHelper.write ($out, new_value); 898 $in = _invoke ($out); 899 } catch (org.omg.CORBA.portable.ApplicationException $ex) { 900 $in = $ex.getInputStream (); 901 String _id = $ex.getId (); 902 if (_id.equals ("IDL:org/omg/mof/Reflective/MofError:1.0")) 903 throw org.omg.mof.Reflective.MofErrorHelper.read ($in); 904 else 905 throw new org.omg.CORBA.MARSHAL (_id); 906 } catch (org.omg.CORBA.portable.RemarshalException $rm) { 907 set_constraints (new_value); 908 } finally { 909 _releaseReply ($in); 910 } 911 } 913 public void add_constraints (org.omg.mof.Model.Constraint new_element) throws org.omg.mof.Reflective.MofError 914 { 915 org.omg.CORBA.portable.InputStream $in = null; 916 try { 917 org.omg.CORBA.portable.OutputStream $out = _request ("add_constraints", true); 918 org.omg.mof.Model.ConstraintHelper.write ($out, new_element); 919 $in = _invoke ($out); 920 } catch (org.omg.CORBA.portable.ApplicationException $ex) { 921 $in = $ex.getInputStream (); 922 String _id = $ex.getId (); 923 if (_id.equals ("IDL:org/omg/mof/Reflective/MofError:1.0")) 924 throw org.omg.mof.Reflective.MofErrorHelper.read ($in); 925 else 926 throw new org.omg.CORBA.MARSHAL (_id); 927 } catch (org.omg.CORBA.portable.RemarshalException $rm) { 928 add_constraints (new_element); 929 } finally { 930 _releaseReply ($in); 931 } 932 } 934 public void modify_constraints (org.omg.mof.Model.Constraint old_element, org.omg.mof.Model.Constraint new_element) throws org.omg.mof.Reflective.NotFound, org.omg.mof.Reflective.MofError 935 { 936 org.omg.CORBA.portable.InputStream $in = null; 937 try { 938 org.omg.CORBA.portable.OutputStream $out = _request ("modify_constraints", true); 939 org.omg.mof.Model.ConstraintHelper.write ($out, old_element); 940 org.omg.mof.Model.ConstraintHelper.write ($out, new_element); 941 $in = _invoke ($out); 942 } catch (org.omg.CORBA.portable.ApplicationException $ex) { 943 $in = $ex.getInputStream (); 944 String _id = $ex.getId (); 945 if (_id.equals ("IDL:org/omg/mof/Reflective/NotFound:1.0")) 946 throw org.omg.mof.Reflective.NotFoundHelper.read ($in); 947 else if (_id.equals ("IDL:org/omg/mof/Reflective/MofError:1.0")) 948 throw org.omg.mof.Reflective.MofErrorHelper.read ($in); 949 else 950 throw new org.omg.CORBA.MARSHAL (_id); 951 } catch (org.omg.CORBA.portable.RemarshalException $rm) { 952 modify_constraints (old_element, new_element); 953 } finally { 954 _releaseReply ($in); 955 } 956 } 958 public void remove_constraints (org.omg.mof.Model.Constraint old_element) throws org.omg.mof.Reflective.NotFound, org.omg.mof.Reflective.MofError 959 { 960 org.omg.CORBA.portable.InputStream $in = null; 961 try { 962 org.omg.CORBA.portable.OutputStream $out = _request ("remove_constraints", true); 963 org.omg.mof.Model.ConstraintHelper.write ($out, old_element); 964 $in = _invoke ($out); 965 } catch (org.omg.CORBA.portable.ApplicationException $ex) { 966 $in = $ex.getInputStream (); 967 String _id = $ex.getId (); 968 if (_id.equals ("IDL:org/omg/mof/Reflective/NotFound:1.0")) 969 throw org.omg.mof.Reflective.NotFoundHelper.read ($in); 970 else if (_id.equals ("IDL:org/omg/mof/Reflective/MofError:1.0")) 971 throw org.omg.mof.Reflective.MofErrorHelper.read ($in); 972 else 973 throw new org.omg.CORBA.MARSHAL (_id); 974 } catch (org.omg.CORBA.portable.RemarshalException $rm) { 975 remove_constraints (old_element); 976 } finally { 977 _releaseReply ($in); 978 } 979 } 981 982 public org.omg.mof.Model.ModelElement[] contents () throws org.omg.mof.Reflective.MofError 984 { 985 org.omg.CORBA.portable.InputStream $in = null; 986 try { 987 org.omg.CORBA.portable.OutputStream $out = _request ("contents", true); 988 $in = _invoke ($out); 989 org.omg.mof.Model.ModelElement $result[] = org.omg.mof.Model.ModelElementListHelper.read ($in); 990 return $result; 991 } catch (org.omg.CORBA.portable.ApplicationException $ex) { 992 $in = $ex.getInputStream (); 993 String _id = $ex.getId (); 994 if (_id.equals ("IDL:org/omg/mof/Reflective/MofError:1.0")) 995 throw org.omg.mof.Reflective.MofErrorHelper.read ($in); 996 else 997 throw new org.omg.CORBA.MARSHAL (_id); 998 } catch (org.omg.CORBA.portable.RemarshalException $rm) { 999 return contents (); 1000 } finally { 1001 _releaseReply ($in); 1002 } 1003 } 1005 public void set_contents (org.omg.mof.Model.ModelElement[] new_value) throws org.omg.mof.Reflective.MofError 1006 { 1007 org.omg.CORBA.portable.InputStream $in = null; 1008 try { 1009 org.omg.CORBA.portable.OutputStream $out = _request ("set_contents", true); 1010 org.omg.mof.Model.ModelElementListHelper.write ($out, new_value); 1011 $in = _invoke ($out); 1012 } catch (org.omg.CORBA.portable.ApplicationException $ex) { 1013 $in = $ex.getInputStream (); 1014 String _id = $ex.getId (); 1015 if (_id.equals ("IDL:org/omg/mof/Reflective/MofError:1.0")) 1016 throw org.omg.mof.Reflective.MofErrorHelper.read ($in); 1017 else 1018 throw new org.omg.CORBA.MARSHAL (_id); 1019 } catch (org.omg.CORBA.portable.RemarshalException $rm) { 1020 set_contents (new_value); 1021 } finally { 1022 _releaseReply ($in); 1023 } 1024 } 1026 public void add_contents (org.omg.mof.Model.ModelElement new_element) throws org.omg.mof.Reflective.MofError 1027 { 1028 org.omg.CORBA.portable.InputStream $in = null; 1029 try { 1030 org.omg.CORBA.portable.OutputStream $out = _request ("add_contents", true); 1031 org.omg.mof.Model.ModelElementHelper.write ($out, new_element); 1032 $in = _invoke ($out); 1033 } catch (org.omg.CORBA.portable.ApplicationException $ex) { 1034 $in = $ex.getInputStream (); 1035 String _id = $ex.getId (); 1036 if (_id.equals ("IDL:org/omg/mof/Reflective/MofError:1.0")) 1037 throw org.omg.mof.Reflective.MofErrorHelper.read ($in); 1038 else 1039 throw new org.omg.CORBA.MARSHAL (_id); 1040 } catch (org.omg.CORBA.portable.RemarshalException $rm) { 1041 add_contents (new_element); 1042 } finally { 1043 _releaseReply ($in); 1044 } 1045 } 1047 public void add_contents_before (org.omg.mof.Model.ModelElement new_element, org.omg.mof.Model.ModelElement before_element) throws org.omg.mof.Reflective.NotFound, org.omg.mof.Reflective.MofError 1048 { 1049 org.omg.CORBA.portable.InputStream $in = null; 1050 try { 1051 org.omg.CORBA.portable.OutputStream $out = _request ("add_contents_before", true); 1052 org.omg.mof.Model.ModelElementHelper.write ($out, new_element); 1053 org.omg.mof.Model.ModelElementHelper.write ($out, before_element); 1054 $in = _invoke ($out); 1055 } catch (org.omg.CORBA.portable.ApplicationException $ex) { 1056 $in = $ex.getInputStream (); 1057 String _id = $ex.getId (); 1058 if (_id.equals ("IDL:org/omg/mof/Reflective/NotFound:1.0")) 1059 throw org.omg.mof.Reflective.NotFoundHelper.read ($in); 1060 else if (_id.equals ("IDL:org/omg/mof/Reflective/MofError:1.0")) 1061 throw org.omg.mof.Reflective.MofErrorHelper.read ($in); 1062 else 1063 throw new org.omg.CORBA.MARSHAL (_id); 1064 } catch (org.omg.CORBA.portable.RemarshalException $rm) { 1065 add_contents_before (new_element, before_element); 1066 } finally { 1067 _releaseReply ($in); 1068 } 1069 } 1071 public void modify_contents (org.omg.mof.Model.ModelElement old_element, org.omg.mof.Model.ModelElement new_element) throws org.omg.mof.Reflective.NotFound, org.omg.mof.Reflective.MofError 1072 { 1073 org.omg.CORBA.portable.InputStream $in = null; 1074 try { 1075 org.omg.CORBA.portable.OutputStream $out = _request ("modify_contents", true); 1076 org.omg.mof.Model.ModelElementHelper.write ($out, old_element); 1077 org.omg.mof.Model.ModelElementHelper.write ($out, new_element); 1078 $in = _invoke ($out); 1079 } catch (org.omg.CORBA.portable.ApplicationException $ex) { 1080 $in = $ex.getInputStream (); 1081 String _id = $ex.getId (); 1082 if (_id.equals ("IDL:org/omg/mof/Reflective/NotFound:1.0")) 1083 throw org.omg.mof.Reflective.NotFoundHelper.read ($in); 1084 else if (_id.equals ("IDL:org/omg/mof/Reflective/MofError:1.0")) 1085 throw org.omg.mof.Reflective.MofErrorHelper.read ($in); 1086 else 1087 throw new org.omg.CORBA.MARSHAL (_id); 1088 } catch (org.omg.CORBA.portable.RemarshalException $rm) { 1089 modify_contents (old_element, new_element); 1090 } finally { 1091 _releaseReply ($in); 1092 } 1093 } 1095 public void remove_contents (org.omg.mof.Model.ModelElement old_element) throws org.omg.mof.Reflective.NotFound, org.omg.mof.Reflective.MofError 1096 { 1097 org.omg.CORBA.portable.InputStream $in = null; 1098 try { 1099 org.omg.CORBA.portable.OutputStream $out = _request ("remove_contents", true); 1100 org.omg.mof.Model.ModelElementHelper.write ($out, old_element); 1101 $in = _invoke ($out); 1102 } catch (org.omg.CORBA.portable.ApplicationException $ex) { 1103 $in = $ex.getInputStream (); 1104 String _id = $ex.getId (); 1105 if (_id.equals ("IDL:org/omg/mof/Reflective/NotFound:1.0")) 1106 throw org.omg.mof.Reflective.NotFoundHelper.read ($in); 1107 else if (_id.equals ("IDL:org/omg/mof/Reflective/MofError:1.0")) 1108 throw org.omg.mof.Reflective.MofErrorHelper.read ($in); 1109 else 1110 throw new org.omg.CORBA.MARSHAL (_id); 1111 } catch (org.omg.CORBA.portable.RemarshalException $rm) { 1112 remove_contents (old_element); 1113 } finally { 1114 _releaseReply ($in); 1115 } 1116 } 1118 1119 public org.omg.mof.Model.VisibilityKind visibility () throws org.omg.mof.Reflective.MofError 1121 { 1122 org.omg.CORBA.portable.InputStream $in = null; 1123 try { 1124 org.omg.CORBA.portable.OutputStream $out = _request ("visibility", true); 1125 $in = _invoke ($out); 1126 org.omg.mof.Model.VisibilityKind $result = org.omg.mof.Model.VisibilityKindHelper.read ($in); 1127 return $result; 1128 } catch (org.omg.CORBA.portable.ApplicationException $ex) { 1129 $in = $ex.getInputStream (); 1130 String _id = $ex.getId (); 1131 if (_id.equals ("IDL:org/omg/mof/Reflective/MofError:1.0")) 1132 throw org.omg.mof.Reflective.MofErrorHelper.read ($in); 1133 else 1134 throw new org.omg.CORBA.MARSHAL (_id); 1135 } catch (org.omg.CORBA.portable.RemarshalException $rm) { 1136 return visibility (); 1137 } finally { 1138 _releaseReply ($in); 1139 } 1140 } 1142 public void set_visibility (org.omg.mof.Model.VisibilityKind new_value) throws org.omg.mof.Reflective.MofError 1143 { 1144 org.omg.CORBA.portable.InputStream $in = null; 1145 try { 1146 org.omg.CORBA.portable.OutputStream $out = _request ("set_visibility", true); 1147 org.omg.mof.Model.VisibilityKindHelper.write ($out, new_value); 1148 $in = _invoke ($out); 1149 } catch (org.omg.CORBA.portable.ApplicationException $ex) { 1150 $in = $ex.getInputStream (); 1151 String _id = $ex.getId (); 1152 if (_id.equals ("IDL:org/omg/mof/Reflective/MofError:1.0")) 1153 throw org.omg.mof.Reflective.MofErrorHelper.read ($in); 1154 else 1155 throw new org.omg.CORBA.MARSHAL (_id); 1156 } catch (org.omg.CORBA.portable.RemarshalException $rm) { 1157 set_visibility (new_value); 1158 } finally { 1159 _releaseReply ($in); 1160 } 1161 } 1163 1164 public org.omg.mof.Model.ScopeKind scope () throws org.omg.mof.Reflective.MofError 1166 { 1167 org.omg.CORBA.portable.InputStream $in = null; 1168 try { 1169 org.omg.CORBA.portable.OutputStream $out = _request ("scope", true); 1170 $in = _invoke ($out); 1171 org.omg.mof.Model.ScopeKind $result = org.omg.mof.Model.ScopeKindHelper.read ($in); 1172 return $result; 1173 } catch (org.omg.CORBA.portable.ApplicationException $ex) { 1174 $in = $ex.getInputStream (); 1175 String _id = $ex.getId (); 1176 if (_id.equals ("IDL:org/omg/mof/Reflective/MofError:1.0")) 1177 throw org.omg.mof.Reflective.MofErrorHelper.read ($in); 1178 else 1179 throw new org.omg.CORBA.MARSHAL (_id); 1180 } catch (org.omg.CORBA.portable.RemarshalException $rm) { 1181 return scope (); 1182 } finally { 1183 _releaseReply ($in); 1184 } 1185 } 1187 public void set_scope (org.omg.mof.Model.ScopeKind new_value) throws org.omg.mof.Reflective.MofError 1188 { 1189 org.omg.CORBA.portable.InputStream $in = null; 1190 try { 1191 org.omg.CORBA.portable.OutputStream $out = _request ("set_scope", true); 1192 org.omg.mof.Model.ScopeKindHelper.write ($out, new_value); 1193 $in = _invoke ($out); 1194 } catch (org.omg.CORBA.portable.ApplicationException $ex) { 1195 $in = $ex.getInputStream (); 1196 String _id = $ex.getId (); 1197 if (_id.equals ("IDL:org/omg/mof/Reflective/MofError:1.0")) 1198 throw org.omg.mof.Reflective.MofErrorHelper.read ($in); 1199 else 1200 throw new org.omg.CORBA.MARSHAL (_id); 1201 } catch (org.omg.CORBA.portable.RemarshalException $rm) { 1202 set_scope (new_value); 1203 } finally { 1204 _releaseReply ($in); 1205 } 1206 } 1208 private static String [] __ids = { 1210 "IDL:org/omg/mof/Model/BehavioralFeature:1.0", 1211 "IDL:org/omg/mof/Model/BehavioralFeatureClass:1.0", 1212 "IDL:org/omg/mof/Model/NamespaceClass:1.0", 1213 "IDL:org/omg/mof/Model/ModelElementClass:1.0", 1214 "IDL:org/omg/mof/Reflective/RefObject:1.0", 1215 "IDL:org/omg/mof/Reflective/RefBaseObject:1.0", 1216 "IDL:org/omg/mof/Model/FeatureClass:1.0", 1217 "IDL:org/omg/mof/Model/ModelElement:1.0", 1218 "IDL:org/omg/mof/Model/Namespace:1.0", 1219 "IDL:org/omg/mof/Model/Feature:1.0"}; 1220 1221 public String [] _ids () 1222 { 1223 return (String [])__ids.clone (); 1224 } 1225 1226 private void readObject (java.io.ObjectInputStream s) throws java.io.IOException 1227 { 1228 String str = s.readUTF (); 1229 String [] args = null; 1230 java.util.Properties props = null; 1231 org.omg.CORBA.Object obj = org.omg.CORBA.ORB.init (args, props).string_to_object (str); 1232 org.omg.CORBA.portable.Delegate delegate = ((org.omg.CORBA.portable.ObjectImpl ) obj)._get_delegate (); 1233 _set_delegate (delegate); 1234 } 1235 1236 private void writeObject (java.io.ObjectOutputStream s) throws java.io.IOException 1237 { 1238 String [] args = null; 1239 java.util.Properties props = null; 1240 String str = org.omg.CORBA.ORB.init (args, props).object_to_string (this); 1241 s.writeUTF (str); 1242 } 1243} | Popular Tags |