1 package org.omg.mof.Model; 2 3 4 10 11 12 public class _NamespaceStub extends org.omg.CORBA.portable.ObjectImpl implements org.omg.mof.Model.Namespace 14 { 15 16 17 public org.omg.mof.Model.ModelElement[] contents () throws org.omg.mof.Reflective.MofError 19 { 20 org.omg.CORBA.portable.InputStream $in = null; 21 try { 22 org.omg.CORBA.portable.OutputStream $out = _request ("contents", true); 23 $in = _invoke ($out); 24 org.omg.mof.Model.ModelElement $result[] = org.omg.mof.Model.ModelElementListHelper.read ($in); 25 return $result; 26 } catch (org.omg.CORBA.portable.ApplicationException $ex) { 27 $in = $ex.getInputStream (); 28 String _id = $ex.getId (); 29 if (_id.equals ("IDL:org/omg/mof/Reflective/MofError:1.0")) 30 throw org.omg.mof.Reflective.MofErrorHelper.read ($in); 31 else 32 throw new org.omg.CORBA.MARSHAL (_id); 33 } catch (org.omg.CORBA.portable.RemarshalException $rm) { 34 return contents (); 35 } finally { 36 _releaseReply ($in); 37 } 38 } 40 public void set_contents (org.omg.mof.Model.ModelElement[] new_value) throws org.omg.mof.Reflective.MofError 41 { 42 org.omg.CORBA.portable.InputStream $in = null; 43 try { 44 org.omg.CORBA.portable.OutputStream $out = _request ("set_contents", true); 45 org.omg.mof.Model.ModelElementListHelper.write ($out, new_value); 46 $in = _invoke ($out); 47 } catch (org.omg.CORBA.portable.ApplicationException $ex) { 48 $in = $ex.getInputStream (); 49 String _id = $ex.getId (); 50 if (_id.equals ("IDL:org/omg/mof/Reflective/MofError:1.0")) 51 throw org.omg.mof.Reflective.MofErrorHelper.read ($in); 52 else 53 throw new org.omg.CORBA.MARSHAL (_id); 54 } catch (org.omg.CORBA.portable.RemarshalException $rm) { 55 set_contents (new_value); 56 } finally { 57 _releaseReply ($in); 58 } 59 } 61 public void add_contents (org.omg.mof.Model.ModelElement new_element) throws org.omg.mof.Reflective.MofError 62 { 63 org.omg.CORBA.portable.InputStream $in = null; 64 try { 65 org.omg.CORBA.portable.OutputStream $out = _request ("add_contents", true); 66 org.omg.mof.Model.ModelElementHelper.write ($out, new_element); 67 $in = _invoke ($out); 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 add_contents (new_element); 77 } finally { 78 _releaseReply ($in); 79 } 80 } 82 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 83 { 84 org.omg.CORBA.portable.InputStream $in = null; 85 try { 86 org.omg.CORBA.portable.OutputStream $out = _request ("add_contents_before", true); 87 org.omg.mof.Model.ModelElementHelper.write ($out, new_element); 88 org.omg.mof.Model.ModelElementHelper.write ($out, before_element); 89 $in = _invoke ($out); 90 } catch (org.omg.CORBA.portable.ApplicationException $ex) { 91 $in = $ex.getInputStream (); 92 String _id = $ex.getId (); 93 if (_id.equals ("IDL:org/omg/mof/Reflective/NotFound:1.0")) 94 throw org.omg.mof.Reflective.NotFoundHelper.read ($in); 95 else if (_id.equals ("IDL:org/omg/mof/Reflective/MofError:1.0")) 96 throw org.omg.mof.Reflective.MofErrorHelper.read ($in); 97 else 98 throw new org.omg.CORBA.MARSHAL (_id); 99 } catch (org.omg.CORBA.portable.RemarshalException $rm) { 100 add_contents_before (new_element, before_element); 101 } finally { 102 _releaseReply ($in); 103 } 104 } 106 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 107 { 108 org.omg.CORBA.portable.InputStream $in = null; 109 try { 110 org.omg.CORBA.portable.OutputStream $out = _request ("modify_contents", true); 111 org.omg.mof.Model.ModelElementHelper.write ($out, old_element); 112 org.omg.mof.Model.ModelElementHelper.write ($out, new_element); 113 $in = _invoke ($out); 114 } catch (org.omg.CORBA.portable.ApplicationException $ex) { 115 $in = $ex.getInputStream (); 116 String _id = $ex.getId (); 117 if (_id.equals ("IDL:org/omg/mof/Reflective/NotFound:1.0")) 118 throw org.omg.mof.Reflective.NotFoundHelper.read ($in); 119 else if (_id.equals ("IDL:org/omg/mof/Reflective/MofError:1.0")) 120 throw org.omg.mof.Reflective.MofErrorHelper.read ($in); 121 else 122 throw new org.omg.CORBA.MARSHAL (_id); 123 } catch (org.omg.CORBA.portable.RemarshalException $rm) { 124 modify_contents (old_element, new_element); 125 } finally { 126 _releaseReply ($in); 127 } 128 } 130 public void remove_contents (org.omg.mof.Model.ModelElement old_element) throws org.omg.mof.Reflective.NotFound, org.omg.mof.Reflective.MofError 131 { 132 org.omg.CORBA.portable.InputStream $in = null; 133 try { 134 org.omg.CORBA.portable.OutputStream $out = _request ("remove_contents", true); 135 org.omg.mof.Model.ModelElementHelper.write ($out, old_element); 136 $in = _invoke ($out); 137 } catch (org.omg.CORBA.portable.ApplicationException $ex) { 138 $in = $ex.getInputStream (); 139 String _id = $ex.getId (); 140 if (_id.equals ("IDL:org/omg/mof/Reflective/NotFound:1.0")) 141 throw org.omg.mof.Reflective.NotFoundHelper.read ($in); 142 else if (_id.equals ("IDL:org/omg/mof/Reflective/MofError:1.0")) 143 throw org.omg.mof.Reflective.MofErrorHelper.read ($in); 144 else 145 throw new org.omg.CORBA.MARSHAL (_id); 146 } catch (org.omg.CORBA.portable.RemarshalException $rm) { 147 remove_contents (old_element); 148 } finally { 149 _releaseReply ($in); 150 } 151 } 153 public org.omg.mof.Model.Namespace[] all_of_type_namespace () 154 { 155 org.omg.CORBA.portable.InputStream $in = null; 156 try { 157 org.omg.CORBA.portable.OutputStream $out = _request ("_get_all_of_type_namespace", true); 158 $in = _invoke ($out); 159 org.omg.mof.Model.Namespace $result[] = org.omg.mof.Model.NamespaceSetHelper.read ($in); 160 return $result; 161 } catch (org.omg.CORBA.portable.ApplicationException $ex) { 162 $in = $ex.getInputStream (); 163 String _id = $ex.getId (); 164 throw new org.omg.CORBA.MARSHAL (_id); 165 } catch (org.omg.CORBA.portable.RemarshalException $rm) { 166 return all_of_type_namespace (); 167 } finally { 168 _releaseReply ($in); 169 } 170 } 172 public org.omg.mof.Model.ModelElement[] all_of_type_model_element () 173 { 174 org.omg.CORBA.portable.InputStream $in = null; 175 try { 176 org.omg.CORBA.portable.OutputStream $out = _request ("_get_all_of_type_model_element", true); 177 $in = _invoke ($out); 178 org.omg.mof.Model.ModelElement $result[] = org.omg.mof.Model.ModelElementSetHelper.read ($in); 179 return $result; 180 } catch (org.omg.CORBA.portable.ApplicationException $ex) { 181 $in = $ex.getInputStream (); 182 String _id = $ex.getId (); 183 throw new org.omg.CORBA.MARSHAL (_id); 184 } catch (org.omg.CORBA.portable.RemarshalException $rm) { 185 return all_of_type_model_element (); 186 } finally { 187 _releaseReply ($in); 188 } 189 } 191 public boolean ref_is_instance_of (org.omg.mof.Reflective.RefObject some_class, boolean consider_subtypes) 192 { 193 org.omg.CORBA.portable.InputStream $in = null; 194 try { 195 org.omg.CORBA.portable.OutputStream $out = _request ("ref_is_instance_of", true); 196 org.omg.mof.Reflective.DesignatorTypeHelper.write ($out, some_class); 197 $out.write_boolean (consider_subtypes); 198 $in = _invoke ($out); 199 boolean $result = $in.read_boolean (); 200 return $result; 201 } catch (org.omg.CORBA.portable.ApplicationException $ex) { 202 $in = $ex.getInputStream (); 203 String _id = $ex.getId (); 204 throw new org.omg.CORBA.MARSHAL (_id); 205 } catch (org.omg.CORBA.portable.RemarshalException $rm) { 206 return ref_is_instance_of (some_class, consider_subtypes); 207 } finally { 208 _releaseReply ($in); 209 } 210 } 212 public org.omg.mof.Reflective.RefObject ref_create_instance (org.omg.CORBA.Any [] args) throws org.omg.mof.Reflective.MofError 213 { 214 org.omg.CORBA.portable.InputStream $in = null; 215 try { 216 org.omg.CORBA.portable.OutputStream $out = _request ("ref_create_instance", true); 217 org.omg.mof.Reflective.ValueTypeListHelper.write ($out, args); 218 $in = _invoke ($out); 219 org.omg.mof.Reflective.RefObject $result = org.omg.mof.Reflective.RefObjectHelper.read ($in); 220 return $result; 221 } catch (org.omg.CORBA.portable.ApplicationException $ex) { 222 $in = $ex.getInputStream (); 223 String _id = $ex.getId (); 224 if (_id.equals ("IDL:org/omg/mof/Reflective/MofError:1.0")) 225 throw org.omg.mof.Reflective.MofErrorHelper.read ($in); 226 else 227 throw new org.omg.CORBA.MARSHAL (_id); 228 } catch (org.omg.CORBA.portable.RemarshalException $rm) { 229 return ref_create_instance (args); 230 } finally { 231 _releaseReply ($in); 232 } 233 } 235 public org.omg.mof.Reflective.RefObject[] ref_all_objects (boolean include_subtypes) 236 { 237 org.omg.CORBA.portable.InputStream $in = null; 238 try { 239 org.omg.CORBA.portable.OutputStream $out = _request ("ref_all_objects", true); 240 $out.write_boolean (include_subtypes); 241 $in = _invoke ($out); 242 org.omg.mof.Reflective.RefObject $result[] = org.omg.mof.Reflective.RefObjectSetHelper.read ($in); 243 return $result; 244 } catch (org.omg.CORBA.portable.ApplicationException $ex) { 245 $in = $ex.getInputStream (); 246 String _id = $ex.getId (); 247 throw new org.omg.CORBA.MARSHAL (_id); 248 } catch (org.omg.CORBA.portable.RemarshalException $rm) { 249 return ref_all_objects (include_subtypes); 250 } finally { 251 _releaseReply ($in); 252 } 253 } 255 public void ref_set_value (org.omg.mof.Reflective.RefObject feature, org.omg.CORBA.Any new_value) throws org.omg.mof.Reflective.MofError 256 { 257 org.omg.CORBA.portable.InputStream $in = null; 258 try { 259 org.omg.CORBA.portable.OutputStream $out = _request ("ref_set_value", true); 260 org.omg.mof.Reflective.DesignatorTypeHelper.write ($out, feature); 261 org.omg.mof.Reflective._ValueTypeHelper.write ($out, new_value); 262 $in = _invoke ($out); 263 } catch (org.omg.CORBA.portable.ApplicationException $ex) { 264 $in = $ex.getInputStream (); 265 String _id = $ex.getId (); 266 if (_id.equals ("IDL:org/omg/mof/Reflective/MofError:1.0")) 267 throw org.omg.mof.Reflective.MofErrorHelper.read ($in); 268 else 269 throw new org.omg.CORBA.MARSHAL (_id); 270 } catch (org.omg.CORBA.portable.RemarshalException $rm) { 271 ref_set_value (feature, new_value); 272 } finally { 273 _releaseReply ($in); 274 } 275 } 277 public org.omg.CORBA.Any ref_value (org.omg.mof.Reflective.RefObject feature) throws org.omg.mof.Reflective.NotSet, org.omg.mof.Reflective.MofError 278 { 279 org.omg.CORBA.portable.InputStream $in = null; 280 try { 281 org.omg.CORBA.portable.OutputStream $out = _request ("ref_value", true); 282 org.omg.mof.Reflective.DesignatorTypeHelper.write ($out, feature); 283 $in = _invoke ($out); 284 org.omg.CORBA.Any $result = org.omg.mof.Reflective._ValueTypeHelper.read ($in); 285 return $result; 286 } catch (org.omg.CORBA.portable.ApplicationException $ex) { 287 $in = $ex.getInputStream (); 288 String _id = $ex.getId (); 289 if (_id.equals ("IDL:org/omg/mof/Reflective/NotSet:1.0")) 290 throw org.omg.mof.Reflective.NotSetHelper.read ($in); 291 else if (_id.equals ("IDL:org/omg/mof/Reflective/MofError:1.0")) 292 throw org.omg.mof.Reflective.MofErrorHelper.read ($in); 293 else 294 throw new org.omg.CORBA.MARSHAL (_id); 295 } catch (org.omg.CORBA.portable.RemarshalException $rm) { 296 return ref_value (feature); 297 } finally { 298 _releaseReply ($in); 299 } 300 } 302 public void ref_unset_value () throws org.omg.mof.Reflective.MofError 303 { 304 org.omg.CORBA.portable.InputStream $in = null; 305 try { 306 org.omg.CORBA.portable.OutputStream $out = _request ("ref_unset_value", true); 307 $in = _invoke ($out); 308 } catch (org.omg.CORBA.portable.ApplicationException $ex) { 309 $in = $ex.getInputStream (); 310 String _id = $ex.getId (); 311 if (_id.equals ("IDL:org/omg/mof/Reflective/MofError:1.0")) 312 throw org.omg.mof.Reflective.MofErrorHelper.read ($in); 313 else 314 throw new org.omg.CORBA.MARSHAL (_id); 315 } catch (org.omg.CORBA.portable.RemarshalException $rm) { 316 ref_unset_value (); 317 } finally { 318 _releaseReply ($in); 319 } 320 } 322 public void ref_add_value (org.omg.mof.Reflective.RefObject feature, org.omg.CORBA.Any new_element) throws org.omg.mof.Reflective.MofError 323 { 324 org.omg.CORBA.portable.InputStream $in = null; 325 try { 326 org.omg.CORBA.portable.OutputStream $out = _request ("ref_add_value", true); 327 org.omg.mof.Reflective.DesignatorTypeHelper.write ($out, feature); 328 org.omg.mof.Reflective._ValueTypeHelper.write ($out, new_element); 329 $in = _invoke ($out); 330 } catch (org.omg.CORBA.portable.ApplicationException $ex) { 331 $in = $ex.getInputStream (); 332 String _id = $ex.getId (); 333 if (_id.equals ("IDL:org/omg/mof/Reflective/MofError:1.0")) 334 throw org.omg.mof.Reflective.MofErrorHelper.read ($in); 335 else 336 throw new org.omg.CORBA.MARSHAL (_id); 337 } catch (org.omg.CORBA.portable.RemarshalException $rm) { 338 ref_add_value (feature, new_element); 339 } finally { 340 _releaseReply ($in); 341 } 342 } 344 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 345 { 346 org.omg.CORBA.portable.InputStream $in = null; 347 try { 348 org.omg.CORBA.portable.OutputStream $out = _request ("ref_add_value_before", true); 349 org.omg.mof.Reflective.DesignatorTypeHelper.write ($out, feature); 350 org.omg.mof.Reflective._ValueTypeHelper.write ($out, new_element); 351 org.omg.mof.Reflective._ValueTypeHelper.write ($out, before_element); 352 $in = _invoke ($out); 353 } catch (org.omg.CORBA.portable.ApplicationException $ex) { 354 $in = $ex.getInputStream (); 355 String _id = $ex.getId (); 356 if (_id.equals ("IDL:org/omg/mof/Reflective/NotFound:1.0")) 357 throw org.omg.mof.Reflective.NotFoundHelper.read ($in); 358 else if (_id.equals ("IDL:org/omg/mof/Reflective/MofError:1.0")) 359 throw org.omg.mof.Reflective.MofErrorHelper.read ($in); 360 else 361 throw new org.omg.CORBA.MARSHAL (_id); 362 } catch (org.omg.CORBA.portable.RemarshalException $rm) { 363 ref_add_value_before (feature, new_element, before_element); 364 } finally { 365 _releaseReply ($in); 366 } 367 } 369 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 370 { 371 org.omg.CORBA.portable.InputStream $in = null; 372 try { 373 org.omg.CORBA.portable.OutputStream $out = _request ("ref_add_value_at", true); 374 org.omg.mof.Reflective.DesignatorTypeHelper.write ($out, feature); 375 org.omg.mof.Reflective._ValueTypeHelper.write ($out, new_element); 376 $out.write_ulong (position); 377 $in = _invoke ($out); 378 } catch (org.omg.CORBA.portable.ApplicationException $ex) { 379 $in = $ex.getInputStream (); 380 String _id = $ex.getId (); 381 if (_id.equals ("IDL:org/omg/mof/Reflective/BadPosition:1.0")) 382 throw org.omg.mof.Reflective.BadPositionHelper.read ($in); 383 else if (_id.equals ("IDL:org/omg/mof/Reflective/MofError:1.0")) 384 throw org.omg.mof.Reflective.MofErrorHelper.read ($in); 385 else 386 throw new org.omg.CORBA.MARSHAL (_id); 387 } catch (org.omg.CORBA.portable.RemarshalException $rm) { 388 ref_add_value_at (feature, new_element, position); 389 } finally { 390 _releaseReply ($in); 391 } 392 } 394 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 395 { 396 org.omg.CORBA.portable.InputStream $in = null; 397 try { 398 org.omg.CORBA.portable.OutputStream $out = _request ("ref_modify_value", true); 399 org.omg.mof.Reflective.DesignatorTypeHelper.write ($out, feature); 400 org.omg.mof.Reflective._ValueTypeHelper.write ($out, old_element); 401 org.omg.mof.Reflective._ValueTypeHelper.write ($out, new_element); 402 $in = _invoke ($out); 403 } catch (org.omg.CORBA.portable.ApplicationException $ex) { 404 $in = $ex.getInputStream (); 405 String _id = $ex.getId (); 406 if (_id.equals ("IDL:org/omg/mof/Reflective/NotFound:1.0")) 407 throw org.omg.mof.Reflective.NotFoundHelper.read ($in); 408 else if (_id.equals ("IDL:org/omg/mof/Reflective/MofError:1.0")) 409 throw org.omg.mof.Reflective.MofErrorHelper.read ($in); 410 else 411 throw new org.omg.CORBA.MARSHAL (_id); 412 } catch (org.omg.CORBA.portable.RemarshalException $rm) { 413 ref_modify_value (feature, old_element, new_element); 414 } finally { 415 _releaseReply ($in); 416 } 417 } 419 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 420 { 421 org.omg.CORBA.portable.InputStream $in = null; 422 try { 423 org.omg.CORBA.portable.OutputStream $out = _request ("ref_modify_value_at", true); 424 org.omg.mof.Reflective.DesignatorTypeHelper.write ($out, feature); 425 org.omg.mof.Reflective._ValueTypeHelper.write ($out, new_element); 426 $out.write_ulong (position); 427 $in = _invoke ($out); 428 } catch (org.omg.CORBA.portable.ApplicationException $ex) { 429 $in = $ex.getInputStream (); 430 String _id = $ex.getId (); 431 if (_id.equals ("IDL:org/omg/mof/Reflective/BadPosition:1.0")) 432 throw org.omg.mof.Reflective.BadPositionHelper.read ($in); 433 else if (_id.equals ("IDL:org/omg/mof/Reflective/MofError:1.0")) 434 throw org.omg.mof.Reflective.MofErrorHelper.read ($in); 435 else 436 throw new org.omg.CORBA.MARSHAL (_id); 437 } catch (org.omg.CORBA.portable.RemarshalException $rm) { 438 ref_modify_value_at (feature, new_element, position); 439 } finally { 440 _releaseReply ($in); 441 } 442 } 444 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 445 { 446 org.omg.CORBA.portable.InputStream $in = null; 447 try { 448 org.omg.CORBA.portable.OutputStream $out = _request ("ref_remove_value", true); 449 org.omg.mof.Reflective.DesignatorTypeHelper.write ($out, feature); 450 org.omg.mof.Reflective._ValueTypeHelper.write ($out, existing_element); 451 $in = _invoke ($out); 452 } catch (org.omg.CORBA.portable.ApplicationException $ex) { 453 $in = $ex.getInputStream (); 454 String _id = $ex.getId (); 455 if (_id.equals ("IDL:org/omg/mof/Reflective/NotFound:1.0")) 456 throw org.omg.mof.Reflective.NotFoundHelper.read ($in); 457 else if (_id.equals ("IDL:org/omg/mof/Reflective/MofError:1.0")) 458 throw org.omg.mof.Reflective.MofErrorHelper.read ($in); 459 else 460 throw new org.omg.CORBA.MARSHAL (_id); 461 } catch (org.omg.CORBA.portable.RemarshalException $rm) { 462 ref_remove_value (feature, existing_element); 463 } finally { 464 _releaseReply ($in); 465 } 466 } 468 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 469 { 470 org.omg.CORBA.portable.InputStream $in = null; 471 try { 472 org.omg.CORBA.portable.OutputStream $out = _request ("ref_remove_value_at", true); 473 org.omg.mof.Reflective.DesignatorTypeHelper.write ($out, feature); 474 $out.write_ulong (position); 475 $in = _invoke ($out); 476 } catch (org.omg.CORBA.portable.ApplicationException $ex) { 477 $in = $ex.getInputStream (); 478 String _id = $ex.getId (); 479 if (_id.equals ("IDL:org/omg/mof/Reflective/BadPosition:1.0")) 480 throw org.omg.mof.Reflective.BadPositionHelper.read ($in); 481 else if (_id.equals ("IDL:org/omg/mof/Reflective/MofError:1.0")) 482 throw org.omg.mof.Reflective.MofErrorHelper.read ($in); 483 else 484 throw new org.omg.CORBA.MARSHAL (_id); 485 } catch (org.omg.CORBA.portable.RemarshalException $rm) { 486 ref_remove_value_at (feature, position); 487 } finally { 488 _releaseReply ($in); 489 } 490 } 492 public org.omg.mof.Reflective.RefObject ref_immediate_composite () 493 { 494 org.omg.CORBA.portable.InputStream $in = null; 495 try { 496 org.omg.CORBA.portable.OutputStream $out = _request ("ref_immediate_composite", true); 497 $in = _invoke ($out); 498 org.omg.mof.Reflective.RefObject $result = org.omg.mof.Reflective.RefObjectHelper.read ($in); 499 return $result; 500 } catch (org.omg.CORBA.portable.ApplicationException $ex) { 501 $in = $ex.getInputStream (); 502 String _id = $ex.getId (); 503 throw new org.omg.CORBA.MARSHAL (_id); 504 } catch (org.omg.CORBA.portable.RemarshalException $rm) { 505 return ref_immediate_composite (); 506 } finally { 507 _releaseReply ($in); 508 } 509 } 511 public org.omg.mof.Reflective.RefObject ref_outermost_composite () 512 { 513 org.omg.CORBA.portable.InputStream $in = null; 514 try { 515 org.omg.CORBA.portable.OutputStream $out = _request ("ref_outermost_composite", true); 516 $in = _invoke ($out); 517 org.omg.mof.Reflective.RefObject $result = org.omg.mof.Reflective.RefObjectHelper.read ($in); 518 return $result; 519 } catch (org.omg.CORBA.portable.ApplicationException $ex) { 520 $in = $ex.getInputStream (); 521 String _id = $ex.getId (); 522 throw new org.omg.CORBA.MARSHAL (_id); 523 } catch (org.omg.CORBA.portable.RemarshalException $rm) { 524 return ref_outermost_composite (); 525 } finally { 526 _releaseReply ($in); 527 } 528 } 530 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 531 { 532 org.omg.CORBA.portable.InputStream $in = null; 533 try { 534 org.omg.CORBA.portable.OutputStream $out = _request ("ref_invoke_operation", true); 535 org.omg.mof.Reflective.DesignatorTypeHelper.write ($out, requested_operation); 536 org.omg.mof.Reflective.ValueTypeListHelper.write ($out, args.value); 537 $in = _invoke ($out); 538 org.omg.CORBA.Any $result = org.omg.mof.Reflective._ValueTypeHelper.read ($in); 539 args.value = org.omg.mof.Reflective.ValueTypeListHelper.read ($in); 540 return $result; 541 } catch (org.omg.CORBA.portable.ApplicationException $ex) { 542 $in = $ex.getInputStream (); 543 String _id = $ex.getId (); 544 if (_id.equals ("IDL:org/omg/mof/Reflective/OtherException:1.0")) 545 throw org.omg.mof.Reflective.OtherExceptionHelper.read ($in); 546 else if (_id.equals ("IDL:org/omg/mof/Reflective/MofError:1.0")) 547 throw org.omg.mof.Reflective.MofErrorHelper.read ($in); 548 else 549 throw new org.omg.CORBA.MARSHAL (_id); 550 } catch (org.omg.CORBA.portable.RemarshalException $rm) { 551 return ref_invoke_operation (requested_operation, args); 552 } finally { 553 _releaseReply ($in); 554 } 555 } 557 public String ref_mof_id () 558 { 559 org.omg.CORBA.portable.InputStream $in = null; 560 try { 561 org.omg.CORBA.portable.OutputStream $out = _request ("ref_mof_id", true); 562 $in = _invoke ($out); 563 String $result = $in.read_string (); 564 return $result; 565 } catch (org.omg.CORBA.portable.ApplicationException $ex) { 566 $in = $ex.getInputStream (); 567 String _id = $ex.getId (); 568 throw new org.omg.CORBA.MARSHAL (_id); 569 } catch (org.omg.CORBA.portable.RemarshalException $rm) { 570 return ref_mof_id (); 571 } finally { 572 _releaseReply ($in); 573 } 574 } 576 public org.omg.mof.Reflective.RefObject ref_meta_object () 577 { 578 org.omg.CORBA.portable.InputStream $in = null; 579 try { 580 org.omg.CORBA.portable.OutputStream $out = _request ("ref_meta_object", true); 581 $in = _invoke ($out); 582 org.omg.mof.Reflective.RefObject $result = org.omg.mof.Reflective.DesignatorTypeHelper.read ($in); 583 return $result; 584 } catch (org.omg.CORBA.portable.ApplicationException $ex) { 585 $in = $ex.getInputStream (); 586 String _id = $ex.getId (); 587 throw new org.omg.CORBA.MARSHAL (_id); 588 } catch (org.omg.CORBA.portable.RemarshalException $rm) { 589 return ref_meta_object (); 590 } finally { 591 _releaseReply ($in); 592 } 593 } 595 public boolean ref_itself (org.omg.mof.Reflective.RefBaseObject other_object) 596 { 597 org.omg.CORBA.portable.InputStream $in = null; 598 try { 599 org.omg.CORBA.portable.OutputStream $out = _request ("ref_itself", true); 600 org.omg.mof.Reflective.RefBaseObjectHelper.write ($out, other_object); 601 $in = _invoke ($out); 602 boolean $result = $in.read_boolean (); 603 return $result; 604 } catch (org.omg.CORBA.portable.ApplicationException $ex) { 605 $in = $ex.getInputStream (); 606 String _id = $ex.getId (); 607 throw new org.omg.CORBA.MARSHAL (_id); 608 } catch (org.omg.CORBA.portable.RemarshalException $rm) { 609 return ref_itself (other_object); 610 } finally { 611 _releaseReply ($in); 612 } 613 } 615 public org.omg.mof.Reflective._RefPackage ref_immediate_package () 616 { 617 org.omg.CORBA.portable.InputStream $in = null; 618 try { 619 org.omg.CORBA.portable.OutputStream $out = _request ("ref_immediate_package", true); 620 $in = _invoke ($out); 621 org.omg.mof.Reflective._RefPackage $result = org.omg.mof.Reflective._RefPackageHelper.read ($in); 622 return $result; 623 } catch (org.omg.CORBA.portable.ApplicationException $ex) { 624 $in = $ex.getInputStream (); 625 String _id = $ex.getId (); 626 throw new org.omg.CORBA.MARSHAL (_id); 627 } catch (org.omg.CORBA.portable.RemarshalException $rm) { 628 return ref_immediate_package (); 629 } finally { 630 _releaseReply ($in); 631 } 632 } 634 public org.omg.mof.Reflective._RefPackage ref_outermost_package () 635 { 636 org.omg.CORBA.portable.InputStream $in = null; 637 try { 638 org.omg.CORBA.portable.OutputStream $out = _request ("ref_outermost_package", true); 639 $in = _invoke ($out); 640 org.omg.mof.Reflective._RefPackage $result = org.omg.mof.Reflective._RefPackageHelper.read ($in); 641 return $result; 642 } catch (org.omg.CORBA.portable.ApplicationException $ex) { 643 $in = $ex.getInputStream (); 644 String _id = $ex.getId (); 645 throw new org.omg.CORBA.MARSHAL (_id); 646 } catch (org.omg.CORBA.portable.RemarshalException $rm) { 647 return ref_outermost_package (); 648 } finally { 649 _releaseReply ($in); 650 } 651 } 653 public void ref_delete () throws org.omg.mof.Reflective.MofError 654 { 655 org.omg.CORBA.portable.InputStream $in = null; 656 try { 657 org.omg.CORBA.portable.OutputStream $out = _request ("ref_delete", true); 658 $in = _invoke ($out); 659 } catch (org.omg.CORBA.portable.ApplicationException $ex) { 660 $in = $ex.getInputStream (); 661 String _id = $ex.getId (); 662 if (_id.equals ("IDL:org/omg/mof/Reflective/MofError:1.0")) 663 throw org.omg.mof.Reflective.MofErrorHelper.read ($in); 664 else 665 throw new org.omg.CORBA.MARSHAL (_id); 666 } catch (org.omg.CORBA.portable.RemarshalException $rm) { 667 ref_delete (); 668 } finally { 669 _releaseReply ($in); 670 } 671 } 673 674 public String name () throws org.omg.mof.Reflective.MofError 676 { 677 org.omg.CORBA.portable.InputStream $in = null; 678 try { 679 org.omg.CORBA.portable.OutputStream $out = _request ("name", true); 680 $in = _invoke ($out); 681 String $result = $in.read_string (); 682 return $result; 683 } catch (org.omg.CORBA.portable.ApplicationException $ex) { 684 $in = $ex.getInputStream (); 685 String _id = $ex.getId (); 686 if (_id.equals ("IDL:org/omg/mof/Reflective/MofError:1.0")) 687 throw org.omg.mof.Reflective.MofErrorHelper.read ($in); 688 else 689 throw new org.omg.CORBA.MARSHAL (_id); 690 } catch (org.omg.CORBA.portable.RemarshalException $rm) { 691 return name (); 692 } finally { 693 _releaseReply ($in); 694 } 695 } 697 public void set_name (String new_value) throws org.omg.mof.Reflective.MofError 698 { 699 org.omg.CORBA.portable.InputStream $in = null; 700 try { 701 org.omg.CORBA.portable.OutputStream $out = _request ("set_name", true); 702 $out.write_string (new_value); 703 $in = _invoke ($out); 704 } catch (org.omg.CORBA.portable.ApplicationException $ex) { 705 $in = $ex.getInputStream (); 706 String _id = $ex.getId (); 707 if (_id.equals ("IDL:org/omg/mof/Reflective/MofError:1.0")) 708 throw org.omg.mof.Reflective.MofErrorHelper.read ($in); 709 else 710 throw new org.omg.CORBA.MARSHAL (_id); 711 } catch (org.omg.CORBA.portable.RemarshalException $rm) { 712 set_name (new_value); 713 } finally { 714 _releaseReply ($in); 715 } 716 } 718 719 public String annotation () throws org.omg.mof.Reflective.MofError 721 { 722 org.omg.CORBA.portable.InputStream $in = null; 723 try { 724 org.omg.CORBA.portable.OutputStream $out = _request ("annotation", true); 725 $in = _invoke ($out); 726 String $result = $in.read_string (); 727 return $result; 728 } catch (org.omg.CORBA.portable.ApplicationException $ex) { 729 $in = $ex.getInputStream (); 730 String _id = $ex.getId (); 731 if (_id.equals ("IDL:org/omg/mof/Reflective/MofError:1.0")) 732 throw org.omg.mof.Reflective.MofErrorHelper.read ($in); 733 else 734 throw new org.omg.CORBA.MARSHAL (_id); 735 } catch (org.omg.CORBA.portable.RemarshalException $rm) { 736 return annotation (); 737 } finally { 738 _releaseReply ($in); 739 } 740 } 742 public void set_annotation (String new_value) throws org.omg.mof.Reflective.MofError 743 { 744 org.omg.CORBA.portable.InputStream $in = null; 745 try { 746 org.omg.CORBA.portable.OutputStream $out = _request ("set_annotation", true); 747 $out.write_string (new_value); 748 $in = _invoke ($out); 749 } catch (org.omg.CORBA.portable.ApplicationException $ex) { 750 $in = $ex.getInputStream (); 751 String _id = $ex.getId (); 752 if (_id.equals ("IDL:org/omg/mof/Reflective/MofError:1.0")) 753 throw org.omg.mof.Reflective.MofErrorHelper.read ($in); 754 else 755 throw new org.omg.CORBA.MARSHAL (_id); 756 } catch (org.omg.CORBA.portable.RemarshalException $rm) { 757 set_annotation (new_value); 758 } finally { 759 _releaseReply ($in); 760 } 761 } 763 764 public String [] qualified_name () throws org.omg.mof.Reflective.MofError 766 { 767 org.omg.CORBA.portable.InputStream $in = null; 768 try { 769 org.omg.CORBA.portable.OutputStream $out = _request ("qualified_name", true); 770 $in = _invoke ($out); 771 String $result[] = org.omg.mof.Model.StringListHelper.read ($in); 772 return $result; 773 } catch (org.omg.CORBA.portable.ApplicationException $ex) { 774 $in = $ex.getInputStream (); 775 String _id = $ex.getId (); 776 if (_id.equals ("IDL:org/omg/mof/Reflective/MofError:1.0")) 777 throw org.omg.mof.Reflective.MofErrorHelper.read ($in); 778 else 779 throw new org.omg.CORBA.MARSHAL (_id); 780 } catch (org.omg.CORBA.portable.RemarshalException $rm) { 781 return qualified_name (); 782 } finally { 783 _releaseReply ($in); 784 } 785 } 787 788 public org.omg.mof.Model.Namespace container () throws org.omg.mof.Reflective.NotSet, org.omg.mof.Reflective.MofError 790 { 791 org.omg.CORBA.portable.InputStream $in = null; 792 try { 793 org.omg.CORBA.portable.OutputStream $out = _request ("container", true); 794 $in = _invoke ($out); 795 org.omg.mof.Model.Namespace $result = org.omg.mof.Model.NamespaceHelper.read ($in); 796 return $result; 797 } catch (org.omg.CORBA.portable.ApplicationException $ex) { 798 $in = $ex.getInputStream (); 799 String _id = $ex.getId (); 800 if (_id.equals ("IDL:org/omg/mof/Reflective/NotSet:1.0")) 801 throw org.omg.mof.Reflective.NotSetHelper.read ($in); 802 else if (_id.equals ("IDL:org/omg/mof/Reflective/MofError:1.0")) 803 throw org.omg.mof.Reflective.MofErrorHelper.read ($in); 804 else 805 throw new org.omg.CORBA.MARSHAL (_id); 806 } catch (org.omg.CORBA.portable.RemarshalException $rm) { 807 return container (); 808 } finally { 809 _releaseReply ($in); 810 } 811 } 813 public void set_container (org.omg.mof.Model.Namespace new_value) throws org.omg.mof.Reflective.MofError 814 { 815 org.omg.CORBA.portable.InputStream $in = null; 816 try { 817 org.omg.CORBA.portable.OutputStream $out = _request ("set_container", true); 818 org.omg.mof.Model.NamespaceHelper.write ($out, new_value); 819 $in = _invoke ($out); 820 } catch (org.omg.CORBA.portable.ApplicationException $ex) { 821 $in = $ex.getInputStream (); 822 String _id = $ex.getId (); 823 if (_id.equals ("IDL:org/omg/mof/Reflective/MofError:1.0")) 824 throw org.omg.mof.Reflective.MofErrorHelper.read ($in); 825 else 826 throw new org.omg.CORBA.MARSHAL (_id); 827 } catch (org.omg.CORBA.portable.RemarshalException $rm) { 828 set_container (new_value); 829 } finally { 830 _releaseReply ($in); 831 } 832 } 834 public void unset_container () throws org.omg.mof.Reflective.MofError 835 { 836 org.omg.CORBA.portable.InputStream $in = null; 837 try { 838 org.omg.CORBA.portable.OutputStream $out = _request ("unset_container", true); 839 $in = _invoke ($out); 840 } catch (org.omg.CORBA.portable.ApplicationException $ex) { 841 $in = $ex.getInputStream (); 842 String _id = $ex.getId (); 843 if (_id.equals ("IDL:org/omg/mof/Reflective/MofError:1.0")) 844 throw org.omg.mof.Reflective.MofErrorHelper.read ($in); 845 else 846 throw new org.omg.CORBA.MARSHAL (_id); 847 } catch (org.omg.CORBA.portable.RemarshalException $rm) { 848 unset_container (); 849 } finally { 850 _releaseReply ($in); 851 } 852 } 854 855 public org.omg.mof.Model.ModelElement[] required_elements () throws org.omg.mof.Reflective.MofError 857 { 858 org.omg.CORBA.portable.InputStream $in = null; 859 try { 860 org.omg.CORBA.portable.OutputStream $out = _request ("required_elements", true); 861 $in = _invoke ($out); 862 org.omg.mof.Model.ModelElement $result[] = org.omg.mof.Model.ModelElementBagHelper.read ($in); 863 return $result; 864 } catch (org.omg.CORBA.portable.ApplicationException $ex) { 865 $in = $ex.getInputStream (); 866 String _id = $ex.getId (); 867 if (_id.equals ("IDL:org/omg/mof/Reflective/MofError:1.0")) 868 throw org.omg.mof.Reflective.MofErrorHelper.read ($in); 869 else 870 throw new org.omg.CORBA.MARSHAL (_id); 871 } catch (org.omg.CORBA.portable.RemarshalException $rm) { 872 return required_elements (); 873 } finally { 874 _releaseReply ($in); 875 } 876 } 878 public void set_required_elements (org.omg.mof.Model.ModelElement[] new_value) throws org.omg.mof.Reflective.MofError 879 { 880 org.omg.CORBA.portable.InputStream $in = null; 881 try { 882 org.omg.CORBA.portable.OutputStream $out = _request ("set_required_elements", true); 883 org.omg.mof.Model.ModelElementBagHelper.write ($out, new_value); 884 $in = _invoke ($out); 885 } catch (org.omg.CORBA.portable.ApplicationException $ex) { 886 $in = $ex.getInputStream (); 887 String _id = $ex.getId (); 888 if (_id.equals ("IDL:org/omg/mof/Reflective/MofError:1.0")) 889 throw org.omg.mof.Reflective.MofErrorHelper.read ($in); 890 else 891 throw new org.omg.CORBA.MARSHAL (_id); 892 } catch (org.omg.CORBA.portable.RemarshalException $rm) { 893 set_required_elements (new_value); 894 } finally { 895 _releaseReply ($in); 896 } 897 } 899 public void add_required_elements (org.omg.mof.Model.ModelElement new_element) throws org.omg.mof.Reflective.MofError 900 { 901 org.omg.CORBA.portable.InputStream $in = null; 902 try { 903 org.omg.CORBA.portable.OutputStream $out = _request ("add_required_elements", true); 904 org.omg.mof.Model.ModelElementHelper.write ($out, new_element); 905 $in = _invoke ($out); 906 } catch (org.omg.CORBA.portable.ApplicationException $ex) { 907 $in = $ex.getInputStream (); 908 String _id = $ex.getId (); 909 if (_id.equals ("IDL:org/omg/mof/Reflective/MofError:1.0")) 910 throw org.omg.mof.Reflective.MofErrorHelper.read ($in); 911 else 912 throw new org.omg.CORBA.MARSHAL (_id); 913 } catch (org.omg.CORBA.portable.RemarshalException $rm) { 914 add_required_elements (new_element); 915 } finally { 916 _releaseReply ($in); 917 } 918 } 920 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 921 { 922 org.omg.CORBA.portable.InputStream $in = null; 923 try { 924 org.omg.CORBA.portable.OutputStream $out = _request ("modify_required_elements", true); 925 org.omg.mof.Model.ModelElementHelper.write ($out, old_element); 926 org.omg.mof.Model.ModelElementHelper.write ($out, new_element); 927 $in = _invoke ($out); 928 } catch (org.omg.CORBA.portable.ApplicationException $ex) { 929 $in = $ex.getInputStream (); 930 String _id = $ex.getId (); 931 if (_id.equals ("IDL:org/omg/mof/Reflective/NotFound:1.0")) 932 throw org.omg.mof.Reflective.NotFoundHelper.read ($in); 933 else if (_id.equals ("IDL:org/omg/mof/Reflective/MofError:1.0")) 934 throw org.omg.mof.Reflective.MofErrorHelper.read ($in); 935 else 936 throw new org.omg.CORBA.MARSHAL (_id); 937 } catch (org.omg.CORBA.portable.RemarshalException $rm) { 938 modify_required_elements (old_element, new_element); 939 } finally { 940 _releaseReply ($in); 941 } 942 } 944 public void remove_required_elements (org.omg.mof.Model.ModelElement old_element) throws org.omg.mof.Reflective.NotFound, org.omg.mof.Reflective.MofError 945 { 946 org.omg.CORBA.portable.InputStream $in = null; 947 try { 948 org.omg.CORBA.portable.OutputStream $out = _request ("remove_required_elements", true); 949 org.omg.mof.Model.ModelElementHelper.write ($out, old_element); 950 $in = _invoke ($out); 951 } catch (org.omg.CORBA.portable.ApplicationException $ex) { 952 $in = $ex.getInputStream (); 953 String _id = $ex.getId (); 954 if (_id.equals ("IDL:org/omg/mof/Reflective/NotFound:1.0")) 955 throw org.omg.mof.Reflective.NotFoundHelper.read ($in); 956 else if (_id.equals ("IDL:org/omg/mof/Reflective/MofError:1.0")) 957 throw org.omg.mof.Reflective.MofErrorHelper.read ($in); 958 else 959 throw new org.omg.CORBA.MARSHAL (_id); 960 } catch (org.omg.CORBA.portable.RemarshalException $rm) { 961 remove_required_elements (old_element); 962 } finally { 963 _releaseReply ($in); 964 } 965 } 967 968 public org.omg.mof.Model.Constraint[] constraints () throws org.omg.mof.Reflective.MofError 970 { 971 org.omg.CORBA.portable.InputStream $in = null; 972 try { 973 org.omg.CORBA.portable.OutputStream $out = _request ("constraints", true); 974 $in = _invoke ($out); 975 org.omg.mof.Model.Constraint $result[] = org.omg.mof.Model.ConstraintBagHelper.read ($in); 976 return $result; 977 } catch (org.omg.CORBA.portable.ApplicationException $ex) { 978 $in = $ex.getInputStream (); 979 String _id = $ex.getId (); 980 if (_id.equals ("IDL:org/omg/mof/Reflective/MofError:1.0")) 981 throw org.omg.mof.Reflective.MofErrorHelper.read ($in); 982 else 983 throw new org.omg.CORBA.MARSHAL (_id); 984 } catch (org.omg.CORBA.portable.RemarshalException $rm) { 985 return constraints (); 986 } finally { 987 _releaseReply ($in); 988 } 989 } 991 public void set_constraints (org.omg.mof.Model.Constraint[] new_value) throws org.omg.mof.Reflective.MofError 992 { 993 org.omg.CORBA.portable.InputStream $in = null; 994 try { 995 org.omg.CORBA.portable.OutputStream $out = _request ("set_constraints", true); 996 org.omg.mof.Model.ConstraintBagHelper.write ($out, new_value); 997 $in = _invoke ($out); 998 } catch (org.omg.CORBA.portable.ApplicationException $ex) { 999 $in = $ex.getInputStream (); 1000 String _id = $ex.getId (); 1001 if (_id.equals ("IDL:org/omg/mof/Reflective/MofError:1.0")) 1002 throw org.omg.mof.Reflective.MofErrorHelper.read ($in); 1003 else 1004 throw new org.omg.CORBA.MARSHAL (_id); 1005 } catch (org.omg.CORBA.portable.RemarshalException $rm) { 1006 set_constraints (new_value); 1007 } finally { 1008 _releaseReply ($in); 1009 } 1010 } 1012 public void add_constraints (org.omg.mof.Model.Constraint new_element) throws org.omg.mof.Reflective.MofError 1013 { 1014 org.omg.CORBA.portable.InputStream $in = null; 1015 try { 1016 org.omg.CORBA.portable.OutputStream $out = _request ("add_constraints", true); 1017 org.omg.mof.Model.ConstraintHelper.write ($out, new_element); 1018 $in = _invoke ($out); 1019 } catch (org.omg.CORBA.portable.ApplicationException $ex) { 1020 $in = $ex.getInputStream (); 1021 String _id = $ex.getId (); 1022 if (_id.equals ("IDL:org/omg/mof/Reflective/MofError:1.0")) 1023 throw org.omg.mof.Reflective.MofErrorHelper.read ($in); 1024 else 1025 throw new org.omg.CORBA.MARSHAL (_id); 1026 } catch (org.omg.CORBA.portable.RemarshalException $rm) { 1027 add_constraints (new_element); 1028 } finally { 1029 _releaseReply ($in); 1030 } 1031 } 1033 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 1034 { 1035 org.omg.CORBA.portable.InputStream $in = null; 1036 try { 1037 org.omg.CORBA.portable.OutputStream $out = _request ("modify_constraints", true); 1038 org.omg.mof.Model.ConstraintHelper.write ($out, old_element); 1039 org.omg.mof.Model.ConstraintHelper.write ($out, new_element); 1040 $in = _invoke ($out); 1041 } catch (org.omg.CORBA.portable.ApplicationException $ex) { 1042 $in = $ex.getInputStream (); 1043 String _id = $ex.getId (); 1044 if (_id.equals ("IDL:org/omg/mof/Reflective/NotFound:1.0")) 1045 throw org.omg.mof.Reflective.NotFoundHelper.read ($in); 1046 else if (_id.equals ("IDL:org/omg/mof/Reflective/MofError:1.0")) 1047 throw org.omg.mof.Reflective.MofErrorHelper.read ($in); 1048 else 1049 throw new org.omg.CORBA.MARSHAL (_id); 1050 } catch (org.omg.CORBA.portable.RemarshalException $rm) { 1051 modify_constraints (old_element, new_element); 1052 } finally { 1053 _releaseReply ($in); 1054 } 1055 } 1057 public void remove_constraints (org.omg.mof.Model.Constraint old_element) throws org.omg.mof.Reflective.NotFound, org.omg.mof.Reflective.MofError 1058 { 1059 org.omg.CORBA.portable.InputStream $in = null; 1060 try { 1061 org.omg.CORBA.portable.OutputStream $out = _request ("remove_constraints", true); 1062 org.omg.mof.Model.ConstraintHelper.write ($out, old_element); 1063 $in = _invoke ($out); 1064 } catch (org.omg.CORBA.portable.ApplicationException $ex) { 1065 $in = $ex.getInputStream (); 1066 String _id = $ex.getId (); 1067 if (_id.equals ("IDL:org/omg/mof/Reflective/NotFound:1.0")) 1068 throw org.omg.mof.Reflective.NotFoundHelper.read ($in); 1069 else if (_id.equals ("IDL:org/omg/mof/Reflective/MofError:1.0")) 1070 throw org.omg.mof.Reflective.MofErrorHelper.read ($in); 1071 else 1072 throw new org.omg.CORBA.MARSHAL (_id); 1073 } catch (org.omg.CORBA.portable.RemarshalException $rm) { 1074 remove_constraints (old_element); 1075 } finally { 1076 _releaseReply ($in); 1077 } 1078 } 1080 private static String [] __ids = { 1082 "IDL:org/omg/mof/Model/Namespace:1.0", 1083 "IDL:org/omg/mof/Model/NamespaceClass:1.0", 1084 "IDL:org/omg/mof/Model/ModelElementClass:1.0", 1085 "IDL:org/omg/mof/Reflective/RefObject:1.0", 1086 "IDL:org/omg/mof/Reflective/RefBaseObject:1.0", 1087 "IDL:org/omg/mof/Model/ModelElement:1.0"}; 1088 1089 public String [] _ids () 1090 { 1091 return (String [])__ids.clone (); 1092 } 1093 1094 private void readObject (java.io.ObjectInputStream s) throws java.io.IOException 1095 { 1096 String str = s.readUTF (); 1097 String [] args = null; 1098 java.util.Properties props = null; 1099 org.omg.CORBA.Object obj = org.omg.CORBA.ORB.init (args, props).string_to_object (str); 1100 org.omg.CORBA.portable.Delegate delegate = ((org.omg.CORBA.portable.ObjectImpl ) obj)._get_delegate (); 1101 _set_delegate (delegate); 1102 } 1103 1104 private void writeObject (java.io.ObjectOutputStream s) throws java.io.IOException 1105 { 1106 String [] args = null; 1107 java.util.Properties props = null; 1108 String str = org.omg.CORBA.ORB.init (args, props).object_to_string (this); 1109 s.writeUTF (str); 1110 } 1111} | Popular Tags |