1 package org.omg.mof.Model; 2 3 4 10 11 12 public class _MofExceptionClassStub extends org.omg.CORBA.portable.ObjectImpl implements org.omg.mof.Model.MofExceptionClass 14 { 15 16 public org.omg.mof.Model.MofException[] all_of_type_mof_exception () 17 { 18 org.omg.CORBA.portable.InputStream $in = null; 19 try { 20 org.omg.CORBA.portable.OutputStream $out = _request ("_get_all_of_type_mof_exception", true); 21 $in = _invoke ($out); 22 org.omg.mof.Model.MofException $result[] = org.omg.mof.Model.MofExceptionSetHelper.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_mof_exception (); 30 } finally { 31 _releaseReply ($in); 32 } 33 } 35 public org.omg.mof.Model.MofException[] all_of_class_mof_exception () 36 { 37 org.omg.CORBA.portable.InputStream $in = null; 38 try { 39 org.omg.CORBA.portable.OutputStream $out = _request ("_get_all_of_class_mof_exception", true); 40 $in = _invoke ($out); 41 org.omg.mof.Model.MofException $result[] = org.omg.mof.Model.MofExceptionSetHelper.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_class_mof_exception (); 49 } finally { 50 _releaseReply ($in); 51 } 52 } 54 public org.omg.mof.Model.MofException create_mof_exception (String name, String annotation, org.omg.mof.Model.VisibilityKind visibility, org.omg.mof.Model.ScopeKind scope) throws org.omg.mof.Reflective.MofError 55 { 56 org.omg.CORBA.portable.InputStream $in = null; 57 try { 58 org.omg.CORBA.portable.OutputStream $out = _request ("create_mof_exception", true); 59 $out.write_string (name); 60 $out.write_string (annotation); 61 org.omg.mof.Model.VisibilityKindHelper.write ($out, visibility); 62 org.omg.mof.Model.ScopeKindHelper.write ($out, scope); 63 $in = _invoke ($out); 64 org.omg.mof.Model.MofException $result = org.omg.mof.Model.MofExceptionHelper.read ($in); 65 return $result; 66 } catch (org.omg.CORBA.portable.ApplicationException $ex) { 67 $in = $ex.getInputStream (); 68 String _id = $ex.getId (); 69 if (_id.equals ("IDL:org/omg/mof/Reflective/MofError:1.0")) 70 throw org.omg.mof.Reflective.MofErrorHelper.read ($in); 71 else 72 throw new org.omg.CORBA.MARSHAL (_id); 73 } catch (org.omg.CORBA.portable.RemarshalException $rm) { 74 return create_mof_exception (name, annotation, visibility, scope); 75 } finally { 76 _releaseReply ($in); 77 } 78 } 80 public org.omg.mof.Model.BehavioralFeature[] all_of_type_behavioral_feature () 81 { 82 org.omg.CORBA.portable.InputStream $in = null; 83 try { 84 org.omg.CORBA.portable.OutputStream $out = _request ("_get_all_of_type_behavioral_feature", true); 85 $in = _invoke ($out); 86 org.omg.mof.Model.BehavioralFeature $result[] = org.omg.mof.Model.BehavioralFeatureSetHelper.read ($in); 87 return $result; 88 } catch (org.omg.CORBA.portable.ApplicationException $ex) { 89 $in = $ex.getInputStream (); 90 String _id = $ex.getId (); 91 throw new org.omg.CORBA.MARSHAL (_id); 92 } catch (org.omg.CORBA.portable.RemarshalException $rm) { 93 return all_of_type_behavioral_feature (); 94 } finally { 95 _releaseReply ($in); 96 } 97 } 99 public org.omg.mof.Model.Namespace[] all_of_type_namespace () 100 { 101 org.omg.CORBA.portable.InputStream $in = null; 102 try { 103 org.omg.CORBA.portable.OutputStream $out = _request ("_get_all_of_type_namespace", true); 104 $in = _invoke ($out); 105 org.omg.mof.Model.Namespace $result[] = org.omg.mof.Model.NamespaceSetHelper.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 all_of_type_namespace (); 113 } finally { 114 _releaseReply ($in); 115 } 116 } 118 public org.omg.mof.Model.ModelElement[] all_of_type_model_element () 119 { 120 org.omg.CORBA.portable.InputStream $in = null; 121 try { 122 org.omg.CORBA.portable.OutputStream $out = _request ("_get_all_of_type_model_element", true); 123 $in = _invoke ($out); 124 org.omg.mof.Model.ModelElement $result[] = org.omg.mof.Model.ModelElementSetHelper.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 all_of_type_model_element (); 132 } finally { 133 _releaseReply ($in); 134 } 135 } 137 public boolean ref_is_instance_of (org.omg.mof.Reflective.RefObject some_class, boolean consider_subtypes) 138 { 139 org.omg.CORBA.portable.InputStream $in = null; 140 try { 141 org.omg.CORBA.portable.OutputStream $out = _request ("ref_is_instance_of", true); 142 org.omg.mof.Reflective.DesignatorTypeHelper.write ($out, some_class); 143 $out.write_boolean (consider_subtypes); 144 $in = _invoke ($out); 145 boolean $result = $in.read_boolean (); 146 return $result; 147 } catch (org.omg.CORBA.portable.ApplicationException $ex) { 148 $in = $ex.getInputStream (); 149 String _id = $ex.getId (); 150 throw new org.omg.CORBA.MARSHAL (_id); 151 } catch (org.omg.CORBA.portable.RemarshalException $rm) { 152 return ref_is_instance_of (some_class, consider_subtypes); 153 } finally { 154 _releaseReply ($in); 155 } 156 } 158 public org.omg.mof.Reflective.RefObject ref_create_instance (org.omg.CORBA.Any [] args) throws org.omg.mof.Reflective.MofError 159 { 160 org.omg.CORBA.portable.InputStream $in = null; 161 try { 162 org.omg.CORBA.portable.OutputStream $out = _request ("ref_create_instance", true); 163 org.omg.mof.Reflective.ValueTypeListHelper.write ($out, args); 164 $in = _invoke ($out); 165 org.omg.mof.Reflective.RefObject $result = org.omg.mof.Reflective.RefObjectHelper.read ($in); 166 return $result; 167 } catch (org.omg.CORBA.portable.ApplicationException $ex) { 168 $in = $ex.getInputStream (); 169 String _id = $ex.getId (); 170 if (_id.equals ("IDL:org/omg/mof/Reflective/MofError:1.0")) 171 throw org.omg.mof.Reflective.MofErrorHelper.read ($in); 172 else 173 throw new org.omg.CORBA.MARSHAL (_id); 174 } catch (org.omg.CORBA.portable.RemarshalException $rm) { 175 return ref_create_instance (args); 176 } finally { 177 _releaseReply ($in); 178 } 179 } 181 public org.omg.mof.Reflective.RefObject[] ref_all_objects (boolean include_subtypes) 182 { 183 org.omg.CORBA.portable.InputStream $in = null; 184 try { 185 org.omg.CORBA.portable.OutputStream $out = _request ("ref_all_objects", true); 186 $out.write_boolean (include_subtypes); 187 $in = _invoke ($out); 188 org.omg.mof.Reflective.RefObject $result[] = org.omg.mof.Reflective.RefObjectSetHelper.read ($in); 189 return $result; 190 } catch (org.omg.CORBA.portable.ApplicationException $ex) { 191 $in = $ex.getInputStream (); 192 String _id = $ex.getId (); 193 throw new org.omg.CORBA.MARSHAL (_id); 194 } catch (org.omg.CORBA.portable.RemarshalException $rm) { 195 return ref_all_objects (include_subtypes); 196 } finally { 197 _releaseReply ($in); 198 } 199 } 201 public void ref_set_value (org.omg.mof.Reflective.RefObject feature, org.omg.CORBA.Any new_value) throws org.omg.mof.Reflective.MofError 202 { 203 org.omg.CORBA.portable.InputStream $in = null; 204 try { 205 org.omg.CORBA.portable.OutputStream $out = _request ("ref_set_value", true); 206 org.omg.mof.Reflective.DesignatorTypeHelper.write ($out, feature); 207 org.omg.mof.Reflective._ValueTypeHelper.write ($out, new_value); 208 $in = _invoke ($out); 209 } catch (org.omg.CORBA.portable.ApplicationException $ex) { 210 $in = $ex.getInputStream (); 211 String _id = $ex.getId (); 212 if (_id.equals ("IDL:org/omg/mof/Reflective/MofError:1.0")) 213 throw org.omg.mof.Reflective.MofErrorHelper.read ($in); 214 else 215 throw new org.omg.CORBA.MARSHAL (_id); 216 } catch (org.omg.CORBA.portable.RemarshalException $rm) { 217 ref_set_value (feature, new_value); 218 } finally { 219 _releaseReply ($in); 220 } 221 } 223 public org.omg.CORBA.Any ref_value (org.omg.mof.Reflective.RefObject feature) throws org.omg.mof.Reflective.NotSet, org.omg.mof.Reflective.MofError 224 { 225 org.omg.CORBA.portable.InputStream $in = null; 226 try { 227 org.omg.CORBA.portable.OutputStream $out = _request ("ref_value", true); 228 org.omg.mof.Reflective.DesignatorTypeHelper.write ($out, feature); 229 $in = _invoke ($out); 230 org.omg.CORBA.Any $result = org.omg.mof.Reflective._ValueTypeHelper.read ($in); 231 return $result; 232 } catch (org.omg.CORBA.portable.ApplicationException $ex) { 233 $in = $ex.getInputStream (); 234 String _id = $ex.getId (); 235 if (_id.equals ("IDL:org/omg/mof/Reflective/NotSet:1.0")) 236 throw org.omg.mof.Reflective.NotSetHelper.read ($in); 237 else if (_id.equals ("IDL:org/omg/mof/Reflective/MofError:1.0")) 238 throw org.omg.mof.Reflective.MofErrorHelper.read ($in); 239 else 240 throw new org.omg.CORBA.MARSHAL (_id); 241 } catch (org.omg.CORBA.portable.RemarshalException $rm) { 242 return ref_value (feature); 243 } finally { 244 _releaseReply ($in); 245 } 246 } 248 public void ref_unset_value () throws org.omg.mof.Reflective.MofError 249 { 250 org.omg.CORBA.portable.InputStream $in = null; 251 try { 252 org.omg.CORBA.portable.OutputStream $out = _request ("ref_unset_value", true); 253 $in = _invoke ($out); 254 } catch (org.omg.CORBA.portable.ApplicationException $ex) { 255 $in = $ex.getInputStream (); 256 String _id = $ex.getId (); 257 if (_id.equals ("IDL:org/omg/mof/Reflective/MofError:1.0")) 258 throw org.omg.mof.Reflective.MofErrorHelper.read ($in); 259 else 260 throw new org.omg.CORBA.MARSHAL (_id); 261 } catch (org.omg.CORBA.portable.RemarshalException $rm) { 262 ref_unset_value (); 263 } finally { 264 _releaseReply ($in); 265 } 266 } 268 public void ref_add_value (org.omg.mof.Reflective.RefObject feature, org.omg.CORBA.Any new_element) throws org.omg.mof.Reflective.MofError 269 { 270 org.omg.CORBA.portable.InputStream $in = null; 271 try { 272 org.omg.CORBA.portable.OutputStream $out = _request ("ref_add_value", true); 273 org.omg.mof.Reflective.DesignatorTypeHelper.write ($out, feature); 274 org.omg.mof.Reflective._ValueTypeHelper.write ($out, new_element); 275 $in = _invoke ($out); 276 } catch (org.omg.CORBA.portable.ApplicationException $ex) { 277 $in = $ex.getInputStream (); 278 String _id = $ex.getId (); 279 if (_id.equals ("IDL:org/omg/mof/Reflective/MofError:1.0")) 280 throw org.omg.mof.Reflective.MofErrorHelper.read ($in); 281 else 282 throw new org.omg.CORBA.MARSHAL (_id); 283 } catch (org.omg.CORBA.portable.RemarshalException $rm) { 284 ref_add_value (feature, new_element); 285 } finally { 286 _releaseReply ($in); 287 } 288 } 290 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 291 { 292 org.omg.CORBA.portable.InputStream $in = null; 293 try { 294 org.omg.CORBA.portable.OutputStream $out = _request ("ref_add_value_before", true); 295 org.omg.mof.Reflective.DesignatorTypeHelper.write ($out, feature); 296 org.omg.mof.Reflective._ValueTypeHelper.write ($out, new_element); 297 org.omg.mof.Reflective._ValueTypeHelper.write ($out, before_element); 298 $in = _invoke ($out); 299 } catch (org.omg.CORBA.portable.ApplicationException $ex) { 300 $in = $ex.getInputStream (); 301 String _id = $ex.getId (); 302 if (_id.equals ("IDL:org/omg/mof/Reflective/NotFound:1.0")) 303 throw org.omg.mof.Reflective.NotFoundHelper.read ($in); 304 else if (_id.equals ("IDL:org/omg/mof/Reflective/MofError:1.0")) 305 throw org.omg.mof.Reflective.MofErrorHelper.read ($in); 306 else 307 throw new org.omg.CORBA.MARSHAL (_id); 308 } catch (org.omg.CORBA.portable.RemarshalException $rm) { 309 ref_add_value_before (feature, new_element, before_element); 310 } finally { 311 _releaseReply ($in); 312 } 313 } 315 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 316 { 317 org.omg.CORBA.portable.InputStream $in = null; 318 try { 319 org.omg.CORBA.portable.OutputStream $out = _request ("ref_add_value_at", true); 320 org.omg.mof.Reflective.DesignatorTypeHelper.write ($out, feature); 321 org.omg.mof.Reflective._ValueTypeHelper.write ($out, new_element); 322 $out.write_ulong (position); 323 $in = _invoke ($out); 324 } catch (org.omg.CORBA.portable.ApplicationException $ex) { 325 $in = $ex.getInputStream (); 326 String _id = $ex.getId (); 327 if (_id.equals ("IDL:org/omg/mof/Reflective/BadPosition:1.0")) 328 throw org.omg.mof.Reflective.BadPositionHelper.read ($in); 329 else if (_id.equals ("IDL:org/omg/mof/Reflective/MofError:1.0")) 330 throw org.omg.mof.Reflective.MofErrorHelper.read ($in); 331 else 332 throw new org.omg.CORBA.MARSHAL (_id); 333 } catch (org.omg.CORBA.portable.RemarshalException $rm) { 334 ref_add_value_at (feature, new_element, position); 335 } finally { 336 _releaseReply ($in); 337 } 338 } 340 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 341 { 342 org.omg.CORBA.portable.InputStream $in = null; 343 try { 344 org.omg.CORBA.portable.OutputStream $out = _request ("ref_modify_value", true); 345 org.omg.mof.Reflective.DesignatorTypeHelper.write ($out, feature); 346 org.omg.mof.Reflective._ValueTypeHelper.write ($out, old_element); 347 org.omg.mof.Reflective._ValueTypeHelper.write ($out, new_element); 348 $in = _invoke ($out); 349 } catch (org.omg.CORBA.portable.ApplicationException $ex) { 350 $in = $ex.getInputStream (); 351 String _id = $ex.getId (); 352 if (_id.equals ("IDL:org/omg/mof/Reflective/NotFound:1.0")) 353 throw org.omg.mof.Reflective.NotFoundHelper.read ($in); 354 else if (_id.equals ("IDL:org/omg/mof/Reflective/MofError:1.0")) 355 throw org.omg.mof.Reflective.MofErrorHelper.read ($in); 356 else 357 throw new org.omg.CORBA.MARSHAL (_id); 358 } catch (org.omg.CORBA.portable.RemarshalException $rm) { 359 ref_modify_value (feature, old_element, new_element); 360 } finally { 361 _releaseReply ($in); 362 } 363 } 365 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 366 { 367 org.omg.CORBA.portable.InputStream $in = null; 368 try { 369 org.omg.CORBA.portable.OutputStream $out = _request ("ref_modify_value_at", true); 370 org.omg.mof.Reflective.DesignatorTypeHelper.write ($out, feature); 371 org.omg.mof.Reflective._ValueTypeHelper.write ($out, new_element); 372 $out.write_ulong (position); 373 $in = _invoke ($out); 374 } catch (org.omg.CORBA.portable.ApplicationException $ex) { 375 $in = $ex.getInputStream (); 376 String _id = $ex.getId (); 377 if (_id.equals ("IDL:org/omg/mof/Reflective/BadPosition:1.0")) 378 throw org.omg.mof.Reflective.BadPositionHelper.read ($in); 379 else if (_id.equals ("IDL:org/omg/mof/Reflective/MofError:1.0")) 380 throw org.omg.mof.Reflective.MofErrorHelper.read ($in); 381 else 382 throw new org.omg.CORBA.MARSHAL (_id); 383 } catch (org.omg.CORBA.portable.RemarshalException $rm) { 384 ref_modify_value_at (feature, new_element, position); 385 } finally { 386 _releaseReply ($in); 387 } 388 } 390 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 391 { 392 org.omg.CORBA.portable.InputStream $in = null; 393 try { 394 org.omg.CORBA.portable.OutputStream $out = _request ("ref_remove_value", true); 395 org.omg.mof.Reflective.DesignatorTypeHelper.write ($out, feature); 396 org.omg.mof.Reflective._ValueTypeHelper.write ($out, existing_element); 397 $in = _invoke ($out); 398 } catch (org.omg.CORBA.portable.ApplicationException $ex) { 399 $in = $ex.getInputStream (); 400 String _id = $ex.getId (); 401 if (_id.equals ("IDL:org/omg/mof/Reflective/NotFound:1.0")) 402 throw org.omg.mof.Reflective.NotFoundHelper.read ($in); 403 else if (_id.equals ("IDL:org/omg/mof/Reflective/MofError:1.0")) 404 throw org.omg.mof.Reflective.MofErrorHelper.read ($in); 405 else 406 throw new org.omg.CORBA.MARSHAL (_id); 407 } catch (org.omg.CORBA.portable.RemarshalException $rm) { 408 ref_remove_value (feature, existing_element); 409 } finally { 410 _releaseReply ($in); 411 } 412 } 414 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 415 { 416 org.omg.CORBA.portable.InputStream $in = null; 417 try { 418 org.omg.CORBA.portable.OutputStream $out = _request ("ref_remove_value_at", true); 419 org.omg.mof.Reflective.DesignatorTypeHelper.write ($out, feature); 420 $out.write_ulong (position); 421 $in = _invoke ($out); 422 } catch (org.omg.CORBA.portable.ApplicationException $ex) { 423 $in = $ex.getInputStream (); 424 String _id = $ex.getId (); 425 if (_id.equals ("IDL:org/omg/mof/Reflective/BadPosition:1.0")) 426 throw org.omg.mof.Reflective.BadPositionHelper.read ($in); 427 else if (_id.equals ("IDL:org/omg/mof/Reflective/MofError:1.0")) 428 throw org.omg.mof.Reflective.MofErrorHelper.read ($in); 429 else 430 throw new org.omg.CORBA.MARSHAL (_id); 431 } catch (org.omg.CORBA.portable.RemarshalException $rm) { 432 ref_remove_value_at (feature, position); 433 } finally { 434 _releaseReply ($in); 435 } 436 } 438 public org.omg.mof.Reflective.RefObject ref_immediate_composite () 439 { 440 org.omg.CORBA.portable.InputStream $in = null; 441 try { 442 org.omg.CORBA.portable.OutputStream $out = _request ("ref_immediate_composite", true); 443 $in = _invoke ($out); 444 org.omg.mof.Reflective.RefObject $result = org.omg.mof.Reflective.RefObjectHelper.read ($in); 445 return $result; 446 } catch (org.omg.CORBA.portable.ApplicationException $ex) { 447 $in = $ex.getInputStream (); 448 String _id = $ex.getId (); 449 throw new org.omg.CORBA.MARSHAL (_id); 450 } catch (org.omg.CORBA.portable.RemarshalException $rm) { 451 return ref_immediate_composite (); 452 } finally { 453 _releaseReply ($in); 454 } 455 } 457 public org.omg.mof.Reflective.RefObject ref_outermost_composite () 458 { 459 org.omg.CORBA.portable.InputStream $in = null; 460 try { 461 org.omg.CORBA.portable.OutputStream $out = _request ("ref_outermost_composite", true); 462 $in = _invoke ($out); 463 org.omg.mof.Reflective.RefObject $result = org.omg.mof.Reflective.RefObjectHelper.read ($in); 464 return $result; 465 } catch (org.omg.CORBA.portable.ApplicationException $ex) { 466 $in = $ex.getInputStream (); 467 String _id = $ex.getId (); 468 throw new org.omg.CORBA.MARSHAL (_id); 469 } catch (org.omg.CORBA.portable.RemarshalException $rm) { 470 return ref_outermost_composite (); 471 } finally { 472 _releaseReply ($in); 473 } 474 } 476 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 477 { 478 org.omg.CORBA.portable.InputStream $in = null; 479 try { 480 org.omg.CORBA.portable.OutputStream $out = _request ("ref_invoke_operation", true); 481 org.omg.mof.Reflective.DesignatorTypeHelper.write ($out, requested_operation); 482 org.omg.mof.Reflective.ValueTypeListHelper.write ($out, args.value); 483 $in = _invoke ($out); 484 org.omg.CORBA.Any $result = org.omg.mof.Reflective._ValueTypeHelper.read ($in); 485 args.value = org.omg.mof.Reflective.ValueTypeListHelper.read ($in); 486 return $result; 487 } catch (org.omg.CORBA.portable.ApplicationException $ex) { 488 $in = $ex.getInputStream (); 489 String _id = $ex.getId (); 490 if (_id.equals ("IDL:org/omg/mof/Reflective/OtherException:1.0")) 491 throw org.omg.mof.Reflective.OtherExceptionHelper.read ($in); 492 else if (_id.equals ("IDL:org/omg/mof/Reflective/MofError:1.0")) 493 throw org.omg.mof.Reflective.MofErrorHelper.read ($in); 494 else 495 throw new org.omg.CORBA.MARSHAL (_id); 496 } catch (org.omg.CORBA.portable.RemarshalException $rm) { 497 return ref_invoke_operation (requested_operation, args); 498 } finally { 499 _releaseReply ($in); 500 } 501 } 503 public String ref_mof_id () 504 { 505 org.omg.CORBA.portable.InputStream $in = null; 506 try { 507 org.omg.CORBA.portable.OutputStream $out = _request ("ref_mof_id", true); 508 $in = _invoke ($out); 509 String $result = $in.read_string (); 510 return $result; 511 } catch (org.omg.CORBA.portable.ApplicationException $ex) { 512 $in = $ex.getInputStream (); 513 String _id = $ex.getId (); 514 throw new org.omg.CORBA.MARSHAL (_id); 515 } catch (org.omg.CORBA.portable.RemarshalException $rm) { 516 return ref_mof_id (); 517 } finally { 518 _releaseReply ($in); 519 } 520 } 522 public org.omg.mof.Reflective.RefObject ref_meta_object () 523 { 524 org.omg.CORBA.portable.InputStream $in = null; 525 try { 526 org.omg.CORBA.portable.OutputStream $out = _request ("ref_meta_object", true); 527 $in = _invoke ($out); 528 org.omg.mof.Reflective.RefObject $result = org.omg.mof.Reflective.DesignatorTypeHelper.read ($in); 529 return $result; 530 } catch (org.omg.CORBA.portable.ApplicationException $ex) { 531 $in = $ex.getInputStream (); 532 String _id = $ex.getId (); 533 throw new org.omg.CORBA.MARSHAL (_id); 534 } catch (org.omg.CORBA.portable.RemarshalException $rm) { 535 return ref_meta_object (); 536 } finally { 537 _releaseReply ($in); 538 } 539 } 541 public boolean ref_itself (org.omg.mof.Reflective.RefBaseObject other_object) 542 { 543 org.omg.CORBA.portable.InputStream $in = null; 544 try { 545 org.omg.CORBA.portable.OutputStream $out = _request ("ref_itself", true); 546 org.omg.mof.Reflective.RefBaseObjectHelper.write ($out, other_object); 547 $in = _invoke ($out); 548 boolean $result = $in.read_boolean (); 549 return $result; 550 } catch (org.omg.CORBA.portable.ApplicationException $ex) { 551 $in = $ex.getInputStream (); 552 String _id = $ex.getId (); 553 throw new org.omg.CORBA.MARSHAL (_id); 554 } catch (org.omg.CORBA.portable.RemarshalException $rm) { 555 return ref_itself (other_object); 556 } finally { 557 _releaseReply ($in); 558 } 559 } 561 public org.omg.mof.Reflective._RefPackage ref_immediate_package () 562 { 563 org.omg.CORBA.portable.InputStream $in = null; 564 try { 565 org.omg.CORBA.portable.OutputStream $out = _request ("ref_immediate_package", true); 566 $in = _invoke ($out); 567 org.omg.mof.Reflective._RefPackage $result = org.omg.mof.Reflective._RefPackageHelper.read ($in); 568 return $result; 569 } catch (org.omg.CORBA.portable.ApplicationException $ex) { 570 $in = $ex.getInputStream (); 571 String _id = $ex.getId (); 572 throw new org.omg.CORBA.MARSHAL (_id); 573 } catch (org.omg.CORBA.portable.RemarshalException $rm) { 574 return ref_immediate_package (); 575 } finally { 576 _releaseReply ($in); 577 } 578 } 580 public org.omg.mof.Reflective._RefPackage ref_outermost_package () 581 { 582 org.omg.CORBA.portable.InputStream $in = null; 583 try { 584 org.omg.CORBA.portable.OutputStream $out = _request ("ref_outermost_package", true); 585 $in = _invoke ($out); 586 org.omg.mof.Reflective._RefPackage $result = org.omg.mof.Reflective._RefPackageHelper.read ($in); 587 return $result; 588 } catch (org.omg.CORBA.portable.ApplicationException $ex) { 589 $in = $ex.getInputStream (); 590 String _id = $ex.getId (); 591 throw new org.omg.CORBA.MARSHAL (_id); 592 } catch (org.omg.CORBA.portable.RemarshalException $rm) { 593 return ref_outermost_package (); 594 } finally { 595 _releaseReply ($in); 596 } 597 } 599 public void ref_delete () throws org.omg.mof.Reflective.MofError 600 { 601 org.omg.CORBA.portable.InputStream $in = null; 602 try { 603 org.omg.CORBA.portable.OutputStream $out = _request ("ref_delete", true); 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 ref_delete (); 614 } finally { 615 _releaseReply ($in); 616 } 617 } 619 public org.omg.mof.Model.Feature[] all_of_type_feature () 620 { 621 org.omg.CORBA.portable.InputStream $in = null; 622 try { 623 org.omg.CORBA.portable.OutputStream $out = _request ("_get_all_of_type_feature", true); 624 $in = _invoke ($out); 625 org.omg.mof.Model.Feature $result[] = org.omg.mof.Model.FeatureSetHelper.read ($in); 626 return $result; 627 } catch (org.omg.CORBA.portable.ApplicationException $ex) { 628 $in = $ex.getInputStream (); 629 String _id = $ex.getId (); 630 throw new org.omg.CORBA.MARSHAL (_id); 631 } catch (org.omg.CORBA.portable.RemarshalException $rm) { 632 return all_of_type_feature (); 633 } finally { 634 _releaseReply ($in); 635 } 636 } 638 private static String [] __ids = { 640 "IDL:org/omg/mof/Model/MofExceptionClass:1.0", 641 "IDL:org/omg/mof/Model/BehavioralFeatureClass:1.0", 642 "IDL:org/omg/mof/Model/NamespaceClass:1.0", 643 "IDL:org/omg/mof/Model/ModelElementClass:1.0", 644 "IDL:org/omg/mof/Reflective/RefObject:1.0", 645 "IDL:org/omg/mof/Reflective/RefBaseObject:1.0", 646 "IDL:org/omg/mof/Model/FeatureClass:1.0"}; 647 648 public String [] _ids () 649 { 650 return (String [])__ids.clone (); 651 } 652 653 private void readObject (java.io.ObjectInputStream s) throws java.io.IOException 654 { 655 String str = s.readUTF (); 656 String [] args = null; 657 java.util.Properties props = null; 658 org.omg.CORBA.Object obj = org.omg.CORBA.ORB.init (args, props).string_to_object (str); 659 org.omg.CORBA.portable.Delegate delegate = ((org.omg.CORBA.portable.ObjectImpl ) obj)._get_delegate (); 660 _set_delegate (delegate); 661 } 662 663 private void writeObject (java.io.ObjectOutputStream s) throws java.io.IOException 664 { 665 String [] args = null; 666 java.util.Properties props = null; 667 String str = org.omg.CORBA.ORB.init (args, props).object_to_string (this); 668 s.writeUTF (str); 669 } 670 } | Popular Tags |