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