1 21 22 package org.omg.mof.Model ; 24 public class ModelPackageImpl extends org.omg.mof.Model._ModelPackagePOA { 25 public java.lang.String ref_mof_id(){ 28 int id = _orb().object_to_string(_this()).hashCode(); 29 return String.valueOf(id); 30 } 31 public org.omg.mof.Reflective.RefObject ref_meta_object(){ 33 throw new org.omg.CORBA.NO_IMPLEMENT ("ref_meta_object method not implemented",1 ,org.omg.CORBA.CompletionStatus.COMPLETED_NO); 34 } 35 public boolean ref_itself(org.omg.mof.Reflective.RefBaseObject other_object){ 37 String id_obj = other_object.ref_mof_id(); 38 if (ref_mof_id().equals(id_obj)) return true; 39 else return false; 40 } 41 public org.omg.mof.Reflective._RefPackage ref_immediate_package(){ 43 throw new org.omg.CORBA.NO_IMPLEMENT ("ref_immediate_package method not implemented",1 ,org.omg.CORBA.CompletionStatus.COMPLETED_NO); 44 } 45 public org.omg.mof.Reflective._RefPackage ref_outermost_package(){ 47 throw new org.omg.CORBA.NO_IMPLEMENT ("ref_moutermost_package method not implemented",1 ,org.omg.CORBA.CompletionStatus.COMPLETED_NO); 48 } 49 public void ref_delete() throws org.omg.mof.Reflective.MofError { 51 throw new org.omg.CORBA.NO_IMPLEMENT ("ref_delete method not implemented",1 ,org.omg.CORBA.CompletionStatus.COMPLETED_NO); 52 } 53 54 public org.omg.mof.Reflective.RefObject ref_class_ref(org.omg.mof.Reflective.RefObject _class) 56 throws org.omg.mof.Reflective.MofError{ 57 throw new org.omg.CORBA.NO_IMPLEMENT ("ref_class_ref method not implemented",1 ,org.omg.CORBA.CompletionStatus.COMPLETED_NO); 58 } 59 public org.omg.mof.Reflective.RefAssociation ref_association_ref(org.omg.mof.Reflective.RefObject association) 61 throws org.omg.mof.Reflective.MofError { 62 throw new org.omg.CORBA.NO_IMPLEMENT ("ref_association_ref method not implemented",1 ,org.omg.CORBA.CompletionStatus.COMPLETED_NO); 63 } 64 public org.omg.mof.Reflective._RefPackage ref_package_ref(org.omg.mof.Reflective.RefObject _package) 66 throws org.omg.mof.Reflective.MofError{ 67 throw new org.omg.CORBA.NO_IMPLEMENT ("ref_package_ref method not implemented",1 ,org.omg.CORBA.CompletionStatus.COMPLETED_NO); 68 } 69 private org.omg.mof.Model.ModelElementClass _model_element_ref = null ; 70 public org.omg.mof.Model.ModelElementClass model_element_ref(){ 71 if( _model_element_ref == null ) { 72 org.omg.mof.Model.ModelElementClassImpl _model_element_temp = new org.omg.mof.Model.ModelElementClassImpl(_this()); 73 try { 74 _poa().activate_object(_model_element_temp); 75 org.omg.CORBA.Object obj = _poa().servant_to_reference(_model_element_temp); 76 _model_element_ref = org.omg.mof.Model.ModelElementClassHelper.narrow(obj); 77 } 78 catch (java.lang.Exception ex) { 79 ex.printStackTrace(); 80 System.exit(0); 81 } 82 } 83 return _model_element_ref; 84 } 85 private org.omg.mof.Model.ImportClass _import_ref = null ; 86 public org.omg.mof.Model.ImportClass import_ref(){ 87 if( _import_ref == null ) { 88 org.omg.mof.Model.ImportClassImpl _import_temp = new org.omg.mof.Model.ImportClassImpl(_this()); 89 try { 90 _poa().activate_object(_import_temp); 91 org.omg.CORBA.Object obj = _poa().servant_to_reference(_import_temp); 92 _import_ref = org.omg.mof.Model.ImportClassHelper.narrow(obj); 93 } 94 catch (java.lang.Exception ex) { 95 ex.printStackTrace(); 96 System.exit(0); 97 } 98 } 99 return _import_ref; 100 } 101 private org.omg.mof.Model.NamespaceClass _namespace_ref = null ; 102 public org.omg.mof.Model.NamespaceClass namespace_ref(){ 103 if( _namespace_ref == null ) { 104 org.omg.mof.Model.NamespaceClassImpl _namespace_temp = new org.omg.mof.Model.NamespaceClassImpl(_this()); 105 try { 106 _poa().activate_object(_namespace_temp); 107 org.omg.CORBA.Object obj = _poa().servant_to_reference(_namespace_temp); 108 _namespace_ref = org.omg.mof.Model.NamespaceClassHelper.narrow(obj); 109 } 110 catch (java.lang.Exception ex) { 111 ex.printStackTrace(); 112 System.exit(0); 113 } 114 } 115 return _namespace_ref; 116 } 117 private org.omg.mof.Model.ConstraintClass _constraint_ref = null ; 118 public org.omg.mof.Model.ConstraintClass constraint_ref(){ 119 if( _constraint_ref == null ) { 120 org.omg.mof.Model.ConstraintClassImpl _constraint_temp = new org.omg.mof.Model.ConstraintClassImpl(_this()); 121 try { 122 _poa().activate_object(_constraint_temp); 123 org.omg.CORBA.Object obj = _poa().servant_to_reference(_constraint_temp); 124 _constraint_ref = org.omg.mof.Model.ConstraintClassHelper.narrow(obj); 125 } 126 catch (java.lang.Exception ex) { 127 ex.printStackTrace(); 128 System.exit(0); 129 } 130 } 131 return _constraint_ref; 132 } 133 private org.omg.mof.Model.TagClass _tag_ref = null ; 134 public org.omg.mof.Model.TagClass tag_ref(){ 135 if( _tag_ref == null ) { 136 org.omg.mof.Model.TagClassImpl _tag_temp = new org.omg.mof.Model.TagClassImpl(_this()); 137 try { 138 _poa().activate_object(_tag_temp); 139 org.omg.CORBA.Object obj = _poa().servant_to_reference(_tag_temp); 140 _tag_ref = org.omg.mof.Model.TagClassHelper.narrow(obj); 141 } 142 catch (java.lang.Exception ex) { 143 ex.printStackTrace(); 144 System.exit(0); 145 } 146 } 147 return _tag_ref; 148 } 149 private org.omg.mof.Model.TypedElementClass _typed_element_ref = null ; 150 public org.omg.mof.Model.TypedElementClass typed_element_ref(){ 151 if( _typed_element_ref == null ) { 152 org.omg.mof.Model.TypedElementClassImpl _typed_element_temp = new org.omg.mof.Model.TypedElementClassImpl(_this()); 153 try { 154 _poa().activate_object(_typed_element_temp); 155 org.omg.CORBA.Object obj = _poa().servant_to_reference(_typed_element_temp); 156 _typed_element_ref = org.omg.mof.Model.TypedElementClassHelper.narrow(obj); 157 } 158 catch (java.lang.Exception ex) { 159 ex.printStackTrace(); 160 System.exit(0); 161 } 162 } 163 return _typed_element_ref; 164 } 165 private org.omg.mof.Model.GeneralizableElementClass _generalizable_element_ref = null ; 166 public org.omg.mof.Model.GeneralizableElementClass generalizable_element_ref(){ 167 if( _generalizable_element_ref == null ) { 168 org.omg.mof.Model.GeneralizableElementClassImpl _generalizable_element_temp = new org.omg.mof.Model.GeneralizableElementClassImpl(_this()); 169 try { 170 _poa().activate_object(_generalizable_element_temp); 171 org.omg.CORBA.Object obj = _poa().servant_to_reference(_generalizable_element_temp); 172 _generalizable_element_ref = org.omg.mof.Model.GeneralizableElementClassHelper.narrow(obj); 173 } 174 catch (java.lang.Exception ex) { 175 ex.printStackTrace(); 176 System.exit(0); 177 } 178 } 179 return _generalizable_element_ref; 180 } 181 private org.omg.mof.Model.FeatureClass _feature_ref = null ; 182 public org.omg.mof.Model.FeatureClass feature_ref(){ 183 if( _feature_ref == null ) { 184 org.omg.mof.Model.FeatureClassImpl _feature_temp = new org.omg.mof.Model.FeatureClassImpl(_this()); 185 try { 186 _poa().activate_object(_feature_temp); 187 org.omg.CORBA.Object obj = _poa().servant_to_reference(_feature_temp); 188 _feature_ref = org.omg.mof.Model.FeatureClassHelper.narrow(obj); 189 } 190 catch (java.lang.Exception ex) { 191 ex.printStackTrace(); 192 System.exit(0); 193 } 194 } 195 return _feature_ref; 196 } 197 private org.omg.mof.Model.TypeAliasClass _type_alias_ref = null ; 198 public org.omg.mof.Model.TypeAliasClass type_alias_ref(){ 199 if( _type_alias_ref == null ) { 200 org.omg.mof.Model.TypeAliasClassImpl _type_alias_temp = new org.omg.mof.Model.TypeAliasClassImpl(_this()); 201 try { 202 _poa().activate_object(_type_alias_temp); 203 org.omg.CORBA.Object obj = _poa().servant_to_reference(_type_alias_temp); 204 _type_alias_ref = org.omg.mof.Model.TypeAliasClassHelper.narrow(obj); 205 } 206 catch (java.lang.Exception ex) { 207 ex.printStackTrace(); 208 System.exit(0); 209 } 210 } 211 return _type_alias_ref; 212 } 213 private org.omg.mof.Model.ParameterClass _parameter_ref = null ; 214 public org.omg.mof.Model.ParameterClass parameter_ref(){ 215 if( _parameter_ref == null ) { 216 org.omg.mof.Model.ParameterClassImpl _parameter_temp = new org.omg.mof.Model.ParameterClassImpl(_this()); 217 try { 218 _poa().activate_object(_parameter_temp); 219 org.omg.CORBA.Object obj = _poa().servant_to_reference(_parameter_temp); 220 _parameter_ref = org.omg.mof.Model.ParameterClassHelper.narrow(obj); 221 } 222 catch (java.lang.Exception ex) { 223 ex.printStackTrace(); 224 System.exit(0); 225 } 226 } 227 return _parameter_ref; 228 } 229 private org.omg.mof.Model.ConstantClass _constant_ref = null ; 230 public org.omg.mof.Model.ConstantClass constant_ref(){ 231 if( _constant_ref == null ) { 232 org.omg.mof.Model.ConstantClassImpl _constant_temp = new org.omg.mof.Model.ConstantClassImpl(_this()); 233 try { 234 _poa().activate_object(_constant_temp); 235 org.omg.CORBA.Object obj = _poa().servant_to_reference(_constant_temp); 236 _constant_ref = org.omg.mof.Model.ConstantClassHelper.narrow(obj); 237 } 238 catch (java.lang.Exception ex) { 239 ex.printStackTrace(); 240 System.exit(0); 241 } 242 } 243 return _constant_ref; 244 } 245 private org.omg.mof.Model.StructuralFeatureClass _structural_feature_ref = null ; 246 public org.omg.mof.Model.StructuralFeatureClass structural_feature_ref(){ 247 if( _structural_feature_ref == null ) { 248 org.omg.mof.Model.StructuralFeatureClassImpl _structural_feature_temp = new org.omg.mof.Model.StructuralFeatureClassImpl(_this()); 249 try { 250 _poa().activate_object(_structural_feature_temp); 251 org.omg.CORBA.Object obj = _poa().servant_to_reference(_structural_feature_temp); 252 _structural_feature_ref = org.omg.mof.Model.StructuralFeatureClassHelper.narrow(obj); 253 } 254 catch (java.lang.Exception ex) { 255 ex.printStackTrace(); 256 System.exit(0); 257 } 258 } 259 return _structural_feature_ref; 260 } 261 private org.omg.mof.Model.BehavioralFeatureClass _behavioral_feature_ref = null ; 262 public org.omg.mof.Model.BehavioralFeatureClass behavioral_feature_ref(){ 263 if( _behavioral_feature_ref == null ) { 264 org.omg.mof.Model.BehavioralFeatureClassImpl _behavioral_feature_temp = new org.omg.mof.Model.BehavioralFeatureClassImpl(_this()); 265 try { 266 _poa().activate_object(_behavioral_feature_temp); 267 org.omg.CORBA.Object obj = _poa().servant_to_reference(_behavioral_feature_temp); 268 _behavioral_feature_ref = org.omg.mof.Model.BehavioralFeatureClassHelper.narrow(obj); 269 } 270 catch (java.lang.Exception ex) { 271 ex.printStackTrace(); 272 System.exit(0); 273 } 274 } 275 return _behavioral_feature_ref; 276 } 277 private org.omg.mof.Model.ClassifierClass _classifier_ref = null ; 278 public org.omg.mof.Model.ClassifierClass classifier_ref(){ 279 if( _classifier_ref == null ) { 280 org.omg.mof.Model.ClassifierClassImpl _classifier_temp = new org.omg.mof.Model.ClassifierClassImpl(_this()); 281 try { 282 _poa().activate_object(_classifier_temp); 283 org.omg.CORBA.Object obj = _poa().servant_to_reference(_classifier_temp); 284 _classifier_ref = org.omg.mof.Model.ClassifierClassHelper.narrow(obj); 285 } 286 catch (java.lang.Exception ex) { 287 ex.printStackTrace(); 288 System.exit(0); 289 } 290 } 291 return _classifier_ref; 292 } 293 private org.omg.mof.Model.PackageClass _package_ref = null ; 294 public org.omg.mof.Model.PackageClass package_ref(){ 295 if( _package_ref == null ) { 296 org.omg.mof.Model.PackageClassImpl _package_temp = new org.omg.mof.Model.PackageClassImpl(_this()); 297 try { 298 _poa().activate_object(_package_temp); 299 org.omg.CORBA.Object obj = _poa().servant_to_reference(_package_temp); 300 _package_ref = org.omg.mof.Model.PackageClassHelper.narrow(obj); 301 } 302 catch (java.lang.Exception ex) { 303 ex.printStackTrace(); 304 System.exit(0); 305 } 306 } 307 return _package_ref; 308 } 309 private org.omg.mof.Model.AssociationEndClass _association_end_ref = null ; 310 public org.omg.mof.Model.AssociationEndClass association_end_ref(){ 311 if( _association_end_ref == null ) { 312 org.omg.mof.Model.AssociationEndClassImpl _association_end_temp = new org.omg.mof.Model.AssociationEndClassImpl(_this()); 313 try { 314 _poa().activate_object(_association_end_temp); 315 org.omg.CORBA.Object obj = _poa().servant_to_reference(_association_end_temp); 316 _association_end_ref = org.omg.mof.Model.AssociationEndClassHelper.narrow(obj); 317 } 318 catch (java.lang.Exception ex) { 319 ex.printStackTrace(); 320 System.exit(0); 321 } 322 } 323 return _association_end_ref; 324 } 325 private org.omg.mof.Model.ReferenceClass _reference_ref = null ; 326 public org.omg.mof.Model.ReferenceClass reference_ref(){ 327 if( _reference_ref == null ) { 328 org.omg.mof.Model.ReferenceClassImpl _reference_temp = new org.omg.mof.Model.ReferenceClassImpl(_this()); 329 try { 330 _poa().activate_object(_reference_temp); 331 org.omg.CORBA.Object obj = _poa().servant_to_reference(_reference_temp); 332 _reference_ref = org.omg.mof.Model.ReferenceClassHelper.narrow(obj); 333 } 334 catch (java.lang.Exception ex) { 335 ex.printStackTrace(); 336 System.exit(0); 337 } 338 } 339 return _reference_ref; 340 } 341 private org.omg.mof.Model.MofAttributeClass _mof_attribute_ref = null ; 342 public org.omg.mof.Model.MofAttributeClass mof_attribute_ref(){ 343 if( _mof_attribute_ref == null ) { 344 org.omg.mof.Model.MofAttributeClassImpl _mof_attribute_temp = new org.omg.mof.Model.MofAttributeClassImpl(_this()); 345 try { 346 _poa().activate_object(_mof_attribute_temp); 347 org.omg.CORBA.Object obj = _poa().servant_to_reference(_mof_attribute_temp); 348 _mof_attribute_ref = org.omg.mof.Model.MofAttributeClassHelper.narrow(obj); 349 } 350 catch (java.lang.Exception ex) { 351 ex.printStackTrace(); 352 System.exit(0); 353 } 354 } 355 return _mof_attribute_ref; 356 } 357 private org.omg.mof.Model.MofExceptionClass _mof_exception_ref = null ; 358 public org.omg.mof.Model.MofExceptionClass mof_exception_ref(){ 359 if( _mof_exception_ref == null ) { 360 org.omg.mof.Model.MofExceptionClassImpl _mof_exception_temp = new org.omg.mof.Model.MofExceptionClassImpl(_this()); 361 try { 362 _poa().activate_object(_mof_exception_temp); 363 org.omg.CORBA.Object obj = _poa().servant_to_reference(_mof_exception_temp); 364 _mof_exception_ref = org.omg.mof.Model.MofExceptionClassHelper.narrow(obj); 365 } 366 catch (java.lang.Exception ex) { 367 ex.printStackTrace(); 368 System.exit(0); 369 } 370 } 371 return _mof_exception_ref; 372 } 373 private org.omg.mof.Model.OperationClass _operation_ref = null ; 374 public org.omg.mof.Model.OperationClass operation_ref(){ 375 if( _operation_ref == null ) { 376 org.omg.mof.Model.OperationClassImpl _operation_temp = new org.omg.mof.Model.OperationClassImpl(_this()); 377 try { 378 _poa().activate_object(_operation_temp); 379 org.omg.CORBA.Object obj = _poa().servant_to_reference(_operation_temp); 380 _operation_ref = org.omg.mof.Model.OperationClassHelper.narrow(obj); 381 } 382 catch (java.lang.Exception ex) { 383 ex.printStackTrace(); 384 System.exit(0); 385 } 386 } 387 return _operation_ref; 388 } 389 private org.omg.mof.Model.ClassClass _class_ref = null ; 390 public org.omg.mof.Model.ClassClass class_ref(){ 391 if( _class_ref == null ) { 392 org.omg.mof.Model.ClassClassImpl _class_temp = new org.omg.mof.Model.ClassClassImpl(_this()); 393 try { 394 _poa().activate_object(_class_temp); 395 org.omg.CORBA.Object obj = _poa().servant_to_reference(_class_temp); 396 _class_ref = org.omg.mof.Model.ClassClassHelper.narrow(obj); 397 } 398 catch (java.lang.Exception ex) { 399 ex.printStackTrace(); 400 System.exit(0); 401 } 402 } 403 return _class_ref; 404 } 405 private org.omg.mof.Model.DataTypeClass _data_type_ref = null ; 406 public org.omg.mof.Model.DataTypeClass data_type_ref(){ 407 if( _data_type_ref == null ) { 408 org.omg.mof.Model.DataTypeClassImpl _data_type_temp = new org.omg.mof.Model.DataTypeClassImpl(_this()); 409 try { 410 _poa().activate_object(_data_type_temp); 411 org.omg.CORBA.Object obj = _poa().servant_to_reference(_data_type_temp); 412 _data_type_ref = org.omg.mof.Model.DataTypeClassHelper.narrow(obj); 413 } 414 catch (java.lang.Exception ex) { 415 ex.printStackTrace(); 416 System.exit(0); 417 } 418 } 419 return _data_type_ref; 420 } 421 private org.omg.mof.Model.AssociationClass _association_ref = null ; 422 public org.omg.mof.Model.AssociationClass association_ref(){ 423 if( _association_ref == null ) { 424 org.omg.mof.Model.AssociationClassImpl _association_temp = new org.omg.mof.Model.AssociationClassImpl(_this()); 425 try { 426 _poa().activate_object(_association_temp); 427 org.omg.CORBA.Object obj = _poa().servant_to_reference(_association_temp); 428 _association_ref = org.omg.mof.Model.AssociationClassHelper.narrow(obj); 429 } 430 catch (java.lang.Exception ex) { 431 ex.printStackTrace(); 432 System.exit(0); 433 } 434 } 435 return _association_ref; 436 } 437 private org.omg.mof.Model.DependsOn _depends_on_ref = null ; 438 public org.omg.mof.Model.DependsOn depends_on_ref(){ 439 if( _depends_on_ref == null ) { 440 org.omg.mof.Model.DependsOnImpl _depends_on_temp = new org.omg.mof.Model.DependsOnImpl(); 441 try { 442 _poa().activate_object(_depends_on_temp); 443 org.omg.CORBA.Object obj = _poa().servant_to_reference(_depends_on_temp); 444 _depends_on_ref = org.omg.mof.Model.DependsOnHelper.narrow(obj); 445 } 446 catch (java.lang.Exception ex){ 447 ex.printStackTrace(); 448 System.exit(0); 449 } 450 } 451 return _depends_on_ref ; 452 } 453 private org.omg.mof.Model.Contains _contains_ref = null ; 454 public org.omg.mof.Model.Contains contains_ref(){ 455 if( _contains_ref == null ) { 456 org.omg.mof.Model.ContainsImpl _contains_temp = new org.omg.mof.Model.ContainsImpl(); 457 try { 458 _poa().activate_object(_contains_temp); 459 org.omg.CORBA.Object obj = _poa().servant_to_reference(_contains_temp); 460 _contains_ref = org.omg.mof.Model.ContainsHelper.narrow(obj); 461 } 462 catch (java.lang.Exception ex){ 463 ex.printStackTrace(); 464 System.exit(0); 465 } 466 } 467 return _contains_ref ; 468 } 469 private org.omg.mof.Model.AttachesTo _attaches_to_ref = null ; 470 public org.omg.mof.Model.AttachesTo attaches_to_ref(){ 471 if( _attaches_to_ref == null ) { 472 org.omg.mof.Model.AttachesToImpl _attaches_to_temp = new org.omg.mof.Model.AttachesToImpl(); 473 try { 474 _poa().activate_object(_attaches_to_temp); 475 org.omg.CORBA.Object obj = _poa().servant_to_reference(_attaches_to_temp); 476 _attaches_to_ref = org.omg.mof.Model.AttachesToHelper.narrow(obj); 477 } 478 catch (java.lang.Exception ex){ 479 ex.printStackTrace(); 480 System.exit(0); 481 } 482 } 483 return _attaches_to_ref ; 484 } 485 private org.omg.mof.Model.Constrains _constrains_ref = null ; 486 public org.omg.mof.Model.Constrains constrains_ref(){ 487 if( _constrains_ref == null ) { 488 org.omg.mof.Model.ConstrainsImpl _constrains_temp = new org.omg.mof.Model.ConstrainsImpl(); 489 try { 490 _poa().activate_object(_constrains_temp); 491 org.omg.CORBA.Object obj = _poa().servant_to_reference(_constrains_temp); 492 _constrains_ref = org.omg.mof.Model.ConstrainsHelper.narrow(obj); 493 } 494 catch (java.lang.Exception ex){ 495 ex.printStackTrace(); 496 System.exit(0); 497 } 498 } 499 return _constrains_ref ; 500 } 501 private org.omg.mof.Model.Aliases _aliases_ref = null ; 502 public org.omg.mof.Model.Aliases aliases_ref(){ 503 if( _aliases_ref == null ) { 504 org.omg.mof.Model.AliasesImpl _aliases_temp = new org.omg.mof.Model.AliasesImpl(); 505 try { 506 _poa().activate_object(_aliases_temp); 507 org.omg.CORBA.Object obj = _poa().servant_to_reference(_aliases_temp); 508 _aliases_ref = org.omg.mof.Model.AliasesHelper.narrow(obj); 509 } 510 catch (java.lang.Exception ex){ 511 ex.printStackTrace(); 512 System.exit(0); 513 } 514 } 515 return _aliases_ref ; 516 } 517 private org.omg.mof.Model.Generalizes _generalizes_ref = null ; 518 public org.omg.mof.Model.Generalizes generalizes_ref(){ 519 if( _generalizes_ref == null ) { 520 org.omg.mof.Model.GeneralizesImpl _generalizes_temp = new org.omg.mof.Model.GeneralizesImpl(); 521 try { 522 _poa().activate_object(_generalizes_temp); 523 org.omg.CORBA.Object obj = _poa().servant_to_reference(_generalizes_temp); 524 _generalizes_ref = org.omg.mof.Model.GeneralizesHelper.narrow(obj); 525 } 526 catch (java.lang.Exception ex){ 527 ex.printStackTrace(); 528 System.exit(0); 529 } 530 } 531 return _generalizes_ref ; 532 } 533 private org.omg.mof.Model.IsOfType _is_of_type_ref = null ; 534 public org.omg.mof.Model.IsOfType is_of_type_ref(){ 535 if( _is_of_type_ref == null ) { 536 org.omg.mof.Model.IsOfTypeImpl _is_of_type_temp = new org.omg.mof.Model.IsOfTypeImpl(); 537 try { 538 _poa().activate_object(_is_of_type_temp); 539 org.omg.CORBA.Object obj = _poa().servant_to_reference(_is_of_type_temp); 540 _is_of_type_ref = org.omg.mof.Model.IsOfTypeHelper.narrow(obj); 541 } 542 catch (java.lang.Exception ex){ 543 ex.printStackTrace(); 544 System.exit(0); 545 } 546 } 547 return _is_of_type_ref ; 548 } 549 private org.omg.mof.Model.CanRaise _can_raise_ref = null ; 550 public org.omg.mof.Model.CanRaise can_raise_ref(){ 551 if( _can_raise_ref == null ) { 552 org.omg.mof.Model.CanRaiseImpl _can_raise_temp = new org.omg.mof.Model.CanRaiseImpl(); 553 try { 554 _poa().activate_object(_can_raise_temp); 555 org.omg.CORBA.Object obj = _poa().servant_to_reference(_can_raise_temp); 556 _can_raise_ref = org.omg.mof.Model.CanRaiseHelper.narrow(obj); 557 } 558 catch (java.lang.Exception ex){ 559 ex.printStackTrace(); 560 System.exit(0); 561 } 562 } 563 return _can_raise_ref ; 564 } 565 private org.omg.mof.Model.RefersTo _refers_to_ref = null ; 566 public org.omg.mof.Model.RefersTo refers_to_ref(){ 567 if( _refers_to_ref == null ) { 568 org.omg.mof.Model.RefersToImpl _refers_to_temp = new org.omg.mof.Model.RefersToImpl(); 569 try { 570 _poa().activate_object(_refers_to_temp); 571 org.omg.CORBA.Object obj = _poa().servant_to_reference(_refers_to_temp); 572 _refers_to_ref = org.omg.mof.Model.RefersToHelper.narrow(obj); 573 } 574 catch (java.lang.Exception ex){ 575 ex.printStackTrace(); 576 System.exit(0); 577 } 578 } 579 return _refers_to_ref ; 580 } 581 private org.omg.mof.Model.Exposes _exposes_ref = null ; 582 public org.omg.mof.Model.Exposes exposes_ref(){ 583 if( _exposes_ref == null ) { 584 org.omg.mof.Model.ExposesImpl _exposes_temp = new org.omg.mof.Model.ExposesImpl(); 585 try { 586 _poa().activate_object(_exposes_temp); 587 org.omg.CORBA.Object obj = _poa().servant_to_reference(_exposes_temp); 588 _exposes_ref = org.omg.mof.Model.ExposesHelper.narrow(obj); 589 } 590 catch (java.lang.Exception ex){ 591 ex.printStackTrace(); 592 System.exit(0); 593 } 594 } 595 return _exposes_ref ; 596 } 597 public ModelPackageImpl() { 598 } 599 } 600 | Popular Tags |