1 package org.omg.mof.Model; 2 3 4 10 11 12 public class _MofExceptionStub extends org.omg.CORBA.portable.ObjectImpl implements org.omg.mof.Model.MofException 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 639 public String name () throws org.omg.mof.Reflective.MofError 641 { 642 org.omg.CORBA.portable.InputStream $in = null; 643 try { 644 org.omg.CORBA.portable.OutputStream $out = _request ("name", true); 645 $in = _invoke ($out); 646 String $result = $in.read_string (); 647 return $result; 648 } catch (org.omg.CORBA.portable.ApplicationException $ex) { 649 $in = $ex.getInputStream (); 650 String _id = $ex.getId (); 651 if (_id.equals ("IDL:org/omg/mof/Reflective/MofError:1.0")) 652 throw org.omg.mof.Reflective.MofErrorHelper.read ($in); 653 else 654 throw new org.omg.CORBA.MARSHAL (_id); 655 } catch (org.omg.CORBA.portable.RemarshalException $rm) { 656 return name (); 657 } finally { 658 _releaseReply ($in); 659 } 660 } 662 public void set_name (String new_value) throws org.omg.mof.Reflective.MofError 663 { 664 org.omg.CORBA.portable.InputStream $in = null; 665 try { 666 org.omg.CORBA.portable.OutputStream $out = _request ("set_name", true); 667 $out.write_string (new_value); 668 $in = _invoke ($out); 669 } catch (org.omg.CORBA.portable.ApplicationException $ex) { 670 $in = $ex.getInputStream (); 671 String _id = $ex.getId (); 672 if (_id.equals ("IDL:org/omg/mof/Reflective/MofError:1.0")) 673 throw org.omg.mof.Reflective.MofErrorHelper.read ($in); 674 else 675 throw new org.omg.CORBA.MARSHAL (_id); 676 } catch (org.omg.CORBA.portable.RemarshalException $rm) { 677 set_name (new_value); 678 } finally { 679 _releaseReply ($in); 680 } 681 } 683 684 public String annotation () throws org.omg.mof.Reflective.MofError 686 { 687 org.omg.CORBA.portable.InputStream $in = null; 688 try { 689 org.omg.CORBA.portable.OutputStream $out = _request ("annotation", true); 690 $in = _invoke ($out); 691 String $result = $in.read_string (); 692 return $result; 693 } catch (org.omg.CORBA.portable.ApplicationException $ex) { 694 $in = $ex.getInputStream (); 695 String _id = $ex.getId (); 696 if (_id.equals ("IDL:org/omg/mof/Reflective/MofError:1.0")) 697 throw org.omg.mof.Reflective.MofErrorHelper.read ($in); 698 else 699 throw new org.omg.CORBA.MARSHAL (_id); 700 } catch (org.omg.CORBA.portable.RemarshalException $rm) { 701 return annotation (); 702 } finally { 703 _releaseReply ($in); 704 } 705 } 707 public void set_annotation (String new_value) throws org.omg.mof.Reflective.MofError 708 { 709 org.omg.CORBA.portable.InputStream $in = null; 710 try { 711 org.omg.CORBA.portable.OutputStream $out = _request ("set_annotation", true); 712 $out.write_string (new_value); 713 $in = _invoke ($out); 714 } catch (org.omg.CORBA.portable.ApplicationException $ex) { 715 $in = $ex.getInputStream (); 716 String _id = $ex.getId (); 717 if (_id.equals ("IDL:org/omg/mof/Reflective/MofError:1.0")) 718 throw org.omg.mof.Reflective.MofErrorHelper.read ($in); 719 else 720 throw new org.omg.CORBA.MARSHAL (_id); 721 } catch (org.omg.CORBA.portable.RemarshalException $rm) { 722 set_annotation (new_value); 723 } finally { 724 _releaseReply ($in); 725 } 726 } 728 729 public String [] qualified_name () throws org.omg.mof.Reflective.MofError 731 { 732 org.omg.CORBA.portable.InputStream $in = null; 733 try { 734 org.omg.CORBA.portable.OutputStream $out = _request ("qualified_name", true); 735 $in = _invoke ($out); 736 String $result[] = org.omg.mof.Model.StringListHelper.read ($in); 737 return $result; 738 } catch (org.omg.CORBA.portable.ApplicationException $ex) { 739 $in = $ex.getInputStream (); 740 String _id = $ex.getId (); 741 if (_id.equals ("IDL:org/omg/mof/Reflective/MofError:1.0")) 742 throw org.omg.mof.Reflective.MofErrorHelper.read ($in); 743 else 744 throw new org.omg.CORBA.MARSHAL (_id); 745 } catch (org.omg.CORBA.portable.RemarshalException $rm) { 746 return qualified_name (); 747 } finally { 748 _releaseReply ($in); 749 } 750 } 752 753 public org.omg.mof.Model.Namespace container () throws org.omg.mof.Reflective.NotSet, org.omg.mof.Reflective.MofError 755 { 756 org.omg.CORBA.portable.InputStream $in = null; 757 try { 758 org.omg.CORBA.portable.OutputStream $out = _request ("container", true); 759 $in = _invoke ($out); 760 org.omg.mof.Model.Namespace $result = org.omg.mof.Model.NamespaceHelper.read ($in); 761 return $result; 762 } catch (org.omg.CORBA.portable.ApplicationException $ex) { 763 $in = $ex.getInputStream (); 764 String _id = $ex.getId (); 765 if (_id.equals ("IDL:org/omg/mof/Reflective/NotSet:1.0")) 766 throw org.omg.mof.Reflective.NotSetHelper.read ($in); 767 else if (_id.equals ("IDL:org/omg/mof/Reflective/MofError:1.0")) 768 throw org.omg.mof.Reflective.MofErrorHelper.read ($in); 769 else 770 throw new org.omg.CORBA.MARSHAL (_id); 771 } catch (org.omg.CORBA.portable.RemarshalException $rm) { 772 return container (); 773 } finally { 774 _releaseReply ($in); 775 } 776 } 778 public void set_container (org.omg.mof.Model.Namespace new_value) throws org.omg.mof.Reflective.MofError 779 { 780 org.omg.CORBA.portable.InputStream $in = null; 781 try { 782 org.omg.CORBA.portable.OutputStream $out = _request ("set_container", true); 783 org.omg.mof.Model.NamespaceHelper.write ($out, new_value); 784 $in = _invoke ($out); 785 } catch (org.omg.CORBA.portable.ApplicationException $ex) { 786 $in = $ex.getInputStream (); 787 String _id = $ex.getId (); 788 if (_id.equals ("IDL:org/omg/mof/Reflective/MofError:1.0")) 789 throw org.omg.mof.Reflective.MofErrorHelper.read ($in); 790 else 791 throw new org.omg.CORBA.MARSHAL (_id); 792 } catch (org.omg.CORBA.portable.RemarshalException $rm) { 793 set_container (new_value); 794 } finally { 795 _releaseReply ($in); 796 } 797 } 799 public void unset_container () throws org.omg.mof.Reflective.MofError 800 { 801 org.omg.CORBA.portable.InputStream $in = null; 802 try { 803 org.omg.CORBA.portable.OutputStream $out = _request ("unset_container", true); 804 $in = _invoke ($out); 805 } catch (org.omg.CORBA.portable.ApplicationException $ex) { 806 $in = $ex.getInputStream (); 807 String _id = $ex.getId (); 808 if (_id.equals ("IDL:org/omg/mof/Reflective/MofError:1.0")) 809 throw org.omg.mof.Reflective.MofErrorHelper.read ($in); 810 else 811 throw new org.omg.CORBA.MARSHAL (_id); 812 } catch (org.omg.CORBA.portable.RemarshalException $rm) { 813 unset_container (); 814 } finally { 815 _releaseReply ($in); 816 } 817 } 819 820 public org.omg.mof.Model.ModelElement[] required_elements () throws org.omg.mof.Reflective.MofError 822 { 823 org.omg.CORBA.portable.InputStream $in = null; 824 try { 825 org.omg.CORBA.portable.OutputStream $out = _request ("required_elements", true); 826 $in = _invoke ($out); 827 org.omg.mof.Model.ModelElement $result[] = org.omg.mof.Model.ModelElementBagHelper.read ($in); 828 return $result; 829 } catch (org.omg.CORBA.portable.ApplicationException $ex) { 830 $in = $ex.getInputStream (); 831 String _id = $ex.getId (); 832 if (_id.equals ("IDL:org/omg/mof/Reflective/MofError:1.0")) 833 throw org.omg.mof.Reflective.MofErrorHelper.read ($in); 834 else 835 throw new org.omg.CORBA.MARSHAL (_id); 836 } catch (org.omg.CORBA.portable.RemarshalException $rm) { 837 return required_elements (); 838 } finally { 839 _releaseReply ($in); 840 } 841 } 843 public void set_required_elements (org.omg.mof.Model.ModelElement[] new_value) throws org.omg.mof.Reflective.MofError 844 { 845 org.omg.CORBA.portable.InputStream $in = null; 846 try { 847 org.omg.CORBA.portable.OutputStream $out = _request ("set_required_elements", true); 848 org.omg.mof.Model.ModelElementBagHelper.write ($out, new_value); 849 $in = _invoke ($out); 850 } catch (org.omg.CORBA.portable.ApplicationException $ex) { 851 $in = $ex.getInputStream (); 852 String _id = $ex.getId (); 853 if (_id.equals ("IDL:org/omg/mof/Reflective/MofError:1.0")) 854 throw org.omg.mof.Reflective.MofErrorHelper.read ($in); 855 else 856 throw new org.omg.CORBA.MARSHAL (_id); 857 } catch (org.omg.CORBA.portable.RemarshalException $rm) { 858 set_required_elements (new_value); 859 } finally { 860 _releaseReply ($in); 861 } 862 } 864 public void add_required_elements (org.omg.mof.Model.ModelElement new_element) throws org.omg.mof.Reflective.MofError 865 { 866 org.omg.CORBA.portable.InputStream $in = null; 867 try { 868 org.omg.CORBA.portable.OutputStream $out = _request ("add_required_elements", true); 869 org.omg.mof.Model.ModelElementHelper.write ($out, new_element); 870 $in = _invoke ($out); 871 } catch (org.omg.CORBA.portable.ApplicationException $ex) { 872 $in = $ex.getInputStream (); 873 String _id = $ex.getId (); 874 if (_id.equals ("IDL:org/omg/mof/Reflective/MofError:1.0")) 875 throw org.omg.mof.Reflective.MofErrorHelper.read ($in); 876 else 877 throw new org.omg.CORBA.MARSHAL (_id); 878 } catch (org.omg.CORBA.portable.RemarshalException $rm) { 879 add_required_elements (new_element); 880 } finally { 881 _releaseReply ($in); 882 } 883 } 885 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 886 { 887 org.omg.CORBA.portable.InputStream $in = null; 888 try { 889 org.omg.CORBA.portable.OutputStream $out = _request ("modify_required_elements", true); 890 org.omg.mof.Model.ModelElementHelper.write ($out, old_element); 891 org.omg.mof.Model.ModelElementHelper.write ($out, new_element); 892 $in = _invoke ($out); 893 } catch (org.omg.CORBA.portable.ApplicationException $ex) { 894 $in = $ex.getInputStream (); 895 String _id = $ex.getId (); 896 if (_id.equals ("IDL:org/omg/mof/Reflective/NotFound:1.0")) 897 throw org.omg.mof.Reflective.NotFoundHelper.read ($in); 898 else if (_id.equals ("IDL:org/omg/mof/Reflective/MofError:1.0")) 899 throw org.omg.mof.Reflective.MofErrorHelper.read ($in); 900 else 901 throw new org.omg.CORBA.MARSHAL (_id); 902 } catch (org.omg.CORBA.portable.RemarshalException $rm) { 903 modify_required_elements (old_element, new_element); 904 } finally { 905 _releaseReply ($in); 906 } 907 } 909 public void remove_required_elements (org.omg.mof.Model.ModelElement old_element) throws org.omg.mof.Reflective.NotFound, org.omg.mof.Reflective.MofError 910 { 911 org.omg.CORBA.portable.InputStream $in = null; 912 try { 913 org.omg.CORBA.portable.OutputStream $out = _request ("remove_required_elements", true); 914 org.omg.mof.Model.ModelElementHelper.write ($out, old_element); 915 $in = _invoke ($out); 916 } catch (org.omg.CORBA.portable.ApplicationException $ex) { 917 $in = $ex.getInputStream (); 918 String _id = $ex.getId (); 919 if (_id.equals ("IDL:org/omg/mof/Reflective/NotFound:1.0")) 920 throw org.omg.mof.Reflective.NotFoundHelper.read ($in); 921 else if (_id.equals ("IDL:org/omg/mof/Reflective/MofError:1.0")) 922 throw org.omg.mof.Reflective.MofErrorHelper.read ($in); 923 else 924 throw new org.omg.CORBA.MARSHAL (_id); 925 } catch (org.omg.CORBA.portable.RemarshalException $rm) { 926 remove_required_elements (old_element); 927 } finally { 928 _releaseReply ($in); 929 } 930 } 932 933 public org.omg.mof.Model.Constraint[] constraints () throws org.omg.mof.Reflective.MofError 935 { 936 org.omg.CORBA.portable.InputStream $in = null; 937 try { 938 org.omg.CORBA.portable.OutputStream $out = _request ("constraints", true); 939 $in = _invoke ($out); 940 org.omg.mof.Model.Constraint $result[] = org.omg.mof.Model.ConstraintBagHelper.read ($in); 941 return $result; 942 } catch (org.omg.CORBA.portable.ApplicationException $ex) { 943 $in = $ex.getInputStream (); 944 String _id = $ex.getId (); 945 if (_id.equals ("IDL:org/omg/mof/Reflective/MofError:1.0")) 946 throw org.omg.mof.Reflective.MofErrorHelper.read ($in); 947 else 948 throw new org.omg.CORBA.MARSHAL (_id); 949 } catch (org.omg.CORBA.portable.RemarshalException $rm) { 950 return constraints (); 951 } finally { 952 _releaseReply ($in); 953 } 954 } 956 public void set_constraints (org.omg.mof.Model.Constraint[] new_value) throws org.omg.mof.Reflective.MofError 957 { 958 org.omg.CORBA.portable.InputStream $in = null; 959 try { 960 org.omg.CORBA.portable.OutputStream $out = _request ("set_constraints", true); 961 org.omg.mof.Model.ConstraintBagHelper.write ($out, new_value); 962 $in = _invoke ($out); 963 } catch (org.omg.CORBA.portable.ApplicationException $ex) { 964 $in = $ex.getInputStream (); 965 String _id = $ex.getId (); 966 if (_id.equals ("IDL:org/omg/mof/Reflective/MofError:1.0")) 967 throw org.omg.mof.Reflective.MofErrorHelper.read ($in); 968 else 969 throw new org.omg.CORBA.MARSHAL (_id); 970 } catch (org.omg.CORBA.portable.RemarshalException $rm) { 971 set_constraints (new_value); 972 } finally { 973 _releaseReply ($in); 974 } 975 } 977 public void add_constraints (org.omg.mof.Model.Constraint new_element) throws org.omg.mof.Reflective.MofError 978 { 979 org.omg.CORBA.portable.InputStream $in = null; 980 try { 981 org.omg.CORBA.portable.OutputStream $out = _request ("add_constraints", true); 982 org.omg.mof.Model.ConstraintHelper.write ($out, new_element); 983 $in = _invoke ($out); 984 } catch (org.omg.CORBA.portable.ApplicationException $ex) { 985 $in = $ex.getInputStream (); 986 String _id = $ex.getId (); 987 if (_id.equals ("IDL:org/omg/mof/Reflective/MofError:1.0")) 988 throw org.omg.mof.Reflective.MofErrorHelper.read ($in); 989 else 990 throw new org.omg.CORBA.MARSHAL (_id); 991 } catch (org.omg.CORBA.portable.RemarshalException $rm) { 992 add_constraints (new_element); 993 } finally { 994 _releaseReply ($in); 995 } 996 } 998 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 999 { 1000 org.omg.CORBA.portable.InputStream $in = null; 1001 try { 1002 org.omg.CORBA.portable.OutputStream $out = _request ("modify_constraints", true); 1003 org.omg.mof.Model.ConstraintHelper.write ($out, old_element); 1004 org.omg.mof.Model.ConstraintHelper.write ($out, new_element); 1005 $in = _invoke ($out); 1006 } catch (org.omg.CORBA.portable.ApplicationException $ex) { 1007 $in = $ex.getInputStream (); 1008 String _id = $ex.getId (); 1009 if (_id.equals ("IDL:org/omg/mof/Reflective/NotFound:1.0")) 1010 throw org.omg.mof.Reflective.NotFoundHelper.read ($in); 1011 else if (_id.equals ("IDL:org/omg/mof/Reflective/MofError:1.0")) 1012 throw org.omg.mof.Reflective.MofErrorHelper.read ($in); 1013 else 1014 throw new org.omg.CORBA.MARSHAL (_id); 1015 } catch (org.omg.CORBA.portable.RemarshalException $rm) { 1016 modify_constraints (old_element, new_element); 1017 } finally { 1018 _releaseReply ($in); 1019 } 1020 } 1022 public void remove_constraints (org.omg.mof.Model.Constraint old_element) throws org.omg.mof.Reflective.NotFound, org.omg.mof.Reflective.MofError 1023 { 1024 org.omg.CORBA.portable.InputStream $in = null; 1025 try { 1026 org.omg.CORBA.portable.OutputStream $out = _request ("remove_constraints", true); 1027 org.omg.mof.Model.ConstraintHelper.write ($out, old_element); 1028 $in = _invoke ($out); 1029 } catch (org.omg.CORBA.portable.ApplicationException $ex) { 1030 $in = $ex.getInputStream (); 1031 String _id = $ex.getId (); 1032 if (_id.equals ("IDL:org/omg/mof/Reflective/NotFound:1.0")) 1033 throw org.omg.mof.Reflective.NotFoundHelper.read ($in); 1034 else if (_id.equals ("IDL:org/omg/mof/Reflective/MofError:1.0")) 1035 throw org.omg.mof.Reflective.MofErrorHelper.read ($in); 1036 else 1037 throw new org.omg.CORBA.MARSHAL (_id); 1038 } catch (org.omg.CORBA.portable.RemarshalException $rm) { 1039 remove_constraints (old_element); 1040 } finally { 1041 _releaseReply ($in); 1042 } 1043 } 1045 1046 public org.omg.mof.Model.ModelElement[] contents () throws org.omg.mof.Reflective.MofError 1048 { 1049 org.omg.CORBA.portable.InputStream $in = null; 1050 try { 1051 org.omg.CORBA.portable.OutputStream $out = _request ("contents", true); 1052 $in = _invoke ($out); 1053 org.omg.mof.Model.ModelElement $result[] = org.omg.mof.Model.ModelElementListHelper.read ($in); 1054 return $result; 1055 } catch (org.omg.CORBA.portable.ApplicationException $ex) { 1056 $in = $ex.getInputStream (); 1057 String _id = $ex.getId (); 1058 if (_id.equals ("IDL:org/omg/mof/Reflective/MofError:1.0")) 1059 throw org.omg.mof.Reflective.MofErrorHelper.read ($in); 1060 else 1061 throw new org.omg.CORBA.MARSHAL (_id); 1062 } catch (org.omg.CORBA.portable.RemarshalException $rm) { 1063 return contents (); 1064 } finally { 1065 _releaseReply ($in); 1066 } 1067 } 1069 public void set_contents (org.omg.mof.Model.ModelElement[] new_value) throws org.omg.mof.Reflective.MofError 1070 { 1071 org.omg.CORBA.portable.InputStream $in = null; 1072 try { 1073 org.omg.CORBA.portable.OutputStream $out = _request ("set_contents", true); 1074 org.omg.mof.Model.ModelElementListHelper.write ($out, new_value); 1075 $in = _invoke ($out); 1076 } catch (org.omg.CORBA.portable.ApplicationException $ex) { 1077 $in = $ex.getInputStream (); 1078 String _id = $ex.getId (); 1079 if (_id.equals ("IDL:org/omg/mof/Reflective/MofError:1.0")) 1080 throw org.omg.mof.Reflective.MofErrorHelper.read ($in); 1081 else 1082 throw new org.omg.CORBA.MARSHAL (_id); 1083 } catch (org.omg.CORBA.portable.RemarshalException $rm) { 1084 set_contents (new_value); 1085 } finally { 1086 _releaseReply ($in); 1087 } 1088 } 1090 public void add_contents (org.omg.mof.Model.ModelElement new_element) throws org.omg.mof.Reflective.MofError 1091 { 1092 org.omg.CORBA.portable.InputStream $in = null; 1093 try { 1094 org.omg.CORBA.portable.OutputStream $out = _request ("add_contents", true); 1095 org.omg.mof.Model.ModelElementHelper.write ($out, new_element); 1096 $in = _invoke ($out); 1097 } catch (org.omg.CORBA.portable.ApplicationException $ex) { 1098 $in = $ex.getInputStream (); 1099 String _id = $ex.getId (); 1100 if (_id.equals ("IDL:org/omg/mof/Reflective/MofError:1.0")) 1101 throw org.omg.mof.Reflective.MofErrorHelper.read ($in); 1102 else 1103 throw new org.omg.CORBA.MARSHAL (_id); 1104 } catch (org.omg.CORBA.portable.RemarshalException $rm) { 1105 add_contents (new_element); 1106 } finally { 1107 _releaseReply ($in); 1108 } 1109 } 1111 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 1112 { 1113 org.omg.CORBA.portable.InputStream $in = null; 1114 try { 1115 org.omg.CORBA.portable.OutputStream $out = _request ("add_contents_before", true); 1116 org.omg.mof.Model.ModelElementHelper.write ($out, new_element); 1117 org.omg.mof.Model.ModelElementHelper.write ($out, before_element); 1118 $in = _invoke ($out); 1119 } catch (org.omg.CORBA.portable.ApplicationException $ex) { 1120 $in = $ex.getInputStream (); 1121 String _id = $ex.getId (); 1122 if (_id.equals ("IDL:org/omg/mof/Reflective/NotFound:1.0")) 1123 throw org.omg.mof.Reflective.NotFoundHelper.read ($in); 1124 else if (_id.equals ("IDL:org/omg/mof/Reflective/MofError:1.0")) 1125 throw org.omg.mof.Reflective.MofErrorHelper.read ($in); 1126 else 1127 throw new org.omg.CORBA.MARSHAL (_id); 1128 } catch (org.omg.CORBA.portable.RemarshalException $rm) { 1129 add_contents_before (new_element, before_element); 1130 } finally { 1131 _releaseReply ($in); 1132 } 1133 } 1135 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 1136 { 1137 org.omg.CORBA.portable.InputStream $in = null; 1138 try { 1139 org.omg.CORBA.portable.OutputStream $out = _request ("modify_contents", true); 1140 org.omg.mof.Model.ModelElementHelper.write ($out, old_element); 1141 org.omg.mof.Model.ModelElementHelper.write ($out, new_element); 1142 $in = _invoke ($out); 1143 } catch (org.omg.CORBA.portable.ApplicationException $ex) { 1144 $in = $ex.getInputStream (); 1145 String _id = $ex.getId (); 1146 if (_id.equals ("IDL:org/omg/mof/Reflective/NotFound:1.0")) 1147 throw org.omg.mof.Reflective.NotFoundHelper.read ($in); 1148 else if (_id.equals ("IDL:org/omg/mof/Reflective/MofError:1.0")) 1149 throw org.omg.mof.Reflective.MofErrorHelper.read ($in); 1150 else 1151 throw new org.omg.CORBA.MARSHAL (_id); 1152 } catch (org.omg.CORBA.portable.RemarshalException $rm) { 1153 modify_contents (old_element, new_element); 1154 } finally { 1155 _releaseReply ($in); 1156 } 1157 } 1159 public void remove_contents (org.omg.mof.Model.ModelElement old_element) throws org.omg.mof.Reflective.NotFound, org.omg.mof.Reflective.MofError 1160 { 1161 org.omg.CORBA.portable.InputStream $in = null; 1162 try { 1163 org.omg.CORBA.portable.OutputStream $out = _request ("remove_contents", true); 1164 org.omg.mof.Model.ModelElementHelper.write ($out, old_element); 1165 $in = _invoke ($out); 1166 } catch (org.omg.CORBA.portable.ApplicationException $ex) { 1167 $in = $ex.getInputStream (); 1168 String _id = $ex.getId (); 1169 if (_id.equals ("IDL:org/omg/mof/Reflective/NotFound:1.0")) 1170 throw org.omg.mof.Reflective.NotFoundHelper.read ($in); 1171 else if (_id.equals ("IDL:org/omg/mof/Reflective/MofError:1.0")) 1172 throw org.omg.mof.Reflective.MofErrorHelper.read ($in); 1173 else 1174 throw new org.omg.CORBA.MARSHAL (_id); 1175 } catch (org.omg.CORBA.portable.RemarshalException $rm) { 1176 remove_contents (old_element); 1177 } finally { 1178 _releaseReply ($in); 1179 } 1180 } 1182 1183 public org.omg.mof.Model.VisibilityKind visibility () throws org.omg.mof.Reflective.MofError 1185 { 1186 org.omg.CORBA.portable.InputStream $in = null; 1187 try { 1188 org.omg.CORBA.portable.OutputStream $out = _request ("visibility", true); 1189 $in = _invoke ($out); 1190 org.omg.mof.Model.VisibilityKind $result = org.omg.mof.Model.VisibilityKindHelper.read ($in); 1191 return $result; 1192 } catch (org.omg.CORBA.portable.ApplicationException $ex) { 1193 $in = $ex.getInputStream (); 1194 String _id = $ex.getId (); 1195 if (_id.equals ("IDL:org/omg/mof/Reflective/MofError:1.0")) 1196 throw org.omg.mof.Reflective.MofErrorHelper.read ($in); 1197 else 1198 throw new org.omg.CORBA.MARSHAL (_id); 1199 } catch (org.omg.CORBA.portable.RemarshalException $rm) { 1200 return visibility (); 1201 } finally { 1202 _releaseReply ($in); 1203 } 1204 } 1206 public void set_visibility (org.omg.mof.Model.VisibilityKind new_value) throws org.omg.mof.Reflective.MofError 1207 { 1208 org.omg.CORBA.portable.InputStream $in = null; 1209 try { 1210 org.omg.CORBA.portable.OutputStream $out = _request ("set_visibility", true); 1211 org.omg.mof.Model.VisibilityKindHelper.write ($out, new_value); 1212 $in = _invoke ($out); 1213 } catch (org.omg.CORBA.portable.ApplicationException $ex) { 1214 $in = $ex.getInputStream (); 1215 String _id = $ex.getId (); 1216 if (_id.equals ("IDL:org/omg/mof/Reflective/MofError:1.0")) 1217 throw org.omg.mof.Reflective.MofErrorHelper.read ($in); 1218 else 1219 throw new org.omg.CORBA.MARSHAL (_id); 1220 } catch (org.omg.CORBA.portable.RemarshalException $rm) { 1221 set_visibility (new_value); 1222 } finally { 1223 _releaseReply ($in); 1224 } 1225 } 1227 1228 public org.omg.mof.Model.ScopeKind scope () throws org.omg.mof.Reflective.MofError 1230 { 1231 org.omg.CORBA.portable.InputStream $in = null; 1232 try { 1233 org.omg.CORBA.portable.OutputStream $out = _request ("scope", true); 1234 $in = _invoke ($out); 1235 org.omg.mof.Model.ScopeKind $result = org.omg.mof.Model.ScopeKindHelper.read ($in); 1236 return $result; 1237 } catch (org.omg.CORBA.portable.ApplicationException $ex) { 1238 $in = $ex.getInputStream (); 1239 String _id = $ex.getId (); 1240 if (_id.equals ("IDL:org/omg/mof/Reflective/MofError:1.0")) 1241 throw org.omg.mof.Reflective.MofErrorHelper.read ($in); 1242 else 1243 throw new org.omg.CORBA.MARSHAL (_id); 1244 } catch (org.omg.CORBA.portable.RemarshalException $rm) { 1245 return scope (); 1246 } finally { 1247 _releaseReply ($in); 1248 } 1249 } 1251 public void set_scope (org.omg.mof.Model.ScopeKind new_value) throws org.omg.mof.Reflective.MofError 1252 { 1253 org.omg.CORBA.portable.InputStream $in = null; 1254 try { 1255 org.omg.CORBA.portable.OutputStream $out = _request ("set_scope", true); 1256 org.omg.mof.Model.ScopeKindHelper.write ($out, new_value); 1257 $in = _invoke ($out); 1258 } catch (org.omg.CORBA.portable.ApplicationException $ex) { 1259 $in = $ex.getInputStream (); 1260 String _id = $ex.getId (); 1261 if (_id.equals ("IDL:org/omg/mof/Reflective/MofError:1.0")) 1262 throw org.omg.mof.Reflective.MofErrorHelper.read ($in); 1263 else 1264 throw new org.omg.CORBA.MARSHAL (_id); 1265 } catch (org.omg.CORBA.portable.RemarshalException $rm) { 1266 set_scope (new_value); 1267 } finally { 1268 _releaseReply ($in); 1269 } 1270 } 1272 private static String [] __ids = { 1274 "IDL:org/omg/mof/Model/MofException:1.0", 1275 "IDL:org/omg/mof/Model/MofExceptionClass:1.0", 1276 "IDL:org/omg/mof/Model/BehavioralFeatureClass:1.0", 1277 "IDL:org/omg/mof/Model/NamespaceClass:1.0", 1278 "IDL:org/omg/mof/Model/ModelElementClass:1.0", 1279 "IDL:org/omg/mof/Reflective/RefObject:1.0", 1280 "IDL:org/omg/mof/Reflective/RefBaseObject:1.0", 1281 "IDL:org/omg/mof/Model/FeatureClass:1.0", 1282 "IDL:org/omg/mof/Model/ModelElement:1.0", 1283 "IDL:org/omg/mof/Model/Namespace:1.0", 1284 "IDL:org/omg/mof/Model/Feature:1.0", 1285 "IDL:org/omg/mof/Model/BehavioralFeature:1.0"}; 1286 1287 public String [] _ids () 1288 { 1289 return (String [])__ids.clone (); 1290 } 1291 1292 private void readObject (java.io.ObjectInputStream s) throws java.io.IOException 1293 { 1294 String str = s.readUTF (); 1295 String [] args = null; 1296 java.util.Properties props = null; 1297 org.omg.CORBA.Object obj = org.omg.CORBA.ORB.init (args, props).string_to_object (str); 1298 org.omg.CORBA.portable.Delegate delegate = ((org.omg.CORBA.portable.ObjectImpl ) obj)._get_delegate (); 1299 _set_delegate (delegate); 1300 } 1301 1302 private void writeObject (java.io.ObjectOutputStream s) throws java.io.IOException 1303 { 1304 String [] args = null; 1305 java.util.Properties props = null; 1306 String str = org.omg.CORBA.ORB.init (args, props).object_to_string (this); 1307 s.writeUTF (str); 1308 } 1309} | Popular Tags |