1 package org.omg.mof.Model; 2 3 4 10 11 public class __ModelPackageStub extends org.omg.CORBA.portable.ObjectImpl implements org.omg.mof.Model._ModelPackage 12 { 13 14 public org.omg.mof.Model.ModelElementClass model_element_ref () 15 { 16 org.omg.CORBA.portable.InputStream $in = null; 17 try { 18 org.omg.CORBA.portable.OutputStream $out = _request ("_get_model_element_ref", true); 19 $in = _invoke ($out); 20 org.omg.mof.Model.ModelElementClass $result = org.omg.mof.Model.ModelElementClassHelper.read ($in); 21 return $result; 22 } catch (org.omg.CORBA.portable.ApplicationException $ex) { 23 $in = $ex.getInputStream (); 24 String _id = $ex.getId (); 25 throw new org.omg.CORBA.MARSHAL (_id); 26 } catch (org.omg.CORBA.portable.RemarshalException $rm) { 27 return model_element_ref (); 28 } finally { 29 _releaseReply ($in); 30 } 31 } 33 public org.omg.mof.Model.ImportClass import_ref () 34 { 35 org.omg.CORBA.portable.InputStream $in = null; 36 try { 37 org.omg.CORBA.portable.OutputStream $out = _request ("_get_import_ref", true); 38 $in = _invoke ($out); 39 org.omg.mof.Model.ImportClass $result = org.omg.mof.Model.ImportClassHelper.read ($in); 40 return $result; 41 } catch (org.omg.CORBA.portable.ApplicationException $ex) { 42 $in = $ex.getInputStream (); 43 String _id = $ex.getId (); 44 throw new org.omg.CORBA.MARSHAL (_id); 45 } catch (org.omg.CORBA.portable.RemarshalException $rm) { 46 return import_ref (); 47 } finally { 48 _releaseReply ($in); 49 } 50 } 52 public org.omg.mof.Model.NamespaceClass namespace_ref () 53 { 54 org.omg.CORBA.portable.InputStream $in = null; 55 try { 56 org.omg.CORBA.portable.OutputStream $out = _request ("_get_namespace_ref", true); 57 $in = _invoke ($out); 58 org.omg.mof.Model.NamespaceClass $result = org.omg.mof.Model.NamespaceClassHelper.read ($in); 59 return $result; 60 } catch (org.omg.CORBA.portable.ApplicationException $ex) { 61 $in = $ex.getInputStream (); 62 String _id = $ex.getId (); 63 throw new org.omg.CORBA.MARSHAL (_id); 64 } catch (org.omg.CORBA.portable.RemarshalException $rm) { 65 return namespace_ref (); 66 } finally { 67 _releaseReply ($in); 68 } 69 } 71 public org.omg.mof.Model.ConstraintClass constraint_ref () 72 { 73 org.omg.CORBA.portable.InputStream $in = null; 74 try { 75 org.omg.CORBA.portable.OutputStream $out = _request ("_get_constraint_ref", true); 76 $in = _invoke ($out); 77 org.omg.mof.Model.ConstraintClass $result = org.omg.mof.Model.ConstraintClassHelper.read ($in); 78 return $result; 79 } catch (org.omg.CORBA.portable.ApplicationException $ex) { 80 $in = $ex.getInputStream (); 81 String _id = $ex.getId (); 82 throw new org.omg.CORBA.MARSHAL (_id); 83 } catch (org.omg.CORBA.portable.RemarshalException $rm) { 84 return constraint_ref (); 85 } finally { 86 _releaseReply ($in); 87 } 88 } 90 public org.omg.mof.Model.TagClass tag_ref () 91 { 92 org.omg.CORBA.portable.InputStream $in = null; 93 try { 94 org.omg.CORBA.portable.OutputStream $out = _request ("_get_tag_ref", true); 95 $in = _invoke ($out); 96 org.omg.mof.Model.TagClass $result = org.omg.mof.Model.TagClassHelper.read ($in); 97 return $result; 98 } catch (org.omg.CORBA.portable.ApplicationException $ex) { 99 $in = $ex.getInputStream (); 100 String _id = $ex.getId (); 101 throw new org.omg.CORBA.MARSHAL (_id); 102 } catch (org.omg.CORBA.portable.RemarshalException $rm) { 103 return tag_ref (); 104 } finally { 105 _releaseReply ($in); 106 } 107 } 109 public org.omg.mof.Model.TypedElementClass typed_element_ref () 110 { 111 org.omg.CORBA.portable.InputStream $in = null; 112 try { 113 org.omg.CORBA.portable.OutputStream $out = _request ("_get_typed_element_ref", true); 114 $in = _invoke ($out); 115 org.omg.mof.Model.TypedElementClass $result = org.omg.mof.Model.TypedElementClassHelper.read ($in); 116 return $result; 117 } catch (org.omg.CORBA.portable.ApplicationException $ex) { 118 $in = $ex.getInputStream (); 119 String _id = $ex.getId (); 120 throw new org.omg.CORBA.MARSHAL (_id); 121 } catch (org.omg.CORBA.portable.RemarshalException $rm) { 122 return typed_element_ref (); 123 } finally { 124 _releaseReply ($in); 125 } 126 } 128 public org.omg.mof.Model.GeneralizableElementClass generalizable_element_ref () 129 { 130 org.omg.CORBA.portable.InputStream $in = null; 131 try { 132 org.omg.CORBA.portable.OutputStream $out = _request ("_get_generalizable_element_ref", true); 133 $in = _invoke ($out); 134 org.omg.mof.Model.GeneralizableElementClass $result = org.omg.mof.Model.GeneralizableElementClassHelper.read ($in); 135 return $result; 136 } catch (org.omg.CORBA.portable.ApplicationException $ex) { 137 $in = $ex.getInputStream (); 138 String _id = $ex.getId (); 139 throw new org.omg.CORBA.MARSHAL (_id); 140 } catch (org.omg.CORBA.portable.RemarshalException $rm) { 141 return generalizable_element_ref (); 142 } finally { 143 _releaseReply ($in); 144 } 145 } 147 public org.omg.mof.Model.FeatureClass feature_ref () 148 { 149 org.omg.CORBA.portable.InputStream $in = null; 150 try { 151 org.omg.CORBA.portable.OutputStream $out = _request ("_get_feature_ref", true); 152 $in = _invoke ($out); 153 org.omg.mof.Model.FeatureClass $result = org.omg.mof.Model.FeatureClassHelper.read ($in); 154 return $result; 155 } catch (org.omg.CORBA.portable.ApplicationException $ex) { 156 $in = $ex.getInputStream (); 157 String _id = $ex.getId (); 158 throw new org.omg.CORBA.MARSHAL (_id); 159 } catch (org.omg.CORBA.portable.RemarshalException $rm) { 160 return feature_ref (); 161 } finally { 162 _releaseReply ($in); 163 } 164 } 166 public org.omg.mof.Model.TypeAliasClass type_alias_ref () 167 { 168 org.omg.CORBA.portable.InputStream $in = null; 169 try { 170 org.omg.CORBA.portable.OutputStream $out = _request ("_get_type_alias_ref", true); 171 $in = _invoke ($out); 172 org.omg.mof.Model.TypeAliasClass $result = org.omg.mof.Model.TypeAliasClassHelper.read ($in); 173 return $result; 174 } catch (org.omg.CORBA.portable.ApplicationException $ex) { 175 $in = $ex.getInputStream (); 176 String _id = $ex.getId (); 177 throw new org.omg.CORBA.MARSHAL (_id); 178 } catch (org.omg.CORBA.portable.RemarshalException $rm) { 179 return type_alias_ref (); 180 } finally { 181 _releaseReply ($in); 182 } 183 } 185 public org.omg.mof.Model.ParameterClass parameter_ref () 186 { 187 org.omg.CORBA.portable.InputStream $in = null; 188 try { 189 org.omg.CORBA.portable.OutputStream $out = _request ("_get_parameter_ref", true); 190 $in = _invoke ($out); 191 org.omg.mof.Model.ParameterClass $result = org.omg.mof.Model.ParameterClassHelper.read ($in); 192 return $result; 193 } catch (org.omg.CORBA.portable.ApplicationException $ex) { 194 $in = $ex.getInputStream (); 195 String _id = $ex.getId (); 196 throw new org.omg.CORBA.MARSHAL (_id); 197 } catch (org.omg.CORBA.portable.RemarshalException $rm) { 198 return parameter_ref (); 199 } finally { 200 _releaseReply ($in); 201 } 202 } 204 public org.omg.mof.Model.ConstantClass constant_ref () 205 { 206 org.omg.CORBA.portable.InputStream $in = null; 207 try { 208 org.omg.CORBA.portable.OutputStream $out = _request ("_get_constant_ref", true); 209 $in = _invoke ($out); 210 org.omg.mof.Model.ConstantClass $result = org.omg.mof.Model.ConstantClassHelper.read ($in); 211 return $result; 212 } catch (org.omg.CORBA.portable.ApplicationException $ex) { 213 $in = $ex.getInputStream (); 214 String _id = $ex.getId (); 215 throw new org.omg.CORBA.MARSHAL (_id); 216 } catch (org.omg.CORBA.portable.RemarshalException $rm) { 217 return constant_ref (); 218 } finally { 219 _releaseReply ($in); 220 } 221 } 223 public org.omg.mof.Model.StructuralFeatureClass structural_feature_ref () 224 { 225 org.omg.CORBA.portable.InputStream $in = null; 226 try { 227 org.omg.CORBA.portable.OutputStream $out = _request ("_get_structural_feature_ref", true); 228 $in = _invoke ($out); 229 org.omg.mof.Model.StructuralFeatureClass $result = org.omg.mof.Model.StructuralFeatureClassHelper.read ($in); 230 return $result; 231 } catch (org.omg.CORBA.portable.ApplicationException $ex) { 232 $in = $ex.getInputStream (); 233 String _id = $ex.getId (); 234 throw new org.omg.CORBA.MARSHAL (_id); 235 } catch (org.omg.CORBA.portable.RemarshalException $rm) { 236 return structural_feature_ref (); 237 } finally { 238 _releaseReply ($in); 239 } 240 } 242 public org.omg.mof.Model.BehavioralFeatureClass behavioral_feature_ref () 243 { 244 org.omg.CORBA.portable.InputStream $in = null; 245 try { 246 org.omg.CORBA.portable.OutputStream $out = _request ("_get_behavioral_feature_ref", true); 247 $in = _invoke ($out); 248 org.omg.mof.Model.BehavioralFeatureClass $result = org.omg.mof.Model.BehavioralFeatureClassHelper.read ($in); 249 return $result; 250 } catch (org.omg.CORBA.portable.ApplicationException $ex) { 251 $in = $ex.getInputStream (); 252 String _id = $ex.getId (); 253 throw new org.omg.CORBA.MARSHAL (_id); 254 } catch (org.omg.CORBA.portable.RemarshalException $rm) { 255 return behavioral_feature_ref (); 256 } finally { 257 _releaseReply ($in); 258 } 259 } 261 public org.omg.mof.Model.ClassifierClass classifier_ref () 262 { 263 org.omg.CORBA.portable.InputStream $in = null; 264 try { 265 org.omg.CORBA.portable.OutputStream $out = _request ("_get_classifier_ref", true); 266 $in = _invoke ($out); 267 org.omg.mof.Model.ClassifierClass $result = org.omg.mof.Model.ClassifierClassHelper.read ($in); 268 return $result; 269 } catch (org.omg.CORBA.portable.ApplicationException $ex) { 270 $in = $ex.getInputStream (); 271 String _id = $ex.getId (); 272 throw new org.omg.CORBA.MARSHAL (_id); 273 } catch (org.omg.CORBA.portable.RemarshalException $rm) { 274 return classifier_ref (); 275 } finally { 276 _releaseReply ($in); 277 } 278 } 280 public org.omg.mof.Model.PackageClass package_ref () 281 { 282 org.omg.CORBA.portable.InputStream $in = null; 283 try { 284 org.omg.CORBA.portable.OutputStream $out = _request ("_get_package_ref", true); 285 $in = _invoke ($out); 286 org.omg.mof.Model.PackageClass $result = org.omg.mof.Model.PackageClassHelper.read ($in); 287 return $result; 288 } catch (org.omg.CORBA.portable.ApplicationException $ex) { 289 $in = $ex.getInputStream (); 290 String _id = $ex.getId (); 291 throw new org.omg.CORBA.MARSHAL (_id); 292 } catch (org.omg.CORBA.portable.RemarshalException $rm) { 293 return package_ref (); 294 } finally { 295 _releaseReply ($in); 296 } 297 } 299 public org.omg.mof.Model.AssociationEndClass association_end_ref () 300 { 301 org.omg.CORBA.portable.InputStream $in = null; 302 try { 303 org.omg.CORBA.portable.OutputStream $out = _request ("_get_association_end_ref", true); 304 $in = _invoke ($out); 305 org.omg.mof.Model.AssociationEndClass $result = org.omg.mof.Model.AssociationEndClassHelper.read ($in); 306 return $result; 307 } catch (org.omg.CORBA.portable.ApplicationException $ex) { 308 $in = $ex.getInputStream (); 309 String _id = $ex.getId (); 310 throw new org.omg.CORBA.MARSHAL (_id); 311 } catch (org.omg.CORBA.portable.RemarshalException $rm) { 312 return association_end_ref (); 313 } finally { 314 _releaseReply ($in); 315 } 316 } 318 public org.omg.mof.Model.ReferenceClass reference_ref () 319 { 320 org.omg.CORBA.portable.InputStream $in = null; 321 try { 322 org.omg.CORBA.portable.OutputStream $out = _request ("_get_reference_ref", true); 323 $in = _invoke ($out); 324 org.omg.mof.Model.ReferenceClass $result = org.omg.mof.Model.ReferenceClassHelper.read ($in); 325 return $result; 326 } catch (org.omg.CORBA.portable.ApplicationException $ex) { 327 $in = $ex.getInputStream (); 328 String _id = $ex.getId (); 329 throw new org.omg.CORBA.MARSHAL (_id); 330 } catch (org.omg.CORBA.portable.RemarshalException $rm) { 331 return reference_ref (); 332 } finally { 333 _releaseReply ($in); 334 } 335 } 337 public org.omg.mof.Model.MofAttributeClass mof_attribute_ref () 338 { 339 org.omg.CORBA.portable.InputStream $in = null; 340 try { 341 org.omg.CORBA.portable.OutputStream $out = _request ("_get_mof_attribute_ref", true); 342 $in = _invoke ($out); 343 org.omg.mof.Model.MofAttributeClass $result = org.omg.mof.Model.MofAttributeClassHelper.read ($in); 344 return $result; 345 } catch (org.omg.CORBA.portable.ApplicationException $ex) { 346 $in = $ex.getInputStream (); 347 String _id = $ex.getId (); 348 throw new org.omg.CORBA.MARSHAL (_id); 349 } catch (org.omg.CORBA.portable.RemarshalException $rm) { 350 return mof_attribute_ref (); 351 } finally { 352 _releaseReply ($in); 353 } 354 } 356 public org.omg.mof.Model.MofExceptionClass mof_exception_ref () 357 { 358 org.omg.CORBA.portable.InputStream $in = null; 359 try { 360 org.omg.CORBA.portable.OutputStream $out = _request ("_get_mof_exception_ref", true); 361 $in = _invoke ($out); 362 org.omg.mof.Model.MofExceptionClass $result = org.omg.mof.Model.MofExceptionClassHelper.read ($in); 363 return $result; 364 } catch (org.omg.CORBA.portable.ApplicationException $ex) { 365 $in = $ex.getInputStream (); 366 String _id = $ex.getId (); 367 throw new org.omg.CORBA.MARSHAL (_id); 368 } catch (org.omg.CORBA.portable.RemarshalException $rm) { 369 return mof_exception_ref (); 370 } finally { 371 _releaseReply ($in); 372 } 373 } 375 public org.omg.mof.Model.OperationClass operation_ref () 376 { 377 org.omg.CORBA.portable.InputStream $in = null; 378 try { 379 org.omg.CORBA.portable.OutputStream $out = _request ("_get_operation_ref", true); 380 $in = _invoke ($out); 381 org.omg.mof.Model.OperationClass $result = org.omg.mof.Model.OperationClassHelper.read ($in); 382 return $result; 383 } catch (org.omg.CORBA.portable.ApplicationException $ex) { 384 $in = $ex.getInputStream (); 385 String _id = $ex.getId (); 386 throw new org.omg.CORBA.MARSHAL (_id); 387 } catch (org.omg.CORBA.portable.RemarshalException $rm) { 388 return operation_ref (); 389 } finally { 390 _releaseReply ($in); 391 } 392 } 394 public org.omg.mof.Model.ClassClass class_ref () 395 { 396 org.omg.CORBA.portable.InputStream $in = null; 397 try { 398 org.omg.CORBA.portable.OutputStream $out = _request ("_get_class_ref", true); 399 $in = _invoke ($out); 400 org.omg.mof.Model.ClassClass $result = org.omg.mof.Model.ClassClassHelper.read ($in); 401 return $result; 402 } catch (org.omg.CORBA.portable.ApplicationException $ex) { 403 $in = $ex.getInputStream (); 404 String _id = $ex.getId (); 405 throw new org.omg.CORBA.MARSHAL (_id); 406 } catch (org.omg.CORBA.portable.RemarshalException $rm) { 407 return class_ref (); 408 } finally { 409 _releaseReply ($in); 410 } 411 } 413 public org.omg.mof.Model.DataTypeClass data_type_ref () 414 { 415 org.omg.CORBA.portable.InputStream $in = null; 416 try { 417 org.omg.CORBA.portable.OutputStream $out = _request ("_get_data_type_ref", true); 418 $in = _invoke ($out); 419 org.omg.mof.Model.DataTypeClass $result = org.omg.mof.Model.DataTypeClassHelper.read ($in); 420 return $result; 421 } catch (org.omg.CORBA.portable.ApplicationException $ex) { 422 $in = $ex.getInputStream (); 423 String _id = $ex.getId (); 424 throw new org.omg.CORBA.MARSHAL (_id); 425 } catch (org.omg.CORBA.portable.RemarshalException $rm) { 426 return data_type_ref (); 427 } finally { 428 _releaseReply ($in); 429 } 430 } 432 public org.omg.mof.Model.AssociationClass association_ref () 433 { 434 org.omg.CORBA.portable.InputStream $in = null; 435 try { 436 org.omg.CORBA.portable.OutputStream $out = _request ("_get_association_ref", true); 437 $in = _invoke ($out); 438 org.omg.mof.Model.AssociationClass $result = org.omg.mof.Model.AssociationClassHelper.read ($in); 439 return $result; 440 } catch (org.omg.CORBA.portable.ApplicationException $ex) { 441 $in = $ex.getInputStream (); 442 String _id = $ex.getId (); 443 throw new org.omg.CORBA.MARSHAL (_id); 444 } catch (org.omg.CORBA.portable.RemarshalException $rm) { 445 return association_ref (); 446 } finally { 447 _releaseReply ($in); 448 } 449 } 451 public org.omg.mof.Model.DependsOn depends_on_ref () 452 { 453 org.omg.CORBA.portable.InputStream $in = null; 454 try { 455 org.omg.CORBA.portable.OutputStream $out = _request ("_get_depends_on_ref", true); 456 $in = _invoke ($out); 457 org.omg.mof.Model.DependsOn $result = org.omg.mof.Model.DependsOnHelper.read ($in); 458 return $result; 459 } catch (org.omg.CORBA.portable.ApplicationException $ex) { 460 $in = $ex.getInputStream (); 461 String _id = $ex.getId (); 462 throw new org.omg.CORBA.MARSHAL (_id); 463 } catch (org.omg.CORBA.portable.RemarshalException $rm) { 464 return depends_on_ref (); 465 } finally { 466 _releaseReply ($in); 467 } 468 } 470 public org.omg.mof.Model.Contains contains_ref () 471 { 472 org.omg.CORBA.portable.InputStream $in = null; 473 try { 474 org.omg.CORBA.portable.OutputStream $out = _request ("_get_contains_ref", true); 475 $in = _invoke ($out); 476 org.omg.mof.Model.Contains $result = org.omg.mof.Model.ContainsHelper.read ($in); 477 return $result; 478 } catch (org.omg.CORBA.portable.ApplicationException $ex) { 479 $in = $ex.getInputStream (); 480 String _id = $ex.getId (); 481 throw new org.omg.CORBA.MARSHAL (_id); 482 } catch (org.omg.CORBA.portable.RemarshalException $rm) { 483 return contains_ref (); 484 } finally { 485 _releaseReply ($in); 486 } 487 } 489 public org.omg.mof.Model.AttachesTo attaches_to_ref () 490 { 491 org.omg.CORBA.portable.InputStream $in = null; 492 try { 493 org.omg.CORBA.portable.OutputStream $out = _request ("_get_attaches_to_ref", true); 494 $in = _invoke ($out); 495 org.omg.mof.Model.AttachesTo $result = org.omg.mof.Model.AttachesToHelper.read ($in); 496 return $result; 497 } catch (org.omg.CORBA.portable.ApplicationException $ex) { 498 $in = $ex.getInputStream (); 499 String _id = $ex.getId (); 500 throw new org.omg.CORBA.MARSHAL (_id); 501 } catch (org.omg.CORBA.portable.RemarshalException $rm) { 502 return attaches_to_ref (); 503 } finally { 504 _releaseReply ($in); 505 } 506 } 508 public org.omg.mof.Model.Constrains constrains_ref () 509 { 510 org.omg.CORBA.portable.InputStream $in = null; 511 try { 512 org.omg.CORBA.portable.OutputStream $out = _request ("_get_constrains_ref", true); 513 $in = _invoke ($out); 514 org.omg.mof.Model.Constrains $result = org.omg.mof.Model.ConstrainsHelper.read ($in); 515 return $result; 516 } catch (org.omg.CORBA.portable.ApplicationException $ex) { 517 $in = $ex.getInputStream (); 518 String _id = $ex.getId (); 519 throw new org.omg.CORBA.MARSHAL (_id); 520 } catch (org.omg.CORBA.portable.RemarshalException $rm) { 521 return constrains_ref (); 522 } finally { 523 _releaseReply ($in); 524 } 525 } 527 public org.omg.mof.Model.Aliases aliases_ref () 528 { 529 org.omg.CORBA.portable.InputStream $in = null; 530 try { 531 org.omg.CORBA.portable.OutputStream $out = _request ("_get_aliases_ref", true); 532 $in = _invoke ($out); 533 org.omg.mof.Model.Aliases $result = org.omg.mof.Model.AliasesHelper.read ($in); 534 return $result; 535 } catch (org.omg.CORBA.portable.ApplicationException $ex) { 536 $in = $ex.getInputStream (); 537 String _id = $ex.getId (); 538 throw new org.omg.CORBA.MARSHAL (_id); 539 } catch (org.omg.CORBA.portable.RemarshalException $rm) { 540 return aliases_ref (); 541 } finally { 542 _releaseReply ($in); 543 } 544 } 546 public org.omg.mof.Model.Generalizes generalizes_ref () 547 { 548 org.omg.CORBA.portable.InputStream $in = null; 549 try { 550 org.omg.CORBA.portable.OutputStream $out = _request ("_get_generalizes_ref", true); 551 $in = _invoke ($out); 552 org.omg.mof.Model.Generalizes $result = org.omg.mof.Model.GeneralizesHelper.read ($in); 553 return $result; 554 } catch (org.omg.CORBA.portable.ApplicationException $ex) { 555 $in = $ex.getInputStream (); 556 String _id = $ex.getId (); 557 throw new org.omg.CORBA.MARSHAL (_id); 558 } catch (org.omg.CORBA.portable.RemarshalException $rm) { 559 return generalizes_ref (); 560 } finally { 561 _releaseReply ($in); 562 } 563 } 565 public org.omg.mof.Model.IsOfType is_of_type_ref () 566 { 567 org.omg.CORBA.portable.InputStream $in = null; 568 try { 569 org.omg.CORBA.portable.OutputStream $out = _request ("_get_is_of_type_ref", true); 570 $in = _invoke ($out); 571 org.omg.mof.Model.IsOfType $result = org.omg.mof.Model.IsOfTypeHelper.read ($in); 572 return $result; 573 } catch (org.omg.CORBA.portable.ApplicationException $ex) { 574 $in = $ex.getInputStream (); 575 String _id = $ex.getId (); 576 throw new org.omg.CORBA.MARSHAL (_id); 577 } catch (org.omg.CORBA.portable.RemarshalException $rm) { 578 return is_of_type_ref (); 579 } finally { 580 _releaseReply ($in); 581 } 582 } 584 public org.omg.mof.Model.CanRaise can_raise_ref () 585 { 586 org.omg.CORBA.portable.InputStream $in = null; 587 try { 588 org.omg.CORBA.portable.OutputStream $out = _request ("_get_can_raise_ref", true); 589 $in = _invoke ($out); 590 org.omg.mof.Model.CanRaise $result = org.omg.mof.Model.CanRaiseHelper.read ($in); 591 return $result; 592 } catch (org.omg.CORBA.portable.ApplicationException $ex) { 593 $in = $ex.getInputStream (); 594 String _id = $ex.getId (); 595 throw new org.omg.CORBA.MARSHAL (_id); 596 } catch (org.omg.CORBA.portable.RemarshalException $rm) { 597 return can_raise_ref (); 598 } finally { 599 _releaseReply ($in); 600 } 601 } 603 public org.omg.mof.Model.RefersTo refers_to_ref () 604 { 605 org.omg.CORBA.portable.InputStream $in = null; 606 try { 607 org.omg.CORBA.portable.OutputStream $out = _request ("_get_refers_to_ref", true); 608 $in = _invoke ($out); 609 org.omg.mof.Model.RefersTo $result = org.omg.mof.Model.RefersToHelper.read ($in); 610 return $result; 611 } catch (org.omg.CORBA.portable.ApplicationException $ex) { 612 $in = $ex.getInputStream (); 613 String _id = $ex.getId (); 614 throw new org.omg.CORBA.MARSHAL (_id); 615 } catch (org.omg.CORBA.portable.RemarshalException $rm) { 616 return refers_to_ref (); 617 } finally { 618 _releaseReply ($in); 619 } 620 } 622 public org.omg.mof.Model.Exposes exposes_ref () 623 { 624 org.omg.CORBA.portable.InputStream $in = null; 625 try { 626 org.omg.CORBA.portable.OutputStream $out = _request ("_get_exposes_ref", true); 627 $in = _invoke ($out); 628 org.omg.mof.Model.Exposes $result = org.omg.mof.Model.ExposesHelper.read ($in); 629 return $result; 630 } catch (org.omg.CORBA.portable.ApplicationException $ex) { 631 $in = $ex.getInputStream (); 632 String _id = $ex.getId (); 633 throw new org.omg.CORBA.MARSHAL (_id); 634 } catch (org.omg.CORBA.portable.RemarshalException $rm) { 635 return exposes_ref (); 636 } finally { 637 _releaseReply ($in); 638 } 639 } 641 public org.omg.mof.Reflective.RefObject ref_class_ref (org.omg.mof.Reflective.RefObject _class) throws org.omg.mof.Reflective.MofError 642 { 643 org.omg.CORBA.portable.InputStream $in = null; 644 try { 645 org.omg.CORBA.portable.OutputStream $out = _request ("ref_class_ref", true); 646 org.omg.mof.Reflective.DesignatorTypeHelper.write ($out, _class); 647 $in = _invoke ($out); 648 org.omg.mof.Reflective.RefObject $result = org.omg.mof.Reflective.RefObjectHelper.read ($in); 649 return $result; 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 return ref_class_ref (_class); 659 } finally { 660 _releaseReply ($in); 661 } 662 } 664 public org.omg.mof.Reflective.RefAssociation ref_association_ref (org.omg.mof.Reflective.RefObject association) throws org.omg.mof.Reflective.MofError 665 { 666 org.omg.CORBA.portable.InputStream $in = null; 667 try { 668 org.omg.CORBA.portable.OutputStream $out = _request ("ref_association_ref", true); 669 org.omg.mof.Reflective.DesignatorTypeHelper.write ($out, association); 670 $in = _invoke ($out); 671 org.omg.mof.Reflective.RefAssociation $result = org.omg.mof.Reflective.RefAssociationHelper.read ($in); 672 return $result; 673 } catch (org.omg.CORBA.portable.ApplicationException $ex) { 674 $in = $ex.getInputStream (); 675 String _id = $ex.getId (); 676 if (_id.equals ("IDL:org/omg/mof/Reflective/MofError:1.0")) 677 throw org.omg.mof.Reflective.MofErrorHelper.read ($in); 678 else 679 throw new org.omg.CORBA.MARSHAL (_id); 680 } catch (org.omg.CORBA.portable.RemarshalException $rm) { 681 return ref_association_ref (association); 682 } finally { 683 _releaseReply ($in); 684 } 685 } 687 public org.omg.mof.Reflective._RefPackage ref_package_ref (org.omg.mof.Reflective.RefObject _package) throws org.omg.mof.Reflective.MofError 688 { 689 org.omg.CORBA.portable.InputStream $in = null; 690 try { 691 org.omg.CORBA.portable.OutputStream $out = _request ("ref_package_ref", true); 692 org.omg.mof.Reflective.DesignatorTypeHelper.write ($out, _package); 693 $in = _invoke ($out); 694 org.omg.mof.Reflective._RefPackage $result = org.omg.mof.Reflective._RefPackageHelper.read ($in); 695 return $result; 696 } catch (org.omg.CORBA.portable.ApplicationException $ex) { 697 $in = $ex.getInputStream (); 698 String _id = $ex.getId (); 699 if (_id.equals ("IDL:org/omg/mof/Reflective/MofError:1.0")) 700 throw org.omg.mof.Reflective.MofErrorHelper.read ($in); 701 else 702 throw new org.omg.CORBA.MARSHAL (_id); 703 } catch (org.omg.CORBA.portable.RemarshalException $rm) { 704 return ref_package_ref (_package); 705 } finally { 706 _releaseReply ($in); 707 } 708 } 710 public String ref_mof_id () 711 { 712 org.omg.CORBA.portable.InputStream $in = null; 713 try { 714 org.omg.CORBA.portable.OutputStream $out = _request ("ref_mof_id", true); 715 $in = _invoke ($out); 716 String $result = $in.read_string (); 717 return $result; 718 } catch (org.omg.CORBA.portable.ApplicationException $ex) { 719 $in = $ex.getInputStream (); 720 String _id = $ex.getId (); 721 throw new org.omg.CORBA.MARSHAL (_id); 722 } catch (org.omg.CORBA.portable.RemarshalException $rm) { 723 return ref_mof_id (); 724 } finally { 725 _releaseReply ($in); 726 } 727 } 729 public org.omg.mof.Reflective.RefObject ref_meta_object () 730 { 731 org.omg.CORBA.portable.InputStream $in = null; 732 try { 733 org.omg.CORBA.portable.OutputStream $out = _request ("ref_meta_object", true); 734 $in = _invoke ($out); 735 org.omg.mof.Reflective.RefObject $result = org.omg.mof.Reflective.DesignatorTypeHelper.read ($in); 736 return $result; 737 } catch (org.omg.CORBA.portable.ApplicationException $ex) { 738 $in = $ex.getInputStream (); 739 String _id = $ex.getId (); 740 throw new org.omg.CORBA.MARSHAL (_id); 741 } catch (org.omg.CORBA.portable.RemarshalException $rm) { 742 return ref_meta_object (); 743 } finally { 744 _releaseReply ($in); 745 } 746 } 748 public boolean ref_itself (org.omg.mof.Reflective.RefBaseObject other_object) 749 { 750 org.omg.CORBA.portable.InputStream $in = null; 751 try { 752 org.omg.CORBA.portable.OutputStream $out = _request ("ref_itself", true); 753 org.omg.mof.Reflective.RefBaseObjectHelper.write ($out, other_object); 754 $in = _invoke ($out); 755 boolean $result = $in.read_boolean (); 756 return $result; 757 } catch (org.omg.CORBA.portable.ApplicationException $ex) { 758 $in = $ex.getInputStream (); 759 String _id = $ex.getId (); 760 throw new org.omg.CORBA.MARSHAL (_id); 761 } catch (org.omg.CORBA.portable.RemarshalException $rm) { 762 return ref_itself (other_object); 763 } finally { 764 _releaseReply ($in); 765 } 766 } 768 public org.omg.mof.Reflective._RefPackage ref_immediate_package () 769 { 770 org.omg.CORBA.portable.InputStream $in = null; 771 try { 772 org.omg.CORBA.portable.OutputStream $out = _request ("ref_immediate_package", true); 773 $in = _invoke ($out); 774 org.omg.mof.Reflective._RefPackage $result = org.omg.mof.Reflective._RefPackageHelper.read ($in); 775 return $result; 776 } catch (org.omg.CORBA.portable.ApplicationException $ex) { 777 $in = $ex.getInputStream (); 778 String _id = $ex.getId (); 779 throw new org.omg.CORBA.MARSHAL (_id); 780 } catch (org.omg.CORBA.portable.RemarshalException $rm) { 781 return ref_immediate_package (); 782 } finally { 783 _releaseReply ($in); 784 } 785 } 787 public org.omg.mof.Reflective._RefPackage ref_outermost_package () 788 { 789 org.omg.CORBA.portable.InputStream $in = null; 790 try { 791 org.omg.CORBA.portable.OutputStream $out = _request ("ref_outermost_package", true); 792 $in = _invoke ($out); 793 org.omg.mof.Reflective._RefPackage $result = org.omg.mof.Reflective._RefPackageHelper.read ($in); 794 return $result; 795 } catch (org.omg.CORBA.portable.ApplicationException $ex) { 796 $in = $ex.getInputStream (); 797 String _id = $ex.getId (); 798 throw new org.omg.CORBA.MARSHAL (_id); 799 } catch (org.omg.CORBA.portable.RemarshalException $rm) { 800 return ref_outermost_package (); 801 } finally { 802 _releaseReply ($in); 803 } 804 } 806 public void ref_delete () throws org.omg.mof.Reflective.MofError 807 { 808 org.omg.CORBA.portable.InputStream $in = null; 809 try { 810 org.omg.CORBA.portable.OutputStream $out = _request ("ref_delete", true); 811 $in = _invoke ($out); 812 } catch (org.omg.CORBA.portable.ApplicationException $ex) { 813 $in = $ex.getInputStream (); 814 String _id = $ex.getId (); 815 if (_id.equals ("IDL:org/omg/mof/Reflective/MofError:1.0")) 816 throw org.omg.mof.Reflective.MofErrorHelper.read ($in); 817 else 818 throw new org.omg.CORBA.MARSHAL (_id); 819 } catch (org.omg.CORBA.portable.RemarshalException $rm) { 820 ref_delete (); 821 } finally { 822 _releaseReply ($in); 823 } 824 } 826 private static String [] __ids = { 828 "IDL:org/omg/mof/Model/ModelPackage:1.0", 829 "IDL:org/omg/mof/Reflective/RefPackage:1.0", 830 "IDL:org/omg/mof/Reflective/RefBaseObject:1.0"}; 831 832 public String [] _ids () 833 { 834 return (String [])__ids.clone (); 835 } 836 837 private void readObject (java.io.ObjectInputStream s) throws java.io.IOException 838 { 839 String str = s.readUTF (); 840 String [] args = null; 841 java.util.Properties props = null; 842 org.omg.CORBA.Object obj = org.omg.CORBA.ORB.init (args, props).string_to_object (str); 843 org.omg.CORBA.portable.Delegate delegate = ((org.omg.CORBA.portable.ObjectImpl ) obj)._get_delegate (); 844 _set_delegate (delegate); 845 } 846 847 private void writeObject (java.io.ObjectOutputStream s) throws java.io.IOException 848 { 849 String [] args = null; 850 java.util.Properties props = null; 851 String str = org.omg.CORBA.ORB.init (args, props).object_to_string (this); 852 s.writeUTF (str); 853 } 854 } | Popular Tags |