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