1 package org.omg.mof.Model; 2 3 4 10 11 12 public class _BehavioralFeatureClassStub extends org.omg.CORBA.portable.ObjectImpl implements org.omg.mof.Model.BehavioralFeatureClass 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 private static String [] __ids = { 576 "IDL:org/omg/mof/Model/BehavioralFeatureClass:1.0", 577 "IDL:org/omg/mof/Model/NamespaceClass:1.0", 578 "IDL:org/omg/mof/Model/ModelElementClass:1.0", 579 "IDL:org/omg/mof/Reflective/RefObject:1.0", 580 "IDL:org/omg/mof/Reflective/RefBaseObject:1.0", 581 "IDL:org/omg/mof/Model/FeatureClass:1.0"}; 582 583 public String [] _ids () 584 { 585 return (String [])__ids.clone (); 586 } 587 588 private void readObject (java.io.ObjectInputStream s) throws java.io.IOException 589 { 590 String str = s.readUTF (); 591 String [] args = null; 592 java.util.Properties props = null; 593 org.omg.CORBA.Object obj = org.omg.CORBA.ORB.init (args, props).string_to_object (str); 594 org.omg.CORBA.portable.Delegate delegate = ((org.omg.CORBA.portable.ObjectImpl ) obj)._get_delegate (); 595 _set_delegate (delegate); 596 } 597 598 private void writeObject (java.io.ObjectOutputStream s) throws java.io.IOException 599 { 600 String [] args = null; 601 java.util.Properties props = null; 602 String str = org.omg.CORBA.ORB.init (args, props).object_to_string (this); 603 s.writeUTF (str); 604 } 605 } | Popular Tags |