1 package org.opencrx.kernel.model1.cci; 14 15 public class ReferenceClassImpl 16 extends org.openmdx.base.accessor.jmi.spi.RefClass_1 17 implements ReferenceClass { 18 19 public ReferenceClassImpl( 20 org.openmdx.base.accessor.jmi.cci.RefPackage_1_0 refPackage 21 ) { 22 super(refPackage); 23 } 24 25 public String refMofId( 26 ) { 27 return "org:opencrx:kernel:model1:Reference"; 28 } 29 30 public Reference getReference( 31 Object object 32 ) { 33 try { 34 if(object instanceof org.openmdx.base.accessor.jmi.cci.RefObject_1_0) { 35 java.util.List args = new java.util.ArrayList (); 36 args.add(object); 37 Reference target = (Reference)refCreateInstance( 38 args 39 ); 40 return target; 41 } else { 42 return (Reference)((org.openmdx.base.accessor.jmi.cci.RefPackage_1_0)this.refOutermostPackage()).refObject( 43 object instanceof org.openmdx.compatibility.base.naming.Path 44 ? ((org.openmdx.compatibility.base.naming.Path)object).toXri() 45 : ((org.openmdx.base.accessor.generic.cci.Object_1_0)object).objGetPath().toXri() 46 ); 47 } 48 } 49 catch(org.openmdx.base.exception.ServiceException e) { 50 throw new org.openmdx.base.accessor.jmi.cci.JmiServiceException(e); 51 } 52 } 53 54 public Reference createReference( 55 ) { 56 Reference target = (Reference)refCreateInstance( 57 null 58 ); 59 return target; 60 } 61 public Reference createReference( 65 short accessLevelBrowse 66 , short accessLevelDelete 67 , short accessLevelUpdate 68 , boolean disabled 69 , String name 70 , String qualifiedName 71 , short scope 72 , short visibility 73 , org.opencrx.kernel.model1.cci.AssociationEnd exposedEnd 74 , org.opencrx.kernel.model1.cci.AssociationEnd referencedEnd 75 , boolean isChangeable 76 , short multiplicity 77 , org.opencrx.kernel.model1.cci.Classifier type 78 ) { 79 ReferenceImpl _object = (ReferenceImpl)createReference(); 80 _object.setAccessLevelBrowse(accessLevelBrowse); 81 _object.setAccessLevelDelete(accessLevelDelete); 82 _object.setAccessLevelUpdate(accessLevelUpdate); 83 _object.setDisabled(disabled); 84 _object.setName(name); 85 _object.setQualifiedName(qualifiedName); 86 _object.setScope(scope); 87 _object.setVisibility(visibility); 88 _object.setExposedEnd(exposedEnd); 89 _object.setReferencedEnd(referencedEnd); 90 _object.setChangeable(isChangeable); 91 _object.setMultiplicity(multiplicity); 92 _object.setType(type); 93 return _object; 94 } 95 96 public Reference extendAuditee( 100 org.opencrx.kernel.base.cci.Auditee _base 101 , short accessLevelBrowse 102 , short accessLevelDelete 103 , short accessLevelUpdate 104 , boolean disabled 105 , String name 106 , String qualifiedName 107 , short scope 108 , short visibility 109 , org.opencrx.kernel.model1.cci.AssociationEnd exposedEnd 110 , org.opencrx.kernel.model1.cci.AssociationEnd referencedEnd 111 , boolean isChangeable 112 , short multiplicity 113 , org.opencrx.kernel.model1.cci.Classifier type 114 ) { 115 ReferenceImpl _object = (ReferenceImpl)getReference(_base); 116 _object.setAccessLevelBrowse(accessLevelBrowse); 117 _object.setAccessLevelDelete(accessLevelDelete); 118 _object.setAccessLevelUpdate(accessLevelUpdate); 119 _object.setDisabled(disabled); 120 _object.setName(name); 121 _object.setQualifiedName(qualifiedName); 122 _object.setScope(scope); 123 _object.setVisibility(visibility); 124 _object.setExposedEnd(exposedEnd); 125 _object.setReferencedEnd(referencedEnd); 126 _object.setChangeable(isChangeable); 127 _object.setMultiplicity(multiplicity); 128 _object.setType(type); 129 return _object; 130 } 131 132 public Reference extendBookmarkable( 136 org.opencrx.kernel.base.cci.Bookmarkable _base 137 , short accessLevelBrowse 138 , short accessLevelDelete 139 , short accessLevelUpdate 140 , boolean disabled 141 , String name 142 , String qualifiedName 143 , short scope 144 , short visibility 145 , org.opencrx.kernel.model1.cci.AssociationEnd exposedEnd 146 , org.opencrx.kernel.model1.cci.AssociationEnd referencedEnd 147 , boolean isChangeable 148 , short multiplicity 149 , org.opencrx.kernel.model1.cci.Classifier type 150 ) { 151 ReferenceImpl _object = (ReferenceImpl)getReference(_base); 152 _object.setAccessLevelBrowse(accessLevelBrowse); 153 _object.setAccessLevelDelete(accessLevelDelete); 154 _object.setAccessLevelUpdate(accessLevelUpdate); 155 _object.setDisabled(disabled); 156 _object.setName(name); 157 _object.setQualifiedName(qualifiedName); 158 _object.setScope(scope); 159 _object.setVisibility(visibility); 160 _object.setExposedEnd(exposedEnd); 161 _object.setReferencedEnd(referencedEnd); 162 _object.setChangeable(isChangeable); 163 _object.setMultiplicity(multiplicity); 164 _object.setType(type); 165 return _object; 166 } 167 168 public Reference extendCloneable( 172 org.opencrx.kernel.base.cci.Cloneable _base 173 , short accessLevelBrowse 174 , short accessLevelDelete 175 , short accessLevelUpdate 176 , boolean disabled 177 , String name 178 , String qualifiedName 179 , short scope 180 , short visibility 181 , org.opencrx.kernel.model1.cci.AssociationEnd exposedEnd 182 , org.opencrx.kernel.model1.cci.AssociationEnd referencedEnd 183 , boolean isChangeable 184 , short multiplicity 185 , org.opencrx.kernel.model1.cci.Classifier type 186 ) { 187 ReferenceImpl _object = (ReferenceImpl)getReference(_base); 188 _object.setAccessLevelBrowse(accessLevelBrowse); 189 _object.setAccessLevelDelete(accessLevelDelete); 190 _object.setAccessLevelUpdate(accessLevelUpdate); 191 _object.setDisabled(disabled); 192 _object.setName(name); 193 _object.setQualifiedName(qualifiedName); 194 _object.setScope(scope); 195 _object.setVisibility(visibility); 196 _object.setExposedEnd(exposedEnd); 197 _object.setReferencedEnd(referencedEnd); 198 _object.setChangeable(isChangeable); 199 _object.setMultiplicity(multiplicity); 200 _object.setType(type); 201 return _object; 202 } 203 204 public Reference extendImporter( 208 org.opencrx.kernel.base.cci.Importer _base 209 , short accessLevelBrowse 210 , short accessLevelDelete 211 , short accessLevelUpdate 212 , boolean disabled 213 , String name 214 , String qualifiedName 215 , short scope 216 , short visibility 217 , org.opencrx.kernel.model1.cci.AssociationEnd exposedEnd 218 , org.opencrx.kernel.model1.cci.AssociationEnd referencedEnd 219 , boolean isChangeable 220 , short multiplicity 221 , org.opencrx.kernel.model1.cci.Classifier type 222 ) { 223 ReferenceImpl _object = (ReferenceImpl)getReference(_base); 224 _object.setAccessLevelBrowse(accessLevelBrowse); 225 _object.setAccessLevelDelete(accessLevelDelete); 226 _object.setAccessLevelUpdate(accessLevelUpdate); 227 _object.setDisabled(disabled); 228 _object.setName(name); 229 _object.setQualifiedName(qualifiedName); 230 _object.setScope(scope); 231 _object.setVisibility(visibility); 232 _object.setExposedEnd(exposedEnd); 233 _object.setReferencedEnd(referencedEnd); 234 _object.setChangeable(isChangeable); 235 _object.setMultiplicity(multiplicity); 236 _object.setType(type); 237 return _object; 238 } 239 240 public Reference extendSecureObject( 244 org.opencrx.kernel.base.cci.SecureObject _base 245 , boolean disabled 246 , String name 247 , String qualifiedName 248 , short scope 249 , short visibility 250 , org.opencrx.kernel.model1.cci.AssociationEnd exposedEnd 251 , org.opencrx.kernel.model1.cci.AssociationEnd referencedEnd 252 , boolean isChangeable 253 , short multiplicity 254 , org.opencrx.kernel.model1.cci.Classifier type 255 ) { 256 ReferenceImpl _object = (ReferenceImpl)getReference(_base); 257 _object.setDisabled(disabled); 258 _object.setName(name); 259 _object.setQualifiedName(qualifiedName); 260 _object.setScope(scope); 261 _object.setVisibility(visibility); 262 _object.setExposedEnd(exposedEnd); 263 _object.setReferencedEnd(referencedEnd); 264 _object.setChangeable(isChangeable); 265 _object.setMultiplicity(multiplicity); 266 _object.setType(type); 267 return _object; 268 } 269 270 public Reference extendSubscriptionTarget( 274 org.opencrx.kernel.base.cci.SubscriptionTarget _base 275 , short accessLevelBrowse 276 , short accessLevelDelete 277 , short accessLevelUpdate 278 , boolean disabled 279 , String name 280 , String qualifiedName 281 , short scope 282 , short visibility 283 , org.opencrx.kernel.model1.cci.AssociationEnd exposedEnd 284 , org.opencrx.kernel.model1.cci.AssociationEnd referencedEnd 285 , boolean isChangeable 286 , short multiplicity 287 , org.opencrx.kernel.model1.cci.Classifier type 288 ) { 289 ReferenceImpl _object = (ReferenceImpl)getReference(_base); 290 _object.setAccessLevelBrowse(accessLevelBrowse); 291 _object.setAccessLevelDelete(accessLevelDelete); 292 _object.setAccessLevelUpdate(accessLevelUpdate); 293 _object.setDisabled(disabled); 294 _object.setName(name); 295 _object.setQualifiedName(qualifiedName); 296 _object.setScope(scope); 297 _object.setVisibility(visibility); 298 _object.setExposedEnd(exposedEnd); 299 _object.setReferencedEnd(referencedEnd); 300 _object.setChangeable(isChangeable); 301 _object.setMultiplicity(multiplicity); 302 _object.setType(type); 303 return _object; 304 } 305 306 public Reference extendXmlExporter( 310 org.opencrx.kernel.base.cci.XmlExporter _base 311 , short accessLevelBrowse 312 , short accessLevelDelete 313 , short accessLevelUpdate 314 , boolean disabled 315 , String name 316 , String qualifiedName 317 , short scope 318 , short visibility 319 , org.opencrx.kernel.model1.cci.AssociationEnd exposedEnd 320 , org.opencrx.kernel.model1.cci.AssociationEnd referencedEnd 321 , boolean isChangeable 322 , short multiplicity 323 , org.opencrx.kernel.model1.cci.Classifier type 324 ) { 325 ReferenceImpl _object = (ReferenceImpl)getReference(_base); 326 _object.setAccessLevelBrowse(accessLevelBrowse); 327 _object.setAccessLevelDelete(accessLevelDelete); 328 _object.setAccessLevelUpdate(accessLevelUpdate); 329 _object.setDisabled(disabled); 330 _object.setName(name); 331 _object.setQualifiedName(qualifiedName); 332 _object.setScope(scope); 333 _object.setVisibility(visibility); 334 _object.setExposedEnd(exposedEnd); 335 _object.setReferencedEnd(referencedEnd); 336 _object.setChangeable(isChangeable); 337 _object.setMultiplicity(multiplicity); 338 _object.setType(type); 339 return _object; 340 } 341 342 public Reference extendCrxObject( 346 org.opencrx.kernel.generic.cci.CrxObject _base 347 , String name 348 , String qualifiedName 349 , short scope 350 , short visibility 351 , org.opencrx.kernel.model1.cci.AssociationEnd exposedEnd 352 , org.opencrx.kernel.model1.cci.AssociationEnd referencedEnd 353 , boolean isChangeable 354 , short multiplicity 355 , org.opencrx.kernel.model1.cci.Classifier type 356 ) { 357 ReferenceImpl _object = (ReferenceImpl)getReference(_base); 358 _object.setName(name); 359 _object.setQualifiedName(qualifiedName); 360 _object.setScope(scope); 361 _object.setVisibility(visibility); 362 _object.setExposedEnd(exposedEnd); 363 _object.setReferencedEnd(referencedEnd); 364 _object.setChangeable(isChangeable); 365 _object.setMultiplicity(multiplicity); 366 _object.setType(type); 367 return _object; 368 } 369 370 public Reference extendElement( 374 org.opencrx.kernel.model1.cci.Element _base 375 , short scope 376 , short visibility 377 , org.opencrx.kernel.model1.cci.AssociationEnd exposedEnd 378 , org.opencrx.kernel.model1.cci.AssociationEnd referencedEnd 379 , boolean isChangeable 380 , short multiplicity 381 , org.opencrx.kernel.model1.cci.Classifier type 382 ) { 383 ReferenceImpl _object = (ReferenceImpl)getReference(_base); 384 _object.setScope(scope); 385 _object.setVisibility(visibility); 386 _object.setExposedEnd(exposedEnd); 387 _object.setReferencedEnd(referencedEnd); 388 _object.setChangeable(isChangeable); 389 _object.setMultiplicity(multiplicity); 390 _object.setType(type); 391 return _object; 392 } 393 394 public Reference extendFeature( 398 org.opencrx.kernel.model1.cci.Feature _base 399 , org.opencrx.kernel.model1.cci.AssociationEnd exposedEnd 400 , org.opencrx.kernel.model1.cci.AssociationEnd referencedEnd 401 , boolean isChangeable 402 , short multiplicity 403 , org.opencrx.kernel.model1.cci.Classifier type 404 ) { 405 ReferenceImpl _object = (ReferenceImpl)getReference(_base); 406 _object.setExposedEnd(exposedEnd); 407 _object.setReferencedEnd(referencedEnd); 408 _object.setChangeable(isChangeable); 409 _object.setMultiplicity(multiplicity); 410 _object.setType(type); 411 return _object; 412 } 413 414 public Reference extendStructuralFeature( 418 org.opencrx.kernel.model1.cci.StructuralFeature _base 419 , org.opencrx.kernel.model1.cci.AssociationEnd exposedEnd 420 , org.opencrx.kernel.model1.cci.AssociationEnd referencedEnd 421 ) { 422 ReferenceImpl _object = (ReferenceImpl)getReference(_base); 423 _object.setExposedEnd(exposedEnd); 424 _object.setReferencedEnd(referencedEnd); 425 return _object; 426 } 427 428 public Reference extendTypedElement( 432 org.opencrx.kernel.model1.cci.TypedElement _base 433 , short scope 434 , short visibility 435 , org.opencrx.kernel.model1.cci.AssociationEnd exposedEnd 436 , org.opencrx.kernel.model1.cci.AssociationEnd referencedEnd 437 , boolean isChangeable 438 , short multiplicity 439 ) { 440 ReferenceImpl _object = (ReferenceImpl)getReference(_base); 441 _object.setScope(scope); 442 _object.setVisibility(visibility); 443 _object.setExposedEnd(exposedEnd); 444 _object.setReferencedEnd(referencedEnd); 445 _object.setChangeable(isChangeable); 446 _object.setMultiplicity(multiplicity); 447 return _object; 448 } 449 450 public Reference extendBasicObject( 454 org.openmdx.base.cci.BasicObject _base 455 , short accessLevelBrowse 456 , short accessLevelDelete 457 , short accessLevelUpdate 458 , boolean disabled 459 , String name 460 , String qualifiedName 461 , short scope 462 , short visibility 463 , org.opencrx.kernel.model1.cci.AssociationEnd exposedEnd 464 , org.opencrx.kernel.model1.cci.AssociationEnd referencedEnd 465 , boolean isChangeable 466 , short multiplicity 467 , org.opencrx.kernel.model1.cci.Classifier type 468 ) { 469 ReferenceImpl _object = (ReferenceImpl)getReference(_base); 470 _object.setAccessLevelBrowse(accessLevelBrowse); 471 _object.setAccessLevelDelete(accessLevelDelete); 472 _object.setAccessLevelUpdate(accessLevelUpdate); 473 _object.setDisabled(disabled); 474 _object.setName(name); 475 _object.setQualifiedName(qualifiedName); 476 _object.setScope(scope); 477 _object.setVisibility(visibility); 478 _object.setExposedEnd(exposedEnd); 479 _object.setReferencedEnd(referencedEnd); 480 _object.setChangeable(isChangeable); 481 _object.setMultiplicity(multiplicity); 482 _object.setType(type); 483 return _object; 484 } 485 486 public Reference extendContextCapable( 490 org.openmdx.base.cci.ContextCapable _base 491 , short accessLevelBrowse 492 , short accessLevelDelete 493 , short accessLevelUpdate 494 , boolean disabled 495 , String name 496 , String qualifiedName 497 , short scope 498 , short visibility 499 , org.opencrx.kernel.model1.cci.AssociationEnd exposedEnd 500 , org.opencrx.kernel.model1.cci.AssociationEnd referencedEnd 501 , boolean isChangeable 502 , short multiplicity 503 , org.opencrx.kernel.model1.cci.Classifier type 504 ) { 505 ReferenceImpl _object = (ReferenceImpl)getReference(_base); 506 _object.setAccessLevelBrowse(accessLevelBrowse); 507 _object.setAccessLevelDelete(accessLevelDelete); 508 _object.setAccessLevelUpdate(accessLevelUpdate); 509 _object.setDisabled(disabled); 510 _object.setName(name); 511 _object.setQualifiedName(qualifiedName); 512 _object.setScope(scope); 513 _object.setVisibility(visibility); 514 _object.setExposedEnd(exposedEnd); 515 _object.setReferencedEnd(referencedEnd); 516 _object.setChangeable(isChangeable); 517 _object.setMultiplicity(multiplicity); 518 _object.setType(type); 519 return _object; 520 } 521 522 public Reference extendExtentCapable( 526 org.openmdx.base.cci.ExtentCapable _base 527 , short accessLevelBrowse 528 , short accessLevelDelete 529 , short accessLevelUpdate 530 , boolean disabled 531 , String name 532 , String qualifiedName 533 , short scope 534 , short visibility 535 , org.opencrx.kernel.model1.cci.AssociationEnd exposedEnd 536 , org.opencrx.kernel.model1.cci.AssociationEnd referencedEnd 537 , boolean isChangeable 538 , short multiplicity 539 , org.opencrx.kernel.model1.cci.Classifier type 540 ) { 541 ReferenceImpl _object = (ReferenceImpl)getReference(_base); 542 _object.setAccessLevelBrowse(accessLevelBrowse); 543 _object.setAccessLevelDelete(accessLevelDelete); 544 _object.setAccessLevelUpdate(accessLevelUpdate); 545 _object.setDisabled(disabled); 546 _object.setName(name); 547 _object.setQualifiedName(qualifiedName); 548 _object.setScope(scope); 549 _object.setVisibility(visibility); 550 _object.setExposedEnd(exposedEnd); 551 _object.setReferencedEnd(referencedEnd); 552 _object.setChangeable(isChangeable); 553 _object.setMultiplicity(multiplicity); 554 _object.setType(type); 555 return _object; 556 } 557 558 public Reference extendViewCapable( 562 org.openmdx.compatibility.view1.cci.ViewCapable _base 563 , short accessLevelBrowse 564 , short accessLevelDelete 565 , short accessLevelUpdate 566 , boolean disabled 567 , String name 568 , String qualifiedName 569 , short scope 570 , short visibility 571 , org.opencrx.kernel.model1.cci.AssociationEnd exposedEnd 572 , org.opencrx.kernel.model1.cci.AssociationEnd referencedEnd 573 , boolean isChangeable 574 , short multiplicity 575 , org.opencrx.kernel.model1.cci.Classifier type 576 ) { 577 ReferenceImpl _object = (ReferenceImpl)getReference(_base); 578 _object.setAccessLevelBrowse(accessLevelBrowse); 579 _object.setAccessLevelDelete(accessLevelDelete); 580 _object.setAccessLevelUpdate(accessLevelUpdate); 581 _object.setDisabled(disabled); 582 _object.setName(name); 583 _object.setQualifiedName(qualifiedName); 584 _object.setScope(scope); 585 _object.setVisibility(visibility); 586 _object.setExposedEnd(exposedEnd); 587 _object.setReferencedEnd(referencedEnd); 588 _object.setChangeable(isChangeable); 589 _object.setMultiplicity(multiplicity); 590 _object.setType(type); 591 return _object; 592 } 593 594 } 598 | Popular Tags |