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