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