1 package org.omg.mof.Model; 2 3 4 10 11 12 public class _PackageStub extends org.omg.CORBA.portable.ObjectImpl implements org.omg.mof.Model.Package 14 { 15 16 public org.omg.mof.Model.Package[] all_of_type_package () 17 { 18 org.omg.CORBA.portable.InputStream $in = null; 19 try { 20 org.omg.CORBA.portable.OutputStream $out = _request ("_get_all_of_type_package", true); 21 $in = _invoke ($out); 22 org.omg.mof.Model.Package $result[] = org.omg.mof.Model.PackageSetHelper.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_package (); 30 } finally { 31 _releaseReply ($in); 32 } 33 } 35 public org.omg.mof.Model.Package[] all_of_class_package () 36 { 37 org.omg.CORBA.portable.InputStream $in = null; 38 try { 39 org.omg.CORBA.portable.OutputStream $out = _request ("_get_all_of_class_package", true); 40 $in = _invoke ($out); 41 org.omg.mof.Model.Package $result[] = org.omg.mof.Model.PackageSetHelper.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_package (); 49 } finally { 50 _releaseReply ($in); 51 } 52 } 54 public org.omg.mof.Model.Package create_package (String name, String annotation, org.omg.mof.Model.VisibilityKind visibility, boolean is_leaf, boolean is_root, boolean is_abstract) 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_package", 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 $in = _invoke ($out); 66 org.omg.mof.Model.Package $result = org.omg.mof.Model.PackageHelper.read ($in); 67 return $result; 68 } catch (org.omg.CORBA.portable.ApplicationException $ex) { 69 $in = $ex.getInputStream (); 70 String _id = $ex.getId (); 71 if (_id.equals ("IDL:org/omg/mof/Reflective/MofError:1.0")) 72 throw org.omg.mof.Reflective.MofErrorHelper.read ($in); 73 else 74 throw new org.omg.CORBA.MARSHAL (_id); 75 } catch (org.omg.CORBA.portable.RemarshalException $rm) { 76 return create_package (name, annotation, visibility, is_leaf, is_root, is_abstract); 77 } finally { 78 _releaseReply ($in); 79 } 80 } 82 public org.omg.mof.Model.GeneralizableElement[] all_of_type_generalizable_element () 83 { 84 org.omg.CORBA.portable.InputStream $in = null; 85 try { 86 org.omg.CORBA.portable.OutputStream $out = _request ("_get_all_of_type_generalizable_element", true); 87 $in = _invoke ($out); 88 org.omg.mof.Model.GeneralizableElement $result[] = org.omg.mof.Model.GeneralizableElementSetHelper.read ($in); 89 return $result; 90 } catch (org.omg.CORBA.portable.ApplicationException $ex) { 91 $in = $ex.getInputStream (); 92 String _id = $ex.getId (); 93 throw new org.omg.CORBA.MARSHAL (_id); 94 } catch (org.omg.CORBA.portable.RemarshalException $rm) { 95 return all_of_type_generalizable_element (); 96 } finally { 97 _releaseReply ($in); 98 } 99 } 101 public org.omg.mof.Model.Namespace[] all_of_type_namespace () 102 { 103 org.omg.CORBA.portable.InputStream $in = null; 104 try { 105 org.omg.CORBA.portable.OutputStream $out = _request ("_get_all_of_type_namespace", true); 106 $in = _invoke ($out); 107 org.omg.mof.Model.Namespace $result[] = org.omg.mof.Model.NamespaceSetHelper.read ($in); 108 return $result; 109 } catch (org.omg.CORBA.portable.ApplicationException $ex) { 110 $in = $ex.getInputStream (); 111 String _id = $ex.getId (); 112 throw new org.omg.CORBA.MARSHAL (_id); 113 } catch (org.omg.CORBA.portable.RemarshalException $rm) { 114 return all_of_type_namespace (); 115 } finally { 116 _releaseReply ($in); 117 } 118 } 120 public org.omg.mof.Model.ModelElement[] all_of_type_model_element () 121 { 122 org.omg.CORBA.portable.InputStream $in = null; 123 try { 124 org.omg.CORBA.portable.OutputStream $out = _request ("_get_all_of_type_model_element", true); 125 $in = _invoke ($out); 126 org.omg.mof.Model.ModelElement $result[] = org.omg.mof.Model.ModelElementSetHelper.read ($in); 127 return $result; 128 } catch (org.omg.CORBA.portable.ApplicationException $ex) { 129 $in = $ex.getInputStream (); 130 String _id = $ex.getId (); 131 throw new org.omg.CORBA.MARSHAL (_id); 132 } catch (org.omg.CORBA.portable.RemarshalException $rm) { 133 return all_of_type_model_element (); 134 } finally { 135 _releaseReply ($in); 136 } 137 } 139 public boolean ref_is_instance_of (org.omg.mof.Reflective.RefObject some_class, boolean consider_subtypes) 140 { 141 org.omg.CORBA.portable.InputStream $in = null; 142 try { 143 org.omg.CORBA.portable.OutputStream $out = _request ("ref_is_instance_of", true); 144 org.omg.mof.Reflective.DesignatorTypeHelper.write ($out, some_class); 145 $out.write_boolean (consider_subtypes); 146 $in = _invoke ($out); 147 boolean $result = $in.read_boolean (); 148 return $result; 149 } catch (org.omg.CORBA.portable.ApplicationException $ex) { 150 $in = $ex.getInputStream (); 151 String _id = $ex.getId (); 152 throw new org.omg.CORBA.MARSHAL (_id); 153 } catch (org.omg.CORBA.portable.RemarshalException $rm) { 154 return ref_is_instance_of (some_class, consider_subtypes); 155 } finally { 156 _releaseReply ($in); 157 } 158 } 160 public org.omg.mof.Reflective.RefObject ref_create_instance (org.omg.CORBA.Any [] args) throws org.omg.mof.Reflective.MofError 161 { 162 org.omg.CORBA.portable.InputStream $in = null; 163 try { 164 org.omg.CORBA.portable.OutputStream $out = _request ("ref_create_instance", true); 165 org.omg.mof.Reflective.ValueTypeListHelper.write ($out, args); 166 $in = _invoke ($out); 167 org.omg.mof.Reflective.RefObject $result = org.omg.mof.Reflective.RefObjectHelper.read ($in); 168 return $result; 169 } catch (org.omg.CORBA.portable.ApplicationException $ex) { 170 $in = $ex.getInputStream (); 171 String _id = $ex.getId (); 172 if (_id.equals ("IDL:org/omg/mof/Reflective/MofError:1.0")) 173 throw org.omg.mof.Reflective.MofErrorHelper.read ($in); 174 else 175 throw new org.omg.CORBA.MARSHAL (_id); 176 } catch (org.omg.CORBA.portable.RemarshalException $rm) { 177 return ref_create_instance (args); 178 } finally { 179 _releaseReply ($in); 180 } 181 } 183 public org.omg.mof.Reflective.RefObject[] ref_all_objects (boolean include_subtypes) 184 { 185 org.omg.CORBA.portable.InputStream $in = null; 186 try { 187 org.omg.CORBA.portable.OutputStream $out = _request ("ref_all_objects", true); 188 $out.write_boolean (include_subtypes); 189 $in = _invoke ($out); 190 org.omg.mof.Reflective.RefObject $result[] = org.omg.mof.Reflective.RefObjectSetHelper.read ($in); 191 return $result; 192 } catch (org.omg.CORBA.portable.ApplicationException $ex) { 193 $in = $ex.getInputStream (); 194 String _id = $ex.getId (); 195 throw new org.omg.CORBA.MARSHAL (_id); 196 } catch (org.omg.CORBA.portable.RemarshalException $rm) { 197 return ref_all_objects (include_subtypes); 198 } finally { 199 _releaseReply ($in); 200 } 201 } 203 public void ref_set_value (org.omg.mof.Reflective.RefObject feature, org.omg.CORBA.Any new_value) throws org.omg.mof.Reflective.MofError 204 { 205 org.omg.CORBA.portable.InputStream $in = null; 206 try { 207 org.omg.CORBA.portable.OutputStream $out = _request ("ref_set_value", true); 208 org.omg.mof.Reflective.DesignatorTypeHelper.write ($out, feature); 209 org.omg.mof.Reflective._ValueTypeHelper.write ($out, new_value); 210 $in = _invoke ($out); 211 } catch (org.omg.CORBA.portable.ApplicationException $ex) { 212 $in = $ex.getInputStream (); 213 String _id = $ex.getId (); 214 if (_id.equals ("IDL:org/omg/mof/Reflective/MofError:1.0")) 215 throw org.omg.mof.Reflective.MofErrorHelper.read ($in); 216 else 217 throw new org.omg.CORBA.MARSHAL (_id); 218 } catch (org.omg.CORBA.portable.RemarshalException $rm) { 219 ref_set_value (feature, new_value); 220 } finally { 221 _releaseReply ($in); 222 } 223 } 225 public org.omg.CORBA.Any ref_value (org.omg.mof.Reflective.RefObject feature) throws org.omg.mof.Reflective.NotSet, org.omg.mof.Reflective.MofError 226 { 227 org.omg.CORBA.portable.InputStream $in = null; 228 try { 229 org.omg.CORBA.portable.OutputStream $out = _request ("ref_value", true); 230 org.omg.mof.Reflective.DesignatorTypeHelper.write ($out, feature); 231 $in = _invoke ($out); 232 org.omg.CORBA.Any $result = org.omg.mof.Reflective._ValueTypeHelper.read ($in); 233 return $result; 234 } catch (org.omg.CORBA.portable.ApplicationException $ex) { 235 $in = $ex.getInputStream (); 236 String _id = $ex.getId (); 237 if (_id.equals ("IDL:org/omg/mof/Reflective/NotSet:1.0")) 238 throw org.omg.mof.Reflective.NotSetHelper.read ($in); 239 else if (_id.equals ("IDL:org/omg/mof/Reflective/MofError:1.0")) 240 throw org.omg.mof.Reflective.MofErrorHelper.read ($in); 241 else 242 throw new org.omg.CORBA.MARSHAL (_id); 243 } catch (org.omg.CORBA.portable.RemarshalException $rm) { 244 return ref_value (feature); 245 } finally { 246 _releaseReply ($in); 247 } 248 } 250 public void ref_unset_value () throws org.omg.mof.Reflective.MofError 251 { 252 org.omg.CORBA.portable.InputStream $in = null; 253 try { 254 org.omg.CORBA.portable.OutputStream $out = _request ("ref_unset_value", true); 255 $in = _invoke ($out); 256 } catch (org.omg.CORBA.portable.ApplicationException $ex) { 257 $in = $ex.getInputStream (); 258 String _id = $ex.getId (); 259 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 ref_unset_value (); 265 } finally { 266 _releaseReply ($in); 267 } 268 } 270 public void ref_add_value (org.omg.mof.Reflective.RefObject feature, org.omg.CORBA.Any new_element) 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_add_value", true); 275 org.omg.mof.Reflective.DesignatorTypeHelper.write ($out, feature); 276 org.omg.mof.Reflective._ValueTypeHelper.write ($out, new_element); 277 $in = _invoke ($out); 278 } catch (org.omg.CORBA.portable.ApplicationException $ex) { 279 $in = $ex.getInputStream (); 280 String _id = $ex.getId (); 281 if (_id.equals ("IDL:org/omg/mof/Reflective/MofError:1.0")) 282 throw org.omg.mof.Reflective.MofErrorHelper.read ($in); 283 else 284 throw new org.omg.CORBA.MARSHAL (_id); 285 } catch (org.omg.CORBA.portable.RemarshalException $rm) { 286 ref_add_value (feature, new_element); 287 } finally { 288 _releaseReply ($in); 289 } 290 } 292 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 293 { 294 org.omg.CORBA.portable.InputStream $in = null; 295 try { 296 org.omg.CORBA.portable.OutputStream $out = _request ("ref_add_value_before", true); 297 org.omg.mof.Reflective.DesignatorTypeHelper.write ($out, feature); 298 org.omg.mof.Reflective._ValueTypeHelper.write ($out, new_element); 299 org.omg.mof.Reflective._ValueTypeHelper.write ($out, before_element); 300 $in = _invoke ($out); 301 } catch (org.omg.CORBA.portable.ApplicationException $ex) { 302 $in = $ex.getInputStream (); 303 String _id = $ex.getId (); 304 if (_id.equals ("IDL:org/omg/mof/Reflective/NotFound:1.0")) 305 throw org.omg.mof.Reflective.NotFoundHelper.read ($in); 306 else if (_id.equals ("IDL:org/omg/mof/Reflective/MofError:1.0")) 307 throw org.omg.mof.Reflective.MofErrorHelper.read ($in); 308 else 309 throw new org.omg.CORBA.MARSHAL (_id); 310 } catch (org.omg.CORBA.portable.RemarshalException $rm) { 311 ref_add_value_before (feature, new_element, before_element); 312 } finally { 313 _releaseReply ($in); 314 } 315 } 317 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 318 { 319 org.omg.CORBA.portable.InputStream $in = null; 320 try { 321 org.omg.CORBA.portable.OutputStream $out = _request ("ref_add_value_at", true); 322 org.omg.mof.Reflective.DesignatorTypeHelper.write ($out, feature); 323 org.omg.mof.Reflective._ValueTypeHelper.write ($out, new_element); 324 $out.write_ulong (position); 325 $in = _invoke ($out); 326 } catch (org.omg.CORBA.portable.ApplicationException $ex) { 327 $in = $ex.getInputStream (); 328 String _id = $ex.getId (); 329 if (_id.equals ("IDL:org/omg/mof/Reflective/BadPosition:1.0")) 330 throw org.omg.mof.Reflective.BadPositionHelper.read ($in); 331 else if (_id.equals ("IDL:org/omg/mof/Reflective/MofError:1.0")) 332 throw org.omg.mof.Reflective.MofErrorHelper.read ($in); 333 else 334 throw new org.omg.CORBA.MARSHAL (_id); 335 } catch (org.omg.CORBA.portable.RemarshalException $rm) { 336 ref_add_value_at (feature, new_element, position); 337 } finally { 338 _releaseReply ($in); 339 } 340 } 342 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 343 { 344 org.omg.CORBA.portable.InputStream $in = null; 345 try { 346 org.omg.CORBA.portable.OutputStream $out = _request ("ref_modify_value", true); 347 org.omg.mof.Reflective.DesignatorTypeHelper.write ($out, feature); 348 org.omg.mof.Reflective._ValueTypeHelper.write ($out, old_element); 349 org.omg.mof.Reflective._ValueTypeHelper.write ($out, new_element); 350 $in = _invoke ($out); 351 } catch (org.omg.CORBA.portable.ApplicationException $ex) { 352 $in = $ex.getInputStream (); 353 String _id = $ex.getId (); 354 if (_id.equals ("IDL:org/omg/mof/Reflective/NotFound:1.0")) 355 throw org.omg.mof.Reflective.NotFoundHelper.read ($in); 356 else if (_id.equals ("IDL:org/omg/mof/Reflective/MofError:1.0")) 357 throw org.omg.mof.Reflective.MofErrorHelper.read ($in); 358 else 359 throw new org.omg.CORBA.MARSHAL (_id); 360 } catch (org.omg.CORBA.portable.RemarshalException $rm) { 361 ref_modify_value (feature, old_element, new_element); 362 } finally { 363 _releaseReply ($in); 364 } 365 } 367 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 368 { 369 org.omg.CORBA.portable.InputStream $in = null; 370 try { 371 org.omg.CORBA.portable.OutputStream $out = _request ("ref_modify_value_at", true); 372 org.omg.mof.Reflective.DesignatorTypeHelper.write ($out, feature); 373 org.omg.mof.Reflective._ValueTypeHelper.write ($out, new_element); 374 $out.write_ulong (position); 375 $in = _invoke ($out); 376 } catch (org.omg.CORBA.portable.ApplicationException $ex) { 377 $in = $ex.getInputStream (); 378 String _id = $ex.getId (); 379 if (_id.equals ("IDL:org/omg/mof/Reflective/BadPosition:1.0")) 380 throw org.omg.mof.Reflective.BadPositionHelper.read ($in); 381 else if (_id.equals ("IDL:org/omg/mof/Reflective/MofError:1.0")) 382 throw org.omg.mof.Reflective.MofErrorHelper.read ($in); 383 else 384 throw new org.omg.CORBA.MARSHAL (_id); 385 } catch (org.omg.CORBA.portable.RemarshalException $rm) { 386 ref_modify_value_at (feature, new_element, position); 387 } finally { 388 _releaseReply ($in); 389 } 390 } 392 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 393 { 394 org.omg.CORBA.portable.InputStream $in = null; 395 try { 396 org.omg.CORBA.portable.OutputStream $out = _request ("ref_remove_value", true); 397 org.omg.mof.Reflective.DesignatorTypeHelper.write ($out, feature); 398 org.omg.mof.Reflective._ValueTypeHelper.write ($out, existing_element); 399 $in = _invoke ($out); 400 } catch (org.omg.CORBA.portable.ApplicationException $ex) { 401 $in = $ex.getInputStream (); 402 String _id = $ex.getId (); 403 if (_id.equals ("IDL:org/omg/mof/Reflective/NotFound:1.0")) 404 throw org.omg.mof.Reflective.NotFoundHelper.read ($in); 405 else if (_id.equals ("IDL:org/omg/mof/Reflective/MofError:1.0")) 406 throw org.omg.mof.Reflective.MofErrorHelper.read ($in); 407 else 408 throw new org.omg.CORBA.MARSHAL (_id); 409 } catch (org.omg.CORBA.portable.RemarshalException $rm) { 410 ref_remove_value (feature, existing_element); 411 } finally { 412 _releaseReply ($in); 413 } 414 } 416 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 417 { 418 org.omg.CORBA.portable.InputStream $in = null; 419 try { 420 org.omg.CORBA.portable.OutputStream $out = _request ("ref_remove_value_at", true); 421 org.omg.mof.Reflective.DesignatorTypeHelper.write ($out, feature); 422 $out.write_ulong (position); 423 $in = _invoke ($out); 424 } catch (org.omg.CORBA.portable.ApplicationException $ex) { 425 $in = $ex.getInputStream (); 426 String _id = $ex.getId (); 427 if (_id.equals ("IDL:org/omg/mof/Reflective/BadPosition:1.0")) 428 throw org.omg.mof.Reflective.BadPositionHelper.read ($in); 429 else if (_id.equals ("IDL:org/omg/mof/Reflective/MofError:1.0")) 430 throw org.omg.mof.Reflective.MofErrorHelper.read ($in); 431 else 432 throw new org.omg.CORBA.MARSHAL (_id); 433 } catch (org.omg.CORBA.portable.RemarshalException $rm) { 434 ref_remove_value_at (feature, position); 435 } finally { 436 _releaseReply ($in); 437 } 438 } 440 public org.omg.mof.Reflective.RefObject ref_immediate_composite () 441 { 442 org.omg.CORBA.portable.InputStream $in = null; 443 try { 444 org.omg.CORBA.portable.OutputStream $out = _request ("ref_immediate_composite", true); 445 $in = _invoke ($out); 446 org.omg.mof.Reflective.RefObject $result = org.omg.mof.Reflective.RefObjectHelper.read ($in); 447 return $result; 448 } catch (org.omg.CORBA.portable.ApplicationException $ex) { 449 $in = $ex.getInputStream (); 450 String _id = $ex.getId (); 451 throw new org.omg.CORBA.MARSHAL (_id); 452 } catch (org.omg.CORBA.portable.RemarshalException $rm) { 453 return ref_immediate_composite (); 454 } finally { 455 _releaseReply ($in); 456 } 457 } 459 public org.omg.mof.Reflective.RefObject ref_outermost_composite () 460 { 461 org.omg.CORBA.portable.InputStream $in = null; 462 try { 463 org.omg.CORBA.portable.OutputStream $out = _request ("ref_outermost_composite", true); 464 $in = _invoke ($out); 465 org.omg.mof.Reflective.RefObject $result = org.omg.mof.Reflective.RefObjectHelper.read ($in); 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_outermost_composite (); 473 } finally { 474 _releaseReply ($in); 475 } 476 } 478 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 479 { 480 org.omg.CORBA.portable.InputStream $in = null; 481 try { 482 org.omg.CORBA.portable.OutputStream $out = _request ("ref_invoke_operation", true); 483 org.omg.mof.Reflective.DesignatorTypeHelper.write ($out, requested_operation); 484 org.omg.mof.Reflective.ValueTypeListHelper.write ($out, args.value); 485 $in = _invoke ($out); 486 org.omg.CORBA.Any $result = org.omg.mof.Reflective._ValueTypeHelper.read ($in); 487 args.value = org.omg.mof.Reflective.ValueTypeListHelper.read ($in); 488 return $result; 489 } catch (org.omg.CORBA.portable.ApplicationException $ex) { 490 $in = $ex.getInputStream (); 491 String _id = $ex.getId (); 492 if (_id.equals ("IDL:org/omg/mof/Reflective/OtherException:1.0")) 493 throw org.omg.mof.Reflective.OtherExceptionHelper.read ($in); 494 else if (_id.equals ("IDL:org/omg/mof/Reflective/MofError:1.0")) 495 throw org.omg.mof.Reflective.MofErrorHelper.read ($in); 496 else 497 throw new org.omg.CORBA.MARSHAL (_id); 498 } catch (org.omg.CORBA.portable.RemarshalException $rm) { 499 return ref_invoke_operation (requested_operation, args); 500 } finally { 501 _releaseReply ($in); 502 } 503 } 505 public String ref_mof_id () 506 { 507 org.omg.CORBA.portable.InputStream $in = null; 508 try { 509 org.omg.CORBA.portable.OutputStream $out = _request ("ref_mof_id", true); 510 $in = _invoke ($out); 511 String $result = $in.read_string (); 512 return $result; 513 } catch (org.omg.CORBA.portable.ApplicationException $ex) { 514 $in = $ex.getInputStream (); 515 String _id = $ex.getId (); 516 throw new org.omg.CORBA.MARSHAL (_id); 517 } catch (org.omg.CORBA.portable.RemarshalException $rm) { 518 return ref_mof_id (); 519 } finally { 520 _releaseReply ($in); 521 } 522 } 524 public org.omg.mof.Reflective.RefObject ref_meta_object () 525 { 526 org.omg.CORBA.portable.InputStream $in = null; 527 try { 528 org.omg.CORBA.portable.OutputStream $out = _request ("ref_meta_object", true); 529 $in = _invoke ($out); 530 org.omg.mof.Reflective.RefObject $result = org.omg.mof.Reflective.DesignatorTypeHelper.read ($in); 531 return $result; 532 } catch (org.omg.CORBA.portable.ApplicationException $ex) { 533 $in = $ex.getInputStream (); 534 String _id = $ex.getId (); 535 throw new org.omg.CORBA.MARSHAL (_id); 536 } catch (org.omg.CORBA.portable.RemarshalException $rm) { 537 return ref_meta_object (); 538 } finally { 539 _releaseReply ($in); 540 } 541 } 543 public boolean ref_itself (org.omg.mof.Reflective.RefBaseObject other_object) 544 { 545 org.omg.CORBA.portable.InputStream $in = null; 546 try { 547 org.omg.CORBA.portable.OutputStream $out = _request ("ref_itself", true); 548 org.omg.mof.Reflective.RefBaseObjectHelper.write ($out, other_object); 549 $in = _invoke ($out); 550 boolean $result = $in.read_boolean (); 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_itself (other_object); 558 } finally { 559 _releaseReply ($in); 560 } 561 } 563 public org.omg.mof.Reflective._RefPackage ref_immediate_package () 564 { 565 org.omg.CORBA.portable.InputStream $in = null; 566 try { 567 org.omg.CORBA.portable.OutputStream $out = _request ("ref_immediate_package", true); 568 $in = _invoke ($out); 569 org.omg.mof.Reflective._RefPackage $result = org.omg.mof.Reflective._RefPackageHelper.read ($in); 570 return $result; 571 } catch (org.omg.CORBA.portable.ApplicationException $ex) { 572 $in = $ex.getInputStream (); 573 String _id = $ex.getId (); 574 throw new org.omg.CORBA.MARSHAL (_id); 575 } catch (org.omg.CORBA.portable.RemarshalException $rm) { 576 return ref_immediate_package (); 577 } finally { 578 _releaseReply ($in); 579 } 580 } 582 public org.omg.mof.Reflective._RefPackage ref_outermost_package () 583 { 584 org.omg.CORBA.portable.InputStream $in = null; 585 try { 586 org.omg.CORBA.portable.OutputStream $out = _request ("ref_outermost_package", true); 587 $in = _invoke ($out); 588 org.omg.mof.Reflective._RefPackage $result = org.omg.mof.Reflective._RefPackageHelper.read ($in); 589 return $result; 590 } catch (org.omg.CORBA.portable.ApplicationException $ex) { 591 $in = $ex.getInputStream (); 592 String _id = $ex.getId (); 593 throw new org.omg.CORBA.MARSHAL (_id); 594 } catch (org.omg.CORBA.portable.RemarshalException $rm) { 595 return ref_outermost_package (); 596 } finally { 597 _releaseReply ($in); 598 } 599 } 601 public void ref_delete () throws org.omg.mof.Reflective.MofError 602 { 603 org.omg.CORBA.portable.InputStream $in = null; 604 try { 605 org.omg.CORBA.portable.OutputStream $out = _request ("ref_delete", true); 606 $in = _invoke ($out); 607 } catch (org.omg.CORBA.portable.ApplicationException $ex) { 608 $in = $ex.getInputStream (); 609 String _id = $ex.getId (); 610 if (_id.equals ("IDL:org/omg/mof/Reflective/MofError:1.0")) 611 throw org.omg.mof.Reflective.MofErrorHelper.read ($in); 612 else 613 throw new org.omg.CORBA.MARSHAL (_id); 614 } catch (org.omg.CORBA.portable.RemarshalException $rm) { 615 ref_delete (); 616 } finally { 617 _releaseReply ($in); 618 } 619 } 621 622 public String name () throws org.omg.mof.Reflective.MofError 624 { 625 org.omg.CORBA.portable.InputStream $in = null; 626 try { 627 org.omg.CORBA.portable.OutputStream $out = _request ("name", true); 628 $in = _invoke ($out); 629 String $result = $in.read_string (); 630 return $result; 631 } catch (org.omg.CORBA.portable.ApplicationException $ex) { 632 $in = $ex.getInputStream (); 633 String _id = $ex.getId (); 634 if (_id.equals ("IDL:org/omg/mof/Reflective/MofError:1.0")) 635 throw org.omg.mof.Reflective.MofErrorHelper.read ($in); 636 else 637 throw new org.omg.CORBA.MARSHAL (_id); 638 } catch (org.omg.CORBA.portable.RemarshalException $rm) { 639 return name (); 640 } finally { 641 _releaseReply ($in); 642 } 643 } 645 public void set_name (String new_value) throws org.omg.mof.Reflective.MofError 646 { 647 org.omg.CORBA.portable.InputStream $in = null; 648 try { 649 org.omg.CORBA.portable.OutputStream $out = _request ("set_name", true); 650 $out.write_string (new_value); 651 $in = _invoke ($out); 652 } catch (org.omg.CORBA.portable.ApplicationException $ex) { 653 $in = $ex.getInputStream (); 654 String _id = $ex.getId (); 655 if (_id.equals ("IDL:org/omg/mof/Reflective/MofError:1.0")) 656 throw org.omg.mof.Reflective.MofErrorHelper.read ($in); 657 else 658 throw new org.omg.CORBA.MARSHAL (_id); 659 } catch (org.omg.CORBA.portable.RemarshalException $rm) { 660 set_name (new_value); 661 } finally { 662 _releaseReply ($in); 663 } 664 } 666 667 public String annotation () throws org.omg.mof.Reflective.MofError 669 { 670 org.omg.CORBA.portable.InputStream $in = null; 671 try { 672 org.omg.CORBA.portable.OutputStream $out = _request ("annotation", true); 673 $in = _invoke ($out); 674 String $result = $in.read_string (); 675 return $result; 676 } catch (org.omg.CORBA.portable.ApplicationException $ex) { 677 $in = $ex.getInputStream (); 678 String _id = $ex.getId (); 679 if (_id.equals ("IDL:org/omg/mof/Reflective/MofError:1.0")) 680 throw org.omg.mof.Reflective.MofErrorHelper.read ($in); 681 else 682 throw new org.omg.CORBA.MARSHAL (_id); 683 } catch (org.omg.CORBA.portable.RemarshalException $rm) { 684 return annotation (); 685 } finally { 686 _releaseReply ($in); 687 } 688 } 690 public void set_annotation (String new_value) throws org.omg.mof.Reflective.MofError 691 { 692 org.omg.CORBA.portable.InputStream $in = null; 693 try { 694 org.omg.CORBA.portable.OutputStream $out = _request ("set_annotation", true); 695 $out.write_string (new_value); 696 $in = _invoke ($out); 697 } catch (org.omg.CORBA.portable.ApplicationException $ex) { 698 $in = $ex.getInputStream (); 699 String _id = $ex.getId (); 700 if (_id.equals ("IDL:org/omg/mof/Reflective/MofError:1.0")) 701 throw org.omg.mof.Reflective.MofErrorHelper.read ($in); 702 else 703 throw new org.omg.CORBA.MARSHAL (_id); 704 } catch (org.omg.CORBA.portable.RemarshalException $rm) { 705 set_annotation (new_value); 706 } finally { 707 _releaseReply ($in); 708 } 709 } 711 712 public String [] qualified_name () throws org.omg.mof.Reflective.MofError 714 { 715 org.omg.CORBA.portable.InputStream $in = null; 716 try { 717 org.omg.CORBA.portable.OutputStream $out = _request ("qualified_name", true); 718 $in = _invoke ($out); 719 String $result[] = org.omg.mof.Model.StringListHelper.read ($in); 720 return $result; 721 } catch (org.omg.CORBA.portable.ApplicationException $ex) { 722 $in = $ex.getInputStream (); 723 String _id = $ex.getId (); 724 if (_id.equals ("IDL:org/omg/mof/Reflective/MofError:1.0")) 725 throw org.omg.mof.Reflective.MofErrorHelper.read ($in); 726 else 727 throw new org.omg.CORBA.MARSHAL (_id); 728 } catch (org.omg.CORBA.portable.RemarshalException $rm) { 729 return qualified_name (); 730 } finally { 731 _releaseReply ($in); 732 } 733 } 735 736 public org.omg.mof.Model.Namespace container () throws org.omg.mof.Reflective.NotSet, org.omg.mof.Reflective.MofError 738 { 739 org.omg.CORBA.portable.InputStream $in = null; 740 try { 741 org.omg.CORBA.portable.OutputStream $out = _request ("container", true); 742 $in = _invoke ($out); 743 org.omg.mof.Model.Namespace $result = org.omg.mof.Model.NamespaceHelper.read ($in); 744 return $result; 745 } catch (org.omg.CORBA.portable.ApplicationException $ex) { 746 $in = $ex.getInputStream (); 747 String _id = $ex.getId (); 748 if (_id.equals ("IDL:org/omg/mof/Reflective/NotSet:1.0")) 749 throw org.omg.mof.Reflective.NotSetHelper.read ($in); 750 else if (_id.equals ("IDL:org/omg/mof/Reflective/MofError:1.0")) 751 throw org.omg.mof.Reflective.MofErrorHelper.read ($in); 752 else 753 throw new org.omg.CORBA.MARSHAL (_id); 754 } catch (org.omg.CORBA.portable.RemarshalException $rm) { 755 return container (); 756 } finally { 757 _releaseReply ($in); 758 } 759 } 761 public void set_container (org.omg.mof.Model.Namespace new_value) throws org.omg.mof.Reflective.MofError 762 { 763 org.omg.CORBA.portable.InputStream $in = null; 764 try { 765 org.omg.CORBA.portable.OutputStream $out = _request ("set_container", true); 766 org.omg.mof.Model.NamespaceHelper.write ($out, new_value); 767 $in = _invoke ($out); 768 } catch (org.omg.CORBA.portable.ApplicationException $ex) { 769 $in = $ex.getInputStream (); 770 String _id = $ex.getId (); 771 if (_id.equals ("IDL:org/omg/mof/Reflective/MofError:1.0")) 772 throw org.omg.mof.Reflective.MofErrorHelper.read ($in); 773 else 774 throw new org.omg.CORBA.MARSHAL (_id); 775 } catch (org.omg.CORBA.portable.RemarshalException $rm) { 776 set_container (new_value); 777 } finally { 778 _releaseReply ($in); 779 } 780 } 782 public void unset_container () throws org.omg.mof.Reflective.MofError 783 { 784 org.omg.CORBA.portable.InputStream $in = null; 785 try { 786 org.omg.CORBA.portable.OutputStream $out = _request ("unset_container", true); 787 $in = _invoke ($out); 788 } catch (org.omg.CORBA.portable.ApplicationException $ex) { 789 $in = $ex.getInputStream (); 790 String _id = $ex.getId (); 791 if (_id.equals ("IDL:org/omg/mof/Reflective/MofError:1.0")) 792 throw org.omg.mof.Reflective.MofErrorHelper.read ($in); 793 else 794 throw new org.omg.CORBA.MARSHAL (_id); 795 } catch (org.omg.CORBA.portable.RemarshalException $rm) { 796 unset_container (); 797 } finally { 798 _releaseReply ($in); 799 } 800 } 802 803 public org.omg.mof.Model.ModelElement[] required_elements () throws org.omg.mof.Reflective.MofError 805 { 806 org.omg.CORBA.portable.InputStream $in = null; 807 try { 808 org.omg.CORBA.portable.OutputStream $out = _request ("required_elements", true); 809 $in = _invoke ($out); 810 org.omg.mof.Model.ModelElement $result[] = org.omg.mof.Model.ModelElementBagHelper.read ($in); 811 return $result; 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 return required_elements (); 821 } finally { 822 _releaseReply ($in); 823 } 824 } 826 public void set_required_elements (org.omg.mof.Model.ModelElement[] new_value) throws org.omg.mof.Reflective.MofError 827 { 828 org.omg.CORBA.portable.InputStream $in = null; 829 try { 830 org.omg.CORBA.portable.OutputStream $out = _request ("set_required_elements", true); 831 org.omg.mof.Model.ModelElementBagHelper.write ($out, new_value); 832 $in = _invoke ($out); 833 } catch (org.omg.CORBA.portable.ApplicationException $ex) { 834 $in = $ex.getInputStream (); 835 String _id = $ex.getId (); 836 if (_id.equals ("IDL:org/omg/mof/Reflective/MofError:1.0")) 837 throw org.omg.mof.Reflective.MofErrorHelper.read ($in); 838 else 839 throw new org.omg.CORBA.MARSHAL (_id); 840 } catch (org.omg.CORBA.portable.RemarshalException $rm) { 841 set_required_elements (new_value); 842 } finally { 843 _releaseReply ($in); 844 } 845 } 847 public void add_required_elements (org.omg.mof.Model.ModelElement new_element) throws org.omg.mof.Reflective.MofError 848 { 849 org.omg.CORBA.portable.InputStream $in = null; 850 try { 851 org.omg.CORBA.portable.OutputStream $out = _request ("add_required_elements", true); 852 org.omg.mof.Model.ModelElementHelper.write ($out, new_element); 853 $in = _invoke ($out); 854 } catch (org.omg.CORBA.portable.ApplicationException $ex) { 855 $in = $ex.getInputStream (); 856 String _id = $ex.getId (); 857 if (_id.equals ("IDL:org/omg/mof/Reflective/MofError:1.0")) 858 throw org.omg.mof.Reflective.MofErrorHelper.read ($in); 859 else 860 throw new org.omg.CORBA.MARSHAL (_id); 861 } catch (org.omg.CORBA.portable.RemarshalException $rm) { 862 add_required_elements (new_element); 863 } finally { 864 _releaseReply ($in); 865 } 866 } 868 public void modify_required_elements (org.omg.mof.Model.ModelElement old_element, org.omg.mof.Model.ModelElement new_element) throws org.omg.mof.Reflective.NotFound, org.omg.mof.Reflective.MofError 869 { 870 org.omg.CORBA.portable.InputStream $in = null; 871 try { 872 org.omg.CORBA.portable.OutputStream $out = _request ("modify_required_elements", true); 873 org.omg.mof.Model.ModelElementHelper.write ($out, old_element); 874 org.omg.mof.Model.ModelElementHelper.write ($out, new_element); 875 $in = _invoke ($out); 876 } catch (org.omg.CORBA.portable.ApplicationException $ex) { 877 $in = $ex.getInputStream (); 878 String _id = $ex.getId (); 879 if (_id.equals ("IDL:org/omg/mof/Reflective/NotFound:1.0")) 880 throw org.omg.mof.Reflective.NotFoundHelper.read ($in); 881 else if (_id.equals ("IDL:org/omg/mof/Reflective/MofError:1.0")) 882 throw org.omg.mof.Reflective.MofErrorHelper.read ($in); 883 else 884 throw new org.omg.CORBA.MARSHAL (_id); 885 } catch (org.omg.CORBA.portable.RemarshalException $rm) { 886 modify_required_elements (old_element, new_element); 887 } finally { 888 _releaseReply ($in); 889 } 890 } 892 public void remove_required_elements (org.omg.mof.Model.ModelElement old_element) throws org.omg.mof.Reflective.NotFound, org.omg.mof.Reflective.MofError 893 { 894 org.omg.CORBA.portable.InputStream $in = null; 895 try { 896 org.omg.CORBA.portable.OutputStream $out = _request ("remove_required_elements", true); 897 org.omg.mof.Model.ModelElementHelper.write ($out, old_element); 898 $in = _invoke ($out); 899 } catch (org.omg.CORBA.portable.ApplicationException $ex) { 900 $in = $ex.getInputStream (); 901 String _id = $ex.getId (); 902 if (_id.equals ("IDL:org/omg/mof/Reflective/NotFound:1.0")) 903 throw org.omg.mof.Reflective.NotFoundHelper.read ($in); 904 else if (_id.equals ("IDL:org/omg/mof/Reflective/MofError:1.0")) 905 throw org.omg.mof.Reflective.MofErrorHelper.read ($in); 906 else 907 throw new org.omg.CORBA.MARSHAL (_id); 908 } catch (org.omg.CORBA.portable.RemarshalException $rm) { 909 remove_required_elements (old_element); 910 } finally { 911 _releaseReply ($in); 912 } 913 } 915 916 public org.omg.mof.Model.Constraint[] constraints () throws org.omg.mof.Reflective.MofError 918 { 919 org.omg.CORBA.portable.InputStream $in = null; 920 try { 921 org.omg.CORBA.portable.OutputStream $out = _request ("constraints", true); 922 $in = _invoke ($out); 923 org.omg.mof.Model.Constraint $result[] = org.omg.mof.Model.ConstraintBagHelper.read ($in); 924 return $result; 925 } catch (org.omg.CORBA.portable.ApplicationException $ex) { 926 $in = $ex.getInputStream (); 927 String _id = $ex.getId (); 928 if (_id.equals ("IDL:org/omg/mof/Reflective/MofError:1.0")) 929 throw org.omg.mof.Reflective.MofErrorHelper.read ($in); 930 else 931 throw new org.omg.CORBA.MARSHAL (_id); 932 } catch (org.omg.CORBA.portable.RemarshalException $rm) { 933 return constraints (); 934 } finally { 935 _releaseReply ($in); 936 } 937 } 939 public void set_constraints (org.omg.mof.Model.Constraint[] new_value) throws org.omg.mof.Reflective.MofError 940 { 941 org.omg.CORBA.portable.InputStream $in = null; 942 try { 943 org.omg.CORBA.portable.OutputStream $out = _request ("set_constraints", true); 944 org.omg.mof.Model.ConstraintBagHelper.write ($out, new_value); 945 $in = _invoke ($out); 946 } catch (org.omg.CORBA.portable.ApplicationException $ex) { 947 $in = $ex.getInputStream (); 948 String _id = $ex.getId (); 949 if (_id.equals ("IDL:org/omg/mof/Reflective/MofError:1.0")) 950 throw org.omg.mof.Reflective.MofErrorHelper.read ($in); 951 else 952 throw new org.omg.CORBA.MARSHAL (_id); 953 } catch (org.omg.CORBA.portable.RemarshalException $rm) { 954 set_constraints (new_value); 955 } finally { 956 _releaseReply ($in); 957 } 958 } 960 public void add_constraints (org.omg.mof.Model.Constraint new_element) throws org.omg.mof.Reflective.MofError 961 { 962 org.omg.CORBA.portable.InputStream $in = null; 963 try { 964 org.omg.CORBA.portable.OutputStream $out = _request ("add_constraints", true); 965 org.omg.mof.Model.ConstraintHelper.write ($out, new_element); 966 $in = _invoke ($out); 967 } catch (org.omg.CORBA.portable.ApplicationException $ex) { 968 $in = $ex.getInputStream (); 969 String _id = $ex.getId (); 970 if (_id.equals ("IDL:org/omg/mof/Reflective/MofError:1.0")) 971 throw org.omg.mof.Reflective.MofErrorHelper.read ($in); 972 else 973 throw new org.omg.CORBA.MARSHAL (_id); 974 } catch (org.omg.CORBA.portable.RemarshalException $rm) { 975 add_constraints (new_element); 976 } finally { 977 _releaseReply ($in); 978 } 979 } 981 public void modify_constraints (org.omg.mof.Model.Constraint old_element, org.omg.mof.Model.Constraint new_element) throws org.omg.mof.Reflective.NotFound, org.omg.mof.Reflective.MofError 982 { 983 org.omg.CORBA.portable.InputStream $in = null; 984 try { 985 org.omg.CORBA.portable.OutputStream $out = _request ("modify_constraints", true); 986 org.omg.mof.Model.ConstraintHelper.write ($out, old_element); 987 org.omg.mof.Model.ConstraintHelper.write ($out, new_element); 988 $in = _invoke ($out); 989 } catch (org.omg.CORBA.portable.ApplicationException $ex) { 990 $in = $ex.getInputStream (); 991 String _id = $ex.getId (); 992 if (_id.equals ("IDL:org/omg/mof/Reflective/NotFound:1.0")) 993 throw org.omg.mof.Reflective.NotFoundHelper.read ($in); 994 else if (_id.equals ("IDL:org/omg/mof/Reflective/MofError:1.0")) 995 throw org.omg.mof.Reflective.MofErrorHelper.read ($in); 996 else 997 throw new org.omg.CORBA.MARSHAL (_id); 998 } catch (org.omg.CORBA.portable.RemarshalException $rm) { 999 modify_constraints (old_element, new_element); 1000 } finally { 1001 _releaseReply ($in); 1002 } 1003 } 1005 public void remove_constraints (org.omg.mof.Model.Constraint old_element) throws org.omg.mof.Reflective.NotFound, org.omg.mof.Reflective.MofError 1006 { 1007 org.omg.CORBA.portable.InputStream $in = null; 1008 try { 1009 org.omg.CORBA.portable.OutputStream $out = _request ("remove_constraints", true); 1010 org.omg.mof.Model.ConstraintHelper.write ($out, old_element); 1011 $in = _invoke ($out); 1012 } catch (org.omg.CORBA.portable.ApplicationException $ex) { 1013 $in = $ex.getInputStream (); 1014 String _id = $ex.getId (); 1015 if (_id.equals ("IDL:org/omg/mof/Reflective/NotFound:1.0")) 1016 throw org.omg.mof.Reflective.NotFoundHelper.read ($in); 1017 else if (_id.equals ("IDL:org/omg/mof/Reflective/MofError:1.0")) 1018 throw org.omg.mof.Reflective.MofErrorHelper.read ($in); 1019 else 1020 throw new org.omg.CORBA.MARSHAL (_id); 1021 } catch (org.omg.CORBA.portable.RemarshalException $rm) { 1022 remove_constraints (old_element); 1023 } finally { 1024 _releaseReply ($in); 1025 } 1026 } 1028 1029 public org.omg.mof.Model.ModelElement[] contents () throws org.omg.mof.Reflective.MofError 1031 { 1032 org.omg.CORBA.portable.InputStream $in = null; 1033 try { 1034 org.omg.CORBA.portable.OutputStream $out = _request ("contents", true); 1035 $in = _invoke ($out); 1036 org.omg.mof.Model.ModelElement $result[] = org.omg.mof.Model.ModelElementListHelper.read ($in); 1037 return $result; 1038 } catch (org.omg.CORBA.portable.ApplicationException $ex) { 1039 $in = $ex.getInputStream (); 1040 String _id = $ex.getId (); 1041 if (_id.equals ("IDL:org/omg/mof/Reflective/MofError:1.0")) 1042 throw org.omg.mof.Reflective.MofErrorHelper.read ($in); 1043 else 1044 throw new org.omg.CORBA.MARSHAL (_id); 1045 } catch (org.omg.CORBA.portable.RemarshalException $rm) { 1046 return contents (); 1047 } finally { 1048 _releaseReply ($in); 1049 } 1050 } 1052 public void set_contents (org.omg.mof.Model.ModelElement[] new_value) throws org.omg.mof.Reflective.MofError 1053 { 1054 org.omg.CORBA.portable.InputStream $in = null; 1055 try { 1056 org.omg.CORBA.portable.OutputStream $out = _request ("set_contents", true); 1057 org.omg.mof.Model.ModelElementListHelper.write ($out, new_value); 1058 $in = _invoke ($out); 1059 } catch (org.omg.CORBA.portable.ApplicationException $ex) { 1060 $in = $ex.getInputStream (); 1061 String _id = $ex.getId (); 1062 if (_id.equals ("IDL:org/omg/mof/Reflective/MofError:1.0")) 1063 throw org.omg.mof.Reflective.MofErrorHelper.read ($in); 1064 else 1065 throw new org.omg.CORBA.MARSHAL (_id); 1066 } catch (org.omg.CORBA.portable.RemarshalException $rm) { 1067 set_contents (new_value); 1068 } finally { 1069 _releaseReply ($in); 1070 } 1071 } 1073 public void add_contents (org.omg.mof.Model.ModelElement new_element) throws org.omg.mof.Reflective.MofError 1074 { 1075 org.omg.CORBA.portable.InputStream $in = null; 1076 try { 1077 org.omg.CORBA.portable.OutputStream $out = _request ("add_contents", true); 1078 org.omg.mof.Model.ModelElementHelper.write ($out, new_element); 1079 $in = _invoke ($out); 1080 } catch (org.omg.CORBA.portable.ApplicationException $ex) { 1081 $in = $ex.getInputStream (); 1082 String _id = $ex.getId (); 1083 if (_id.equals ("IDL:org/omg/mof/Reflective/MofError:1.0")) 1084 throw org.omg.mof.Reflective.MofErrorHelper.read ($in); 1085 else 1086 throw new org.omg.CORBA.MARSHAL (_id); 1087 } catch (org.omg.CORBA.portable.RemarshalException $rm) { 1088 add_contents (new_element); 1089 } finally { 1090 _releaseReply ($in); 1091 } 1092 } 1094 public void add_contents_before (org.omg.mof.Model.ModelElement new_element, org.omg.mof.Model.ModelElement before_element) throws org.omg.mof.Reflective.NotFound, org.omg.mof.Reflective.MofError 1095 { 1096 org.omg.CORBA.portable.InputStream $in = null; 1097 try { 1098 org.omg.CORBA.portable.OutputStream $out = _request ("add_contents_before", true); 1099 org.omg.mof.Model.ModelElementHelper.write ($out, new_element); 1100 org.omg.mof.Model.ModelElementHelper.write ($out, before_element); 1101 $in = _invoke ($out); 1102 } catch (org.omg.CORBA.portable.ApplicationException $ex) { 1103 $in = $ex.getInputStream (); 1104 String _id = $ex.getId (); 1105 if (_id.equals ("IDL:org/omg/mof/Reflective/NotFound:1.0")) 1106 throw org.omg.mof.Reflective.NotFoundHelper.read ($in); 1107 else if (_id.equals ("IDL:org/omg/mof/Reflective/MofError:1.0")) 1108 throw org.omg.mof.Reflective.MofErrorHelper.read ($in); 1109 else 1110 throw new org.omg.CORBA.MARSHAL (_id); 1111 } catch (org.omg.CORBA.portable.RemarshalException $rm) { 1112 add_contents_before (new_element, before_element); 1113 } finally { 1114 _releaseReply ($in); 1115 } 1116 } 1118 public void modify_contents (org.omg.mof.Model.ModelElement old_element, org.omg.mof.Model.ModelElement new_element) throws org.omg.mof.Reflective.NotFound, org.omg.mof.Reflective.MofError 1119 { 1120 org.omg.CORBA.portable.InputStream $in = null; 1121 try { 1122 org.omg.CORBA.portable.OutputStream $out = _request ("modify_contents", true); 1123 org.omg.mof.Model.ModelElementHelper.write ($out, old_element); 1124 org.omg.mof.Model.ModelElementHelper.write ($out, new_element); 1125 $in = _invoke ($out); 1126 } catch (org.omg.CORBA.portable.ApplicationException $ex) { 1127 $in = $ex.getInputStream (); 1128 String _id = $ex.getId (); 1129 if (_id.equals ("IDL:org/omg/mof/Reflective/NotFound:1.0")) 1130 throw org.omg.mof.Reflective.NotFoundHelper.read ($in); 1131 else if (_id.equals ("IDL:org/omg/mof/Reflective/MofError:1.0")) 1132 throw org.omg.mof.Reflective.MofErrorHelper.read ($in); 1133 else 1134 throw new org.omg.CORBA.MARSHAL (_id); 1135 } catch (org.omg.CORBA.portable.RemarshalException $rm) { 1136 modify_contents (old_element, new_element); 1137 } finally { 1138 _releaseReply ($in); 1139 } 1140 } 1142 public void remove_contents (org.omg.mof.Model.ModelElement old_element) throws org.omg.mof.Reflective.NotFound, org.omg.mof.Reflective.MofError 1143 { 1144 org.omg.CORBA.portable.InputStream $in = null; 1145 try { 1146 org.omg.CORBA.portable.OutputStream $out = _request ("remove_contents", true); 1147 org.omg.mof.Model.ModelElementHelper.write ($out, old_element); 1148 $in = _invoke ($out); 1149 } catch (org.omg.CORBA.portable.ApplicationException $ex) { 1150 $in = $ex.getInputStream (); 1151 String _id = $ex.getId (); 1152 if (_id.equals ("IDL:org/omg/mof/Reflective/NotFound:1.0")) 1153 throw org.omg.mof.Reflective.NotFoundHelper.read ($in); 1154 else if (_id.equals ("IDL:org/omg/mof/Reflective/MofError:1.0")) 1155 throw org.omg.mof.Reflective.MofErrorHelper.read ($in); 1156 else 1157 throw new org.omg.CORBA.MARSHAL (_id); 1158 } catch (org.omg.CORBA.portable.RemarshalException $rm) { 1159 remove_contents (old_element); 1160 } finally { 1161 _releaseReply ($in); 1162 } 1163 } 1165 1166 public org.omg.mof.Model.VisibilityKind visibility () throws org.omg.mof.Reflective.MofError 1168 { 1169 org.omg.CORBA.portable.InputStream $in = null; 1170 try { 1171 org.omg.CORBA.portable.OutputStream $out = _request ("visibility", true); 1172 $in = _invoke ($out); 1173 org.omg.mof.Model.VisibilityKind $result = org.omg.mof.Model.VisibilityKindHelper.read ($in); 1174 return $result; 1175 } catch (org.omg.CORBA.portable.ApplicationException $ex) { 1176 $in = $ex.getInputStream (); 1177 String _id = $ex.getId (); 1178 if (_id.equals ("IDL:org/omg/mof/Reflective/MofError:1.0")) 1179 throw org.omg.mof.Reflective.MofErrorHelper.read ($in); 1180 else 1181 throw new org.omg.CORBA.MARSHAL (_id); 1182 } catch (org.omg.CORBA.portable.RemarshalException $rm) { 1183 return visibility (); 1184 } finally { 1185 _releaseReply ($in); 1186 } 1187 } 1189 public void set_visibility (org.omg.mof.Model.VisibilityKind new_value) throws org.omg.mof.Reflective.MofError 1190 { 1191 org.omg.CORBA.portable.InputStream $in = null; 1192 try { 1193 org.omg.CORBA.portable.OutputStream $out = _request ("set_visibility", true); 1194 org.omg.mof.Model.VisibilityKindHelper.write ($out, new_value); 1195 $in = _invoke ($out); 1196 } catch (org.omg.CORBA.portable.ApplicationException $ex) { 1197 $in = $ex.getInputStream (); 1198 String _id = $ex.getId (); 1199 if (_id.equals ("IDL:org/omg/mof/Reflective/MofError:1.0")) 1200 throw org.omg.mof.Reflective.MofErrorHelper.read ($in); 1201 else 1202 throw new org.omg.CORBA.MARSHAL (_id); 1203 } catch (org.omg.CORBA.portable.RemarshalException $rm) { 1204 set_visibility (new_value); 1205 } finally { 1206 _releaseReply ($in); 1207 } 1208 } 1210 1211 public boolean is_leaf () throws org.omg.mof.Reflective.MofError 1213 { 1214 org.omg.CORBA.portable.InputStream $in = null; 1215 try { 1216 org.omg.CORBA.portable.OutputStream $out = _request ("is_leaf", true); 1217 $in = _invoke ($out); 1218 boolean $result = $in.read_boolean (); 1219 return $result; 1220 } catch (org.omg.CORBA.portable.ApplicationException $ex) { 1221 $in = $ex.getInputStream (); 1222 String _id = $ex.getId (); 1223 if (_id.equals ("IDL:org/omg/mof/Reflective/MofError:1.0")) 1224 throw org.omg.mof.Reflective.MofErrorHelper.read ($in); 1225 else 1226 throw new org.omg.CORBA.MARSHAL (_id); 1227 } catch (org.omg.CORBA.portable.RemarshalException $rm) { 1228 return is_leaf (); 1229 } finally { 1230 _releaseReply ($in); 1231 } 1232 } 1234 public void set_is_leaf (boolean new_value) throws org.omg.mof.Reflective.MofError 1235 { 1236 org.omg.CORBA.portable.InputStream $in = null; 1237 try { 1238 org.omg.CORBA.portable.OutputStream $out = _request ("set_is_leaf", true); 1239 $out.write_boolean (new_value); 1240 $in = _invoke ($out); 1241 } catch (org.omg.CORBA.portable.ApplicationException $ex) { 1242 $in = $ex.getInputStream (); 1243 String _id = $ex.getId (); 1244 if (_id.equals ("IDL:org/omg/mof/Reflective/MofError:1.0")) 1245 throw org.omg.mof.Reflective.MofErrorHelper.read ($in); 1246 else 1247 throw new org.omg.CORBA.MARSHAL (_id); 1248 } catch (org.omg.CORBA.portable.RemarshalException $rm) { 1249 set_is_leaf (new_value); 1250 } finally { 1251 _releaseReply ($in); 1252 } 1253 } 1255 1256 public boolean is_root () throws org.omg.mof.Reflective.MofError 1258 { 1259 org.omg.CORBA.portable.InputStream $in = null; 1260 try { 1261 org.omg.CORBA.portable.OutputStream $out = _request ("is_root", true); 1262 $in = _invoke ($out); 1263 boolean $result = $in.read_boolean (); 1264 return $result; 1265 } catch (org.omg.CORBA.portable.ApplicationException $ex) { 1266 $in = $ex.getInputStream (); 1267 String _id = $ex.getId (); 1268 if (_id.equals ("IDL:org/omg/mof/Reflective/MofError:1.0")) 1269 throw org.omg.mof.Reflective.MofErrorHelper.read ($in); 1270 else 1271 throw new org.omg.CORBA.MARSHAL (_id); 1272 } catch (org.omg.CORBA.portable.RemarshalException $rm) { 1273 return is_root (); 1274 } finally { 1275 _releaseReply ($in); 1276 } 1277 } 1279 public void set_is_root (boolean new_value) throws org.omg.mof.Reflective.MofError 1280 { 1281 org.omg.CORBA.portable.InputStream $in = null; 1282 try { 1283 org.omg.CORBA.portable.OutputStream $out = _request ("set_is_root", true); 1284 $out.write_boolean (new_value); 1285 $in = _invoke ($out); 1286 } catch (org.omg.CORBA.portable.ApplicationException $ex) { 1287 $in = $ex.getInputStream (); 1288 String _id = $ex.getId (); 1289 if (_id.equals ("IDL:org/omg/mof/Reflective/MofError:1.0")) 1290 throw org.omg.mof.Reflective.MofErrorHelper.read ($in); 1291 else 1292 throw new org.omg.CORBA.MARSHAL (_id); 1293 } catch (org.omg.CORBA.portable.RemarshalException $rm) { 1294 set_is_root (new_value); 1295 } finally { 1296 _releaseReply ($in); 1297 } 1298 } 1300 1301 public boolean is_abstract () throws org.omg.mof.Reflective.MofError 1303 { 1304 org.omg.CORBA.portable.InputStream $in = null; 1305 try { 1306 org.omg.CORBA.portable.OutputStream $out = _request ("is_abstract", true); 1307 $in = _invoke ($out); 1308 boolean $result = $in.read_boolean (); 1309 return $result; 1310 } catch (org.omg.CORBA.portable.ApplicationException $ex) { 1311 $in = $ex.getInputStream (); 1312 String _id = $ex.getId (); 1313 if (_id.equals ("IDL:org/omg/mof/Reflective/MofError:1.0")) 1314 throw org.omg.mof.Reflective.MofErrorHelper.read ($in); 1315 else 1316 throw new org.omg.CORBA.MARSHAL (_id); 1317 } catch (org.omg.CORBA.portable.RemarshalException $rm) { 1318 return is_abstract (); 1319 } finally { 1320 _releaseReply ($in); 1321 } 1322 } 1324 public void set_is_abstract (boolean new_value) throws org.omg.mof.Reflective.MofError 1325 { 1326 org.omg.CORBA.portable.InputStream $in = null; 1327 try { 1328 org.omg.CORBA.portable.OutputStream $out = _request ("set_is_abstract", true); 1329 $out.write_boolean (new_value); 1330 $in = _invoke ($out); 1331 } catch (org.omg.CORBA.portable.ApplicationException $ex) { 1332 $in = $ex.getInputStream (); 1333 String _id = $ex.getId (); 1334 if (_id.equals ("IDL:org/omg/mof/Reflective/MofError:1.0")) 1335 throw org.omg.mof.Reflective.MofErrorHelper.read ($in); 1336 else 1337 throw new org.omg.CORBA.MARSHAL (_id); 1338 } catch (org.omg.CORBA.portable.RemarshalException $rm) { 1339 set_is_abstract (new_value); 1340 } finally { 1341 _releaseReply ($in); 1342 } 1343 } 1345 1346 public org.omg.mof.Model.GeneralizableElement[] all_supertypes () throws org.omg.mof.Reflective.MofError 1348 { 1349 org.omg.CORBA.portable.InputStream $in = null; 1350 try { 1351 org.omg.CORBA.portable.OutputStream $out = _request ("all_supertypes", true); 1352 $in = _invoke ($out); 1353 org.omg.mof.Model.GeneralizableElement $result[] = org.omg.mof.Model.GeneralizableElementUListHelper.read ($in); 1354 return $result; 1355 } catch (org.omg.CORBA.portable.ApplicationException $ex) { 1356 $in = $ex.getInputStream (); 1357 String _id = $ex.getId (); 1358 if (_id.equals ("IDL:org/omg/mof/Reflective/MofError:1.0")) 1359 throw org.omg.mof.Reflective.MofErrorHelper.read ($in); 1360 else 1361 throw new org.omg.CORBA.MARSHAL (_id); 1362 } catch (org.omg.CORBA.portable.RemarshalException $rm) { 1363 return all_supertypes (); 1364 } finally { 1365 _releaseReply ($in); 1366 } 1367 } 1369 1370 public org.omg.mof.Model.GeneralizableElement[] supertypes () throws org.omg.mof.Reflective.MofError 1372 { 1373 org.omg.CORBA.portable.InputStream $in = null; 1374 try { 1375 org.omg.CORBA.portable.OutputStream $out = _request ("supertypes", true); 1376 $in = _invoke ($out); 1377 org.omg.mof.Model.GeneralizableElement $result[] = org.omg.mof.Model.GeneralizableElementListHelper.read ($in); 1378 return $result; 1379 } catch (org.omg.CORBA.portable.ApplicationException $ex) { 1380 $in = $ex.getInputStream (); 1381 String _id = $ex.getId (); 1382 if (_id.equals ("IDL:org/omg/mof/Reflective/MofError:1.0")) 1383 throw org.omg.mof.Reflective.MofErrorHelper.read ($in); 1384 else 1385 throw new org.omg.CORBA.MARSHAL (_id); 1386 } catch (org.omg.CORBA.portable.RemarshalException $rm) { 1387 return supertypes (); 1388 } finally { 1389 _releaseReply ($in); 1390 } 1391 } 1393 public void set_supertypes (org.omg.mof.Model.GeneralizableElement[] new_value) throws org.omg.mof.Reflective.MofError 1394 { 1395 org.omg.CORBA.portable.InputStream $in = null; 1396 try { 1397 org.omg.CORBA.portable.OutputStream $out = _request ("set_supertypes", true); 1398 org.omg.mof.Model.GeneralizableElementListHelper.write ($out, new_value); 1399 $in = _invoke ($out); 1400 } catch (org.omg.CORBA.portable.ApplicationException $ex) { 1401 $in = $ex.getInputStream (); 1402 String _id = $ex.getId (); 1403 if (_id.equals ("IDL:org/omg/mof/Reflective/MofError:1.0")) 1404 throw org.omg.mof.Reflective.MofErrorHelper.read ($in); 1405 else 1406 throw new org.omg.CORBA.MARSHAL (_id); 1407 } catch (org.omg.CORBA.portable.RemarshalException $rm) { 1408 set_supertypes (new_value); 1409 } finally { 1410 _releaseReply ($in); 1411 } 1412 } 1414 public void add_supertypes (org.omg.mof.Model.GeneralizableElement new_element) throws org.omg.mof.Reflective.MofError 1415 { 1416 org.omg.CORBA.portable.InputStream $in = null; 1417 try { 1418 org.omg.CORBA.portable.OutputStream $out = _request ("add_supertypes", true); 1419 org.omg.mof.Model.GeneralizableElementHelper.write ($out, new_element); 1420 $in = _invoke ($out); 1421 } catch (org.omg.CORBA.portable.ApplicationException $ex) { 1422 $in = $ex.getInputStream (); 1423 String _id = $ex.getId (); 1424 if (_id.equals ("IDL:org/omg/mof/Reflective/MofError:1.0")) 1425 throw org.omg.mof.Reflective.MofErrorHelper.read ($in); 1426 else 1427 throw new org.omg.CORBA.MARSHAL (_id); 1428 } catch (org.omg.CORBA.portable.RemarshalException $rm) { 1429 add_supertypes (new_element); 1430 } finally { 1431 _releaseReply ($in); 1432 } 1433 } 1435 public void add_supertypes_before (org.omg.mof.Model.GeneralizableElement new_element, org.omg.mof.Model.GeneralizableElement before_element) throws org.omg.mof.Reflective.NotFound, org.omg.mof.Reflective.MofError 1436 { 1437 org.omg.CORBA.portable.InputStream $in = null; 1438 try { 1439 org.omg.CORBA.portable.OutputStream $out = _request ("add_supertypes_before", true); 1440 org.omg.mof.Model.GeneralizableElementHelper.write ($out, new_element); 1441 org.omg.mof.Model.GeneralizableElementHelper.write ($out, before_element); 1442 $in = _invoke ($out); 1443 } catch (org.omg.CORBA.portable.ApplicationException $ex) { 1444 $in = $ex.getInputStream (); 1445 String _id = $ex.getId (); 1446 if (_id.equals ("IDL:org/omg/mof/Reflective/NotFound:1.0")) 1447 throw org.omg.mof.Reflective.NotFoundHelper.read ($in); 1448 else if (_id.equals ("IDL:org/omg/mof/Reflective/MofError:1.0")) 1449 throw org.omg.mof.Reflective.MofErrorHelper.read ($in); 1450 else 1451 throw new org.omg.CORBA.MARSHAL (_id); 1452 } catch (org.omg.CORBA.portable.RemarshalException $rm) { 1453 add_supertypes_before (new_element, before_element); 1454 } finally { 1455 _releaseReply ($in); 1456 } 1457 } 1459 public void modify_supertypes (org.omg.mof.Model.GeneralizableElement old_element, org.omg.mof.Model.GeneralizableElement new_element) throws org.omg.mof.Reflective.NotFound, org.omg.mof.Reflective.MofError 1460 { 1461 org.omg.CORBA.portable.InputStream $in = null; 1462 try { 1463 org.omg.CORBA.portable.OutputStream $out = _request ("modify_supertypes", true); 1464 org.omg.mof.Model.GeneralizableElementHelper.write ($out, old_element); 1465 org.omg.mof.Model.GeneralizableElementHelper.write ($out, new_element); 1466 $in = _invoke ($out); 1467 } catch (org.omg.CORBA.portable.ApplicationException $ex) { 1468 $in = $ex.getInputStream (); 1469 String _id = $ex.getId (); 1470 if (_id.equals ("IDL:org/omg/mof/Reflective/NotFound:1.0")) 1471 throw org.omg.mof.Reflective.NotFoundHelper.read ($in); 1472 else if (_id.equals ("IDL:org/omg/mof/Reflective/MofError:1.0")) 1473 throw org.omg.mof.Reflective.MofErrorHelper.read ($in); 1474 else 1475 throw new org.omg.CORBA.MARSHAL (_id); 1476 } catch (org.omg.CORBA.portable.RemarshalException $rm) { 1477 modify_supertypes (old_element, new_element); 1478 } finally { 1479 _releaseReply ($in); 1480 } 1481 } 1483 public void remove_supertypes (org.omg.mof.Model.GeneralizableElement old_element) throws org.omg.mof.Reflective.NotFound, org.omg.mof.Reflective.MofError 1484 { 1485 org.omg.CORBA.portable.InputStream $in = null; 1486 try { 1487 org.omg.CORBA.portable.OutputStream $out = _request ("remove_supertypes", true); 1488 org.omg.mof.Model.GeneralizableElementHelper.write ($out, old_element); 1489 $in = _invoke ($out); 1490 } catch (org.omg.CORBA.portable.ApplicationException $ex) { 1491 $in = $ex.getInputStream (); 1492 String _id = $ex.getId (); 1493 if (_id.equals ("IDL:org/omg/mof/Reflective/NotFound:1.0")) 1494 throw org.omg.mof.Reflective.NotFoundHelper.read ($in); 1495 else if (_id.equals ("IDL:org/omg/mof/Reflective/MofError:1.0")) 1496 throw org.omg.mof.Reflective.MofErrorHelper.read ($in); 1497 else 1498 throw new org.omg.CORBA.MARSHAL (_id); 1499 } catch (org.omg.CORBA.portable.RemarshalException $rm) { 1500 remove_supertypes (old_element); 1501 } finally { 1502 _releaseReply ($in); 1503 } 1504 } 1506 private static String [] __ids = { 1508 "IDL:org/omg/mof/Model/Package:1.0", 1509 "IDL:org/omg/mof/Model/PackageClass:1.0", 1510 "IDL:org/omg/mof/Model/GeneralizableElementClass:1.0", 1511 "IDL:org/omg/mof/Model/NamespaceClass:1.0", 1512 "IDL:org/omg/mof/Model/ModelElementClass:1.0", 1513 "IDL:org/omg/mof/Reflective/RefObject:1.0", 1514 "IDL:org/omg/mof/Reflective/RefBaseObject:1.0", 1515 "IDL:org/omg/mof/Model/ModelElement:1.0", 1516 "IDL:org/omg/mof/Model/Namespace:1.0", 1517 "IDL:org/omg/mof/Model/GeneralizableElement:1.0"}; 1518 1519 public String [] _ids () 1520 { 1521 return (String [])__ids.clone (); 1522 } 1523 1524 private void readObject (java.io.ObjectInputStream s) throws java.io.IOException 1525 { 1526 String str = s.readUTF (); 1527 String [] args = null; 1528 java.util.Properties props = null; 1529 org.omg.CORBA.Object obj = org.omg.CORBA.ORB.init (args, props).string_to_object (str); 1530 org.omg.CORBA.portable.Delegate delegate = ((org.omg.CORBA.portable.ObjectImpl ) obj)._get_delegate (); 1531 _set_delegate (delegate); 1532 } 1533 1534 private void writeObject (java.io.ObjectOutputStream s) throws java.io.IOException 1535 { 1536 String [] args = null; 1537 java.util.Properties props = null; 1538 String str = org.omg.CORBA.ORB.init (args, props).object_to_string (this); 1539 s.writeUTF (str); 1540 } 1541} | Popular Tags |