1 package org.omg.mof.Model; 2 3 4 10 11 12 public class _FeatureClassStub extends org.omg.CORBA.portable.ObjectImpl implements org.omg.mof.Model.FeatureClass 14 { 15 16 public org.omg.mof.Model.Feature[] all_of_type_feature () 17 { 18 org.omg.CORBA.portable.InputStream $in = null; 19 try { 20 org.omg.CORBA.portable.OutputStream $out = _request ("_get_all_of_type_feature", true); 21 $in = _invoke ($out); 22 org.omg.mof.Model.Feature $result[] = org.omg.mof.Model.FeatureSetHelper.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_feature (); 30 } finally { 31 _releaseReply ($in); 32 } 33 } 35 public org.omg.mof.Model.ModelElement[] all_of_type_model_element () 36 { 37 org.omg.CORBA.portable.InputStream $in = null; 38 try { 39 org.omg.CORBA.portable.OutputStream $out = _request ("_get_all_of_type_model_element", true); 40 $in = _invoke ($out); 41 org.omg.mof.Model.ModelElement $result[] = org.omg.mof.Model.ModelElementSetHelper.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_model_element (); 49 } finally { 50 _releaseReply ($in); 51 } 52 } 54 public boolean ref_is_instance_of (org.omg.mof.Reflective.RefObject some_class, boolean consider_subtypes) 55 { 56 org.omg.CORBA.portable.InputStream $in = null; 57 try { 58 org.omg.CORBA.portable.OutputStream $out = _request ("ref_is_instance_of", true); 59 org.omg.mof.Reflective.DesignatorTypeHelper.write ($out, some_class); 60 $out.write_boolean (consider_subtypes); 61 $in = _invoke ($out); 62 boolean $result = $in.read_boolean (); 63 return $result; 64 } catch (org.omg.CORBA.portable.ApplicationException $ex) { 65 $in = $ex.getInputStream (); 66 String _id = $ex.getId (); 67 throw new org.omg.CORBA.MARSHAL (_id); 68 } catch (org.omg.CORBA.portable.RemarshalException $rm) { 69 return ref_is_instance_of (some_class, consider_subtypes); 70 } finally { 71 _releaseReply ($in); 72 } 73 } 75 public org.omg.mof.Reflective.RefObject ref_create_instance (org.omg.CORBA.Any [] args) throws org.omg.mof.Reflective.MofError 76 { 77 org.omg.CORBA.portable.InputStream $in = null; 78 try { 79 org.omg.CORBA.portable.OutputStream $out = _request ("ref_create_instance", true); 80 org.omg.mof.Reflective.ValueTypeListHelper.write ($out, args); 81 $in = _invoke ($out); 82 org.omg.mof.Reflective.RefObject $result = org.omg.mof.Reflective.RefObjectHelper.read ($in); 83 return $result; 84 } catch (org.omg.CORBA.portable.ApplicationException $ex) { 85 $in = $ex.getInputStream (); 86 String _id = $ex.getId (); 87 if (_id.equals ("IDL:org/omg/mof/Reflective/MofError:1.0")) 88 throw org.omg.mof.Reflective.MofErrorHelper.read ($in); 89 else 90 throw new org.omg.CORBA.MARSHAL (_id); 91 } catch (org.omg.CORBA.portable.RemarshalException $rm) { 92 return ref_create_instance (args); 93 } finally { 94 _releaseReply ($in); 95 } 96 } 98 public org.omg.mof.Reflective.RefObject[] ref_all_objects (boolean include_subtypes) 99 { 100 org.omg.CORBA.portable.InputStream $in = null; 101 try { 102 org.omg.CORBA.portable.OutputStream $out = _request ("ref_all_objects", true); 103 $out.write_boolean (include_subtypes); 104 $in = _invoke ($out); 105 org.omg.mof.Reflective.RefObject $result[] = org.omg.mof.Reflective.RefObjectSetHelper.read ($in); 106 return $result; 107 } catch (org.omg.CORBA.portable.ApplicationException $ex) { 108 $in = $ex.getInputStream (); 109 String _id = $ex.getId (); 110 throw new org.omg.CORBA.MARSHAL (_id); 111 } catch (org.omg.CORBA.portable.RemarshalException $rm) { 112 return ref_all_objects (include_subtypes); 113 } finally { 114 _releaseReply ($in); 115 } 116 } 118 public void ref_set_value (org.omg.mof.Reflective.RefObject feature, org.omg.CORBA.Any new_value) throws org.omg.mof.Reflective.MofError 119 { 120 org.omg.CORBA.portable.InputStream $in = null; 121 try { 122 org.omg.CORBA.portable.OutputStream $out = _request ("ref_set_value", true); 123 org.omg.mof.Reflective.DesignatorTypeHelper.write ($out, feature); 124 org.omg.mof.Reflective._ValueTypeHelper.write ($out, new_value); 125 $in = _invoke ($out); 126 } catch (org.omg.CORBA.portable.ApplicationException $ex) { 127 $in = $ex.getInputStream (); 128 String _id = $ex.getId (); 129 if (_id.equals ("IDL:org/omg/mof/Reflective/MofError:1.0")) 130 throw org.omg.mof.Reflective.MofErrorHelper.read ($in); 131 else 132 throw new org.omg.CORBA.MARSHAL (_id); 133 } catch (org.omg.CORBA.portable.RemarshalException $rm) { 134 ref_set_value (feature, new_value); 135 } finally { 136 _releaseReply ($in); 137 } 138 } 140 public org.omg.CORBA.Any ref_value (org.omg.mof.Reflective.RefObject feature) throws org.omg.mof.Reflective.NotSet, org.omg.mof.Reflective.MofError 141 { 142 org.omg.CORBA.portable.InputStream $in = null; 143 try { 144 org.omg.CORBA.portable.OutputStream $out = _request ("ref_value", true); 145 org.omg.mof.Reflective.DesignatorTypeHelper.write ($out, feature); 146 $in = _invoke ($out); 147 org.omg.CORBA.Any $result = org.omg.mof.Reflective._ValueTypeHelper.read ($in); 148 return $result; 149 } catch (org.omg.CORBA.portable.ApplicationException $ex) { 150 $in = $ex.getInputStream (); 151 String _id = $ex.getId (); 152 if (_id.equals ("IDL:org/omg/mof/Reflective/NotSet:1.0")) 153 throw org.omg.mof.Reflective.NotSetHelper.read ($in); 154 else if (_id.equals ("IDL:org/omg/mof/Reflective/MofError:1.0")) 155 throw org.omg.mof.Reflective.MofErrorHelper.read ($in); 156 else 157 throw new org.omg.CORBA.MARSHAL (_id); 158 } catch (org.omg.CORBA.portable.RemarshalException $rm) { 159 return ref_value (feature); 160 } finally { 161 _releaseReply ($in); 162 } 163 } 165 public void ref_unset_value () throws org.omg.mof.Reflective.MofError 166 { 167 org.omg.CORBA.portable.InputStream $in = null; 168 try { 169 org.omg.CORBA.portable.OutputStream $out = _request ("ref_unset_value", true); 170 $in = _invoke ($out); 171 } catch (org.omg.CORBA.portable.ApplicationException $ex) { 172 $in = $ex.getInputStream (); 173 String _id = $ex.getId (); 174 if (_id.equals ("IDL:org/omg/mof/Reflective/MofError:1.0")) 175 throw org.omg.mof.Reflective.MofErrorHelper.read ($in); 176 else 177 throw new org.omg.CORBA.MARSHAL (_id); 178 } catch (org.omg.CORBA.portable.RemarshalException $rm) { 179 ref_unset_value (); 180 } finally { 181 _releaseReply ($in); 182 } 183 } 185 public void ref_add_value (org.omg.mof.Reflective.RefObject feature, org.omg.CORBA.Any new_element) throws org.omg.mof.Reflective.MofError 186 { 187 org.omg.CORBA.portable.InputStream $in = null; 188 try { 189 org.omg.CORBA.portable.OutputStream $out = _request ("ref_add_value", true); 190 org.omg.mof.Reflective.DesignatorTypeHelper.write ($out, feature); 191 org.omg.mof.Reflective._ValueTypeHelper.write ($out, new_element); 192 $in = _invoke ($out); 193 } catch (org.omg.CORBA.portable.ApplicationException $ex) { 194 $in = $ex.getInputStream (); 195 String _id = $ex.getId (); 196 if (_id.equals ("IDL:org/omg/mof/Reflective/MofError:1.0")) 197 throw org.omg.mof.Reflective.MofErrorHelper.read ($in); 198 else 199 throw new org.omg.CORBA.MARSHAL (_id); 200 } catch (org.omg.CORBA.portable.RemarshalException $rm) { 201 ref_add_value (feature, new_element); 202 } finally { 203 _releaseReply ($in); 204 } 205 } 207 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 208 { 209 org.omg.CORBA.portable.InputStream $in = null; 210 try { 211 org.omg.CORBA.portable.OutputStream $out = _request ("ref_add_value_before", true); 212 org.omg.mof.Reflective.DesignatorTypeHelper.write ($out, feature); 213 org.omg.mof.Reflective._ValueTypeHelper.write ($out, new_element); 214 org.omg.mof.Reflective._ValueTypeHelper.write ($out, before_element); 215 $in = _invoke ($out); 216 } catch (org.omg.CORBA.portable.ApplicationException $ex) { 217 $in = $ex.getInputStream (); 218 String _id = $ex.getId (); 219 if (_id.equals ("IDL:org/omg/mof/Reflective/NotFound:1.0")) 220 throw org.omg.mof.Reflective.NotFoundHelper.read ($in); 221 else if (_id.equals ("IDL:org/omg/mof/Reflective/MofError:1.0")) 222 throw org.omg.mof.Reflective.MofErrorHelper.read ($in); 223 else 224 throw new org.omg.CORBA.MARSHAL (_id); 225 } catch (org.omg.CORBA.portable.RemarshalException $rm) { 226 ref_add_value_before (feature, new_element, before_element); 227 } finally { 228 _releaseReply ($in); 229 } 230 } 232 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 233 { 234 org.omg.CORBA.portable.InputStream $in = null; 235 try { 236 org.omg.CORBA.portable.OutputStream $out = _request ("ref_add_value_at", true); 237 org.omg.mof.Reflective.DesignatorTypeHelper.write ($out, feature); 238 org.omg.mof.Reflective._ValueTypeHelper.write ($out, new_element); 239 $out.write_ulong (position); 240 $in = _invoke ($out); 241 } catch (org.omg.CORBA.portable.ApplicationException $ex) { 242 $in = $ex.getInputStream (); 243 String _id = $ex.getId (); 244 if (_id.equals ("IDL:org/omg/mof/Reflective/BadPosition:1.0")) 245 throw org.omg.mof.Reflective.BadPositionHelper.read ($in); 246 else if (_id.equals ("IDL:org/omg/mof/Reflective/MofError:1.0")) 247 throw org.omg.mof.Reflective.MofErrorHelper.read ($in); 248 else 249 throw new org.omg.CORBA.MARSHAL (_id); 250 } catch (org.omg.CORBA.portable.RemarshalException $rm) { 251 ref_add_value_at (feature, new_element, position); 252 } finally { 253 _releaseReply ($in); 254 } 255 } 257 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 258 { 259 org.omg.CORBA.portable.InputStream $in = null; 260 try { 261 org.omg.CORBA.portable.OutputStream $out = _request ("ref_modify_value", true); 262 org.omg.mof.Reflective.DesignatorTypeHelper.write ($out, feature); 263 org.omg.mof.Reflective._ValueTypeHelper.write ($out, old_element); 264 org.omg.mof.Reflective._ValueTypeHelper.write ($out, new_element); 265 $in = _invoke ($out); 266 } catch (org.omg.CORBA.portable.ApplicationException $ex) { 267 $in = $ex.getInputStream (); 268 String _id = $ex.getId (); 269 if (_id.equals ("IDL:org/omg/mof/Reflective/NotFound:1.0")) 270 throw org.omg.mof.Reflective.NotFoundHelper.read ($in); 271 else if (_id.equals ("IDL:org/omg/mof/Reflective/MofError:1.0")) 272 throw org.omg.mof.Reflective.MofErrorHelper.read ($in); 273 else 274 throw new org.omg.CORBA.MARSHAL (_id); 275 } catch (org.omg.CORBA.portable.RemarshalException $rm) { 276 ref_modify_value (feature, old_element, new_element); 277 } finally { 278 _releaseReply ($in); 279 } 280 } 282 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 283 { 284 org.omg.CORBA.portable.InputStream $in = null; 285 try { 286 org.omg.CORBA.portable.OutputStream $out = _request ("ref_modify_value_at", true); 287 org.omg.mof.Reflective.DesignatorTypeHelper.write ($out, feature); 288 org.omg.mof.Reflective._ValueTypeHelper.write ($out, new_element); 289 $out.write_ulong (position); 290 $in = _invoke ($out); 291 } catch (org.omg.CORBA.portable.ApplicationException $ex) { 292 $in = $ex.getInputStream (); 293 String _id = $ex.getId (); 294 if (_id.equals ("IDL:org/omg/mof/Reflective/BadPosition:1.0")) 295 throw org.omg.mof.Reflective.BadPositionHelper.read ($in); 296 else if (_id.equals ("IDL:org/omg/mof/Reflective/MofError:1.0")) 297 throw org.omg.mof.Reflective.MofErrorHelper.read ($in); 298 else 299 throw new org.omg.CORBA.MARSHAL (_id); 300 } catch (org.omg.CORBA.portable.RemarshalException $rm) { 301 ref_modify_value_at (feature, new_element, position); 302 } finally { 303 _releaseReply ($in); 304 } 305 } 307 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 308 { 309 org.omg.CORBA.portable.InputStream $in = null; 310 try { 311 org.omg.CORBA.portable.OutputStream $out = _request ("ref_remove_value", true); 312 org.omg.mof.Reflective.DesignatorTypeHelper.write ($out, feature); 313 org.omg.mof.Reflective._ValueTypeHelper.write ($out, existing_element); 314 $in = _invoke ($out); 315 } catch (org.omg.CORBA.portable.ApplicationException $ex) { 316 $in = $ex.getInputStream (); 317 String _id = $ex.getId (); 318 if (_id.equals ("IDL:org/omg/mof/Reflective/NotFound:1.0")) 319 throw org.omg.mof.Reflective.NotFoundHelper.read ($in); 320 else if (_id.equals ("IDL:org/omg/mof/Reflective/MofError:1.0")) 321 throw org.omg.mof.Reflective.MofErrorHelper.read ($in); 322 else 323 throw new org.omg.CORBA.MARSHAL (_id); 324 } catch (org.omg.CORBA.portable.RemarshalException $rm) { 325 ref_remove_value (feature, existing_element); 326 } finally { 327 _releaseReply ($in); 328 } 329 } 331 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 332 { 333 org.omg.CORBA.portable.InputStream $in = null; 334 try { 335 org.omg.CORBA.portable.OutputStream $out = _request ("ref_remove_value_at", true); 336 org.omg.mof.Reflective.DesignatorTypeHelper.write ($out, feature); 337 $out.write_ulong (position); 338 $in = _invoke ($out); 339 } catch (org.omg.CORBA.portable.ApplicationException $ex) { 340 $in = $ex.getInputStream (); 341 String _id = $ex.getId (); 342 if (_id.equals ("IDL:org/omg/mof/Reflective/BadPosition:1.0")) 343 throw org.omg.mof.Reflective.BadPositionHelper.read ($in); 344 else if (_id.equals ("IDL:org/omg/mof/Reflective/MofError:1.0")) 345 throw org.omg.mof.Reflective.MofErrorHelper.read ($in); 346 else 347 throw new org.omg.CORBA.MARSHAL (_id); 348 } catch (org.omg.CORBA.portable.RemarshalException $rm) { 349 ref_remove_value_at (feature, position); 350 } finally { 351 _releaseReply ($in); 352 } 353 } 355 public org.omg.mof.Reflective.RefObject ref_immediate_composite () 356 { 357 org.omg.CORBA.portable.InputStream $in = null; 358 try { 359 org.omg.CORBA.portable.OutputStream $out = _request ("ref_immediate_composite", true); 360 $in = _invoke ($out); 361 org.omg.mof.Reflective.RefObject $result = org.omg.mof.Reflective.RefObjectHelper.read ($in); 362 return $result; 363 } catch (org.omg.CORBA.portable.ApplicationException $ex) { 364 $in = $ex.getInputStream (); 365 String _id = $ex.getId (); 366 throw new org.omg.CORBA.MARSHAL (_id); 367 } catch (org.omg.CORBA.portable.RemarshalException $rm) { 368 return ref_immediate_composite (); 369 } finally { 370 _releaseReply ($in); 371 } 372 } 374 public org.omg.mof.Reflective.RefObject ref_outermost_composite () 375 { 376 org.omg.CORBA.portable.InputStream $in = null; 377 try { 378 org.omg.CORBA.portable.OutputStream $out = _request ("ref_outermost_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_outermost_composite (); 388 } finally { 389 _releaseReply ($in); 390 } 391 } 393 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 394 { 395 org.omg.CORBA.portable.InputStream $in = null; 396 try { 397 org.omg.CORBA.portable.OutputStream $out = _request ("ref_invoke_operation", true); 398 org.omg.mof.Reflective.DesignatorTypeHelper.write ($out, requested_operation); 399 org.omg.mof.Reflective.ValueTypeListHelper.write ($out, args.value); 400 $in = _invoke ($out); 401 org.omg.CORBA.Any $result = org.omg.mof.Reflective._ValueTypeHelper.read ($in); 402 args.value = org.omg.mof.Reflective.ValueTypeListHelper.read ($in); 403 return $result; 404 } catch (org.omg.CORBA.portable.ApplicationException $ex) { 405 $in = $ex.getInputStream (); 406 String _id = $ex.getId (); 407 if (_id.equals ("IDL:org/omg/mof/Reflective/OtherException:1.0")) 408 throw org.omg.mof.Reflective.OtherExceptionHelper.read ($in); 409 else if (_id.equals ("IDL:org/omg/mof/Reflective/MofError:1.0")) 410 throw org.omg.mof.Reflective.MofErrorHelper.read ($in); 411 else 412 throw new org.omg.CORBA.MARSHAL (_id); 413 } catch (org.omg.CORBA.portable.RemarshalException $rm) { 414 return ref_invoke_operation (requested_operation, args); 415 } finally { 416 _releaseReply ($in); 417 } 418 } 420 public String ref_mof_id () 421 { 422 org.omg.CORBA.portable.InputStream $in = null; 423 try { 424 org.omg.CORBA.portable.OutputStream $out = _request ("ref_mof_id", true); 425 $in = _invoke ($out); 426 String $result = $in.read_string (); 427 return $result; 428 } catch (org.omg.CORBA.portable.ApplicationException $ex) { 429 $in = $ex.getInputStream (); 430 String _id = $ex.getId (); 431 throw new org.omg.CORBA.MARSHAL (_id); 432 } catch (org.omg.CORBA.portable.RemarshalException $rm) { 433 return ref_mof_id (); 434 } finally { 435 _releaseReply ($in); 436 } 437 } 439 public org.omg.mof.Reflective.RefObject ref_meta_object () 440 { 441 org.omg.CORBA.portable.InputStream $in = null; 442 try { 443 org.omg.CORBA.portable.OutputStream $out = _request ("ref_meta_object", true); 444 $in = _invoke ($out); 445 org.omg.mof.Reflective.RefObject $result = org.omg.mof.Reflective.DesignatorTypeHelper.read ($in); 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_meta_object (); 453 } finally { 454 _releaseReply ($in); 455 } 456 } 458 public boolean ref_itself (org.omg.mof.Reflective.RefBaseObject other_object) 459 { 460 org.omg.CORBA.portable.InputStream $in = null; 461 try { 462 org.omg.CORBA.portable.OutputStream $out = _request ("ref_itself", true); 463 org.omg.mof.Reflective.RefBaseObjectHelper.write ($out, other_object); 464 $in = _invoke ($out); 465 boolean $result = $in.read_boolean (); 466 return $result; 467 } catch (org.omg.CORBA.portable.ApplicationException $ex) { 468 $in = $ex.getInputStream (); 469 String _id = $ex.getId (); 470 throw new org.omg.CORBA.MARSHAL (_id); 471 } catch (org.omg.CORBA.portable.RemarshalException $rm) { 472 return ref_itself (other_object); 473 } finally { 474 _releaseReply ($in); 475 } 476 } 478 public org.omg.mof.Reflective._RefPackage ref_immediate_package () 479 { 480 org.omg.CORBA.portable.InputStream $in = null; 481 try { 482 org.omg.CORBA.portable.OutputStream $out = _request ("ref_immediate_package", true); 483 $in = _invoke ($out); 484 org.omg.mof.Reflective._RefPackage $result = org.omg.mof.Reflective._RefPackageHelper.read ($in); 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_immediate_package (); 492 } finally { 493 _releaseReply ($in); 494 } 495 } 497 public org.omg.mof.Reflective._RefPackage ref_outermost_package () 498 { 499 org.omg.CORBA.portable.InputStream $in = null; 500 try { 501 org.omg.CORBA.portable.OutputStream $out = _request ("ref_outermost_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_outermost_package (); 511 } finally { 512 _releaseReply ($in); 513 } 514 } 516 public void ref_delete () throws org.omg.mof.Reflective.MofError 517 { 518 org.omg.CORBA.portable.InputStream $in = null; 519 try { 520 org.omg.CORBA.portable.OutputStream $out = _request ("ref_delete", true); 521 $in = _invoke ($out); 522 } catch (org.omg.CORBA.portable.ApplicationException $ex) { 523 $in = $ex.getInputStream (); 524 String _id = $ex.getId (); 525 if (_id.equals ("IDL:org/omg/mof/Reflective/MofError:1.0")) 526 throw org.omg.mof.Reflective.MofErrorHelper.read ($in); 527 else 528 throw new org.omg.CORBA.MARSHAL (_id); 529 } catch (org.omg.CORBA.portable.RemarshalException $rm) { 530 ref_delete (); 531 } finally { 532 _releaseReply ($in); 533 } 534 } 536 private static String [] __ids = { 538 "IDL:org/omg/mof/Model/FeatureClass:1.0", 539 "IDL:org/omg/mof/Model/ModelElementClass:1.0", 540 "IDL:org/omg/mof/Reflective/RefObject:1.0", 541 "IDL:org/omg/mof/Reflective/RefBaseObject:1.0"}; 542 543 public String [] _ids () 544 { 545 return (String [])__ids.clone (); 546 } 547 548 private void readObject (java.io.ObjectInputStream s) throws java.io.IOException 549 { 550 String str = s.readUTF (); 551 String [] args = null; 552 java.util.Properties props = null; 553 org.omg.CORBA.Object obj = org.omg.CORBA.ORB.init (args, props).string_to_object (str); 554 org.omg.CORBA.portable.Delegate delegate = ((org.omg.CORBA.portable.ObjectImpl ) obj)._get_delegate (); 555 _set_delegate (delegate); 556 } 557 558 private void writeObject (java.io.ObjectOutputStream s) throws java.io.IOException 559 { 560 String [] args = null; 561 java.util.Properties props = null; 562 String str = org.omg.CORBA.ORB.init (args, props).object_to_string (this); 563 s.writeUTF (str); 564 } 565 } | Popular Tags |