1 package org.opencrx.kernel.account1.cci; 14 15 public class ContactClassImpl 16 extends org.openmdx.base.accessor.jmi.spi.RefClass_1 17 implements ContactClass { 18 19 public ContactClassImpl( 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:account1:Contact"; 28 } 29 30 public Contact getContact( 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 Contact target = (Contact)refCreateInstance( 38 args 39 ); 40 return target; 41 } else { 42 return (Contact)((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 Contact createContact( 55 ) { 56 Contact target = (Contact)refCreateInstance( 57 null 58 ); 59 return target; 60 } 61 public Contact createContact( 65 short accountRating 66 , short accountState 67 , short accountType 68 , short education 69 , short familyStatus 70 , short gender 71 , short preferredContactMethod 72 , short preferredSpokenLanguage 73 , short preferredWrittenLanguage 74 , short salutationCode 75 , short accessLevelBrowse 76 , short accessLevelDelete 77 , short accessLevelUpdate 78 , boolean disabled 79 ) { 80 ContactImpl _object = (ContactImpl)createContact(); 81 _object.setAccountRating(accountRating); 82 _object.setAccountState(accountState); 83 _object.setAccountType(accountType); 84 _object.setEducation(education); 85 _object.setFamilyStatus(familyStatus); 86 _object.setGender(gender); 87 _object.setPreferredContactMethod(preferredContactMethod); 88 _object.setPreferredSpokenLanguage(preferredSpokenLanguage); 89 _object.setPreferredWrittenLanguage(preferredWrittenLanguage); 90 _object.setSalutationCode(salutationCode); 91 _object.setAccessLevelBrowse(accessLevelBrowse); 92 _object.setAccessLevelDelete(accessLevelDelete); 93 _object.setAccessLevelUpdate(accessLevelUpdate); 94 _object.setDisabled(disabled); 95 return _object; 96 } 97 98 public Contact extendAbstractAccount( 102 org.opencrx.kernel.account1.cci.AbstractAccount _base 103 , short education 104 , short familyStatus 105 , short gender 106 , short preferredContactMethod 107 , short preferredSpokenLanguage 108 , short preferredWrittenLanguage 109 , short salutationCode 110 , short accessLevelBrowse 111 , short accessLevelDelete 112 , short accessLevelUpdate 113 , boolean disabled 114 ) { 115 ContactImpl _object = (ContactImpl)getContact(_base); 116 _object.setEducation(education); 117 _object.setFamilyStatus(familyStatus); 118 _object.setGender(gender); 119 _object.setPreferredContactMethod(preferredContactMethod); 120 _object.setPreferredSpokenLanguage(preferredSpokenLanguage); 121 _object.setPreferredWrittenLanguage(preferredWrittenLanguage); 122 _object.setSalutationCode(salutationCode); 123 _object.setAccessLevelBrowse(accessLevelBrowse); 124 _object.setAccessLevelDelete(accessLevelDelete); 125 _object.setAccessLevelUpdate(accessLevelUpdate); 126 _object.setDisabled(disabled); 127 return _object; 128 } 129 130 public Contact extendAccount( 134 org.opencrx.kernel.account1.cci.Account _base 135 , short education 136 , short familyStatus 137 , short gender 138 , short preferredContactMethod 139 , short preferredSpokenLanguage 140 , short preferredWrittenLanguage 141 , short salutationCode 142 ) { 143 ContactImpl _object = (ContactImpl)getContact(_base); 144 _object.setEducation(education); 145 _object.setFamilyStatus(familyStatus); 146 _object.setGender(gender); 147 _object.setPreferredContactMethod(preferredContactMethod); 148 _object.setPreferredSpokenLanguage(preferredSpokenLanguage); 149 _object.setPreferredWrittenLanguage(preferredWrittenLanguage); 150 _object.setSalutationCode(salutationCode); 151 return _object; 152 } 153 154 public Contact extendAuditee( 158 org.opencrx.kernel.base.cci.Auditee _base 159 , short accountRating 160 , short accountState 161 , short accountType 162 , short education 163 , short familyStatus 164 , short gender 165 , short preferredContactMethod 166 , short preferredSpokenLanguage 167 , short preferredWrittenLanguage 168 , short salutationCode 169 , short accessLevelBrowse 170 , short accessLevelDelete 171 , short accessLevelUpdate 172 , boolean disabled 173 ) { 174 ContactImpl _object = (ContactImpl)getContact(_base); 175 _object.setAccountRating(accountRating); 176 _object.setAccountState(accountState); 177 _object.setAccountType(accountType); 178 _object.setEducation(education); 179 _object.setFamilyStatus(familyStatus); 180 _object.setGender(gender); 181 _object.setPreferredContactMethod(preferredContactMethod); 182 _object.setPreferredSpokenLanguage(preferredSpokenLanguage); 183 _object.setPreferredWrittenLanguage(preferredWrittenLanguage); 184 _object.setSalutationCode(salutationCode); 185 _object.setAccessLevelBrowse(accessLevelBrowse); 186 _object.setAccessLevelDelete(accessLevelDelete); 187 _object.setAccessLevelUpdate(accessLevelUpdate); 188 _object.setDisabled(disabled); 189 return _object; 190 } 191 192 public Contact extendBookmarkable( 196 org.opencrx.kernel.base.cci.Bookmarkable _base 197 , short accountRating 198 , short accountState 199 , short accountType 200 , short education 201 , short familyStatus 202 , short gender 203 , short preferredContactMethod 204 , short preferredSpokenLanguage 205 , short preferredWrittenLanguage 206 , short salutationCode 207 , short accessLevelBrowse 208 , short accessLevelDelete 209 , short accessLevelUpdate 210 , boolean disabled 211 ) { 212 ContactImpl _object = (ContactImpl)getContact(_base); 213 _object.setAccountRating(accountRating); 214 _object.setAccountState(accountState); 215 _object.setAccountType(accountType); 216 _object.setEducation(education); 217 _object.setFamilyStatus(familyStatus); 218 _object.setGender(gender); 219 _object.setPreferredContactMethod(preferredContactMethod); 220 _object.setPreferredSpokenLanguage(preferredSpokenLanguage); 221 _object.setPreferredWrittenLanguage(preferredWrittenLanguage); 222 _object.setSalutationCode(salutationCode); 223 _object.setAccessLevelBrowse(accessLevelBrowse); 224 _object.setAccessLevelDelete(accessLevelDelete); 225 _object.setAccessLevelUpdate(accessLevelUpdate); 226 _object.setDisabled(disabled); 227 return _object; 228 } 229 230 public Contact extendCloneable( 234 org.opencrx.kernel.base.cci.Cloneable _base 235 , short accountRating 236 , short accountState 237 , short accountType 238 , short education 239 , short familyStatus 240 , short gender 241 , short preferredContactMethod 242 , short preferredSpokenLanguage 243 , short preferredWrittenLanguage 244 , short salutationCode 245 , short accessLevelBrowse 246 , short accessLevelDelete 247 , short accessLevelUpdate 248 , boolean disabled 249 ) { 250 ContactImpl _object = (ContactImpl)getContact(_base); 251 _object.setAccountRating(accountRating); 252 _object.setAccountState(accountState); 253 _object.setAccountType(accountType); 254 _object.setEducation(education); 255 _object.setFamilyStatus(familyStatus); 256 _object.setGender(gender); 257 _object.setPreferredContactMethod(preferredContactMethod); 258 _object.setPreferredSpokenLanguage(preferredSpokenLanguage); 259 _object.setPreferredWrittenLanguage(preferredWrittenLanguage); 260 _object.setSalutationCode(salutationCode); 261 _object.setAccessLevelBrowse(accessLevelBrowse); 262 _object.setAccessLevelDelete(accessLevelDelete); 263 _object.setAccessLevelUpdate(accessLevelUpdate); 264 _object.setDisabled(disabled); 265 return _object; 266 } 267 268 public Contact extendImporter( 272 org.opencrx.kernel.base.cci.Importer _base 273 , short accountRating 274 , short accountState 275 , short accountType 276 , short education 277 , short familyStatus 278 , short gender 279 , short preferredContactMethod 280 , short preferredSpokenLanguage 281 , short preferredWrittenLanguage 282 , short salutationCode 283 , short accessLevelBrowse 284 , short accessLevelDelete 285 , short accessLevelUpdate 286 , boolean disabled 287 ) { 288 ContactImpl _object = (ContactImpl)getContact(_base); 289 _object.setAccountRating(accountRating); 290 _object.setAccountState(accountState); 291 _object.setAccountType(accountType); 292 _object.setEducation(education); 293 _object.setFamilyStatus(familyStatus); 294 _object.setGender(gender); 295 _object.setPreferredContactMethod(preferredContactMethod); 296 _object.setPreferredSpokenLanguage(preferredSpokenLanguage); 297 _object.setPreferredWrittenLanguage(preferredWrittenLanguage); 298 _object.setSalutationCode(salutationCode); 299 _object.setAccessLevelBrowse(accessLevelBrowse); 300 _object.setAccessLevelDelete(accessLevelDelete); 301 _object.setAccessLevelUpdate(accessLevelUpdate); 302 _object.setDisabled(disabled); 303 return _object; 304 } 305 306 public Contact extendSecureObject( 310 org.opencrx.kernel.base.cci.SecureObject _base 311 , short accountRating 312 , short accountState 313 , short accountType 314 , short education 315 , short familyStatus 316 , short gender 317 , short preferredContactMethod 318 , short preferredSpokenLanguage 319 , short preferredWrittenLanguage 320 , short salutationCode 321 , boolean disabled 322 ) { 323 ContactImpl _object = (ContactImpl)getContact(_base); 324 _object.setAccountRating(accountRating); 325 _object.setAccountState(accountState); 326 _object.setAccountType(accountType); 327 _object.setEducation(education); 328 _object.setFamilyStatus(familyStatus); 329 _object.setGender(gender); 330 _object.setPreferredContactMethod(preferredContactMethod); 331 _object.setPreferredSpokenLanguage(preferredSpokenLanguage); 332 _object.setPreferredWrittenLanguage(preferredWrittenLanguage); 333 _object.setSalutationCode(salutationCode); 334 _object.setDisabled(disabled); 335 return _object; 336 } 337 338 public Contact extendSubscriptionTarget( 342 org.opencrx.kernel.base.cci.SubscriptionTarget _base 343 , short accountRating 344 , short accountState 345 , short accountType 346 , short education 347 , short familyStatus 348 , short gender 349 , short preferredContactMethod 350 , short preferredSpokenLanguage 351 , short preferredWrittenLanguage 352 , short salutationCode 353 , short accessLevelBrowse 354 , short accessLevelDelete 355 , short accessLevelUpdate 356 , boolean disabled 357 ) { 358 ContactImpl _object = (ContactImpl)getContact(_base); 359 _object.setAccountRating(accountRating); 360 _object.setAccountState(accountState); 361 _object.setAccountType(accountType); 362 _object.setEducation(education); 363 _object.setFamilyStatus(familyStatus); 364 _object.setGender(gender); 365 _object.setPreferredContactMethod(preferredContactMethod); 366 _object.setPreferredSpokenLanguage(preferredSpokenLanguage); 367 _object.setPreferredWrittenLanguage(preferredWrittenLanguage); 368 _object.setSalutationCode(salutationCode); 369 _object.setAccessLevelBrowse(accessLevelBrowse); 370 _object.setAccessLevelDelete(accessLevelDelete); 371 _object.setAccessLevelUpdate(accessLevelUpdate); 372 _object.setDisabled(disabled); 373 return _object; 374 } 375 376 public Contact extendXmlExporter( 380 org.opencrx.kernel.base.cci.XmlExporter _base 381 , short accountRating 382 , short accountState 383 , short accountType 384 , short education 385 , short familyStatus 386 , short gender 387 , short preferredContactMethod 388 , short preferredSpokenLanguage 389 , short preferredWrittenLanguage 390 , short salutationCode 391 , short accessLevelBrowse 392 , short accessLevelDelete 393 , short accessLevelUpdate 394 , boolean disabled 395 ) { 396 ContactImpl _object = (ContactImpl)getContact(_base); 397 _object.setAccountRating(accountRating); 398 _object.setAccountState(accountState); 399 _object.setAccountType(accountType); 400 _object.setEducation(education); 401 _object.setFamilyStatus(familyStatus); 402 _object.setGender(gender); 403 _object.setPreferredContactMethod(preferredContactMethod); 404 _object.setPreferredSpokenLanguage(preferredSpokenLanguage); 405 _object.setPreferredWrittenLanguage(preferredWrittenLanguage); 406 _object.setSalutationCode(salutationCode); 407 _object.setAccessLevelBrowse(accessLevelBrowse); 408 _object.setAccessLevelDelete(accessLevelDelete); 409 _object.setAccessLevelUpdate(accessLevelUpdate); 410 _object.setDisabled(disabled); 411 return _object; 412 } 413 414 public Contact extendCrxObject( 418 org.opencrx.kernel.generic.cci.CrxObject _base 419 , short accountRating 420 , short accountState 421 , short accountType 422 , short education 423 , short familyStatus 424 , short gender 425 , short preferredContactMethod 426 , short preferredSpokenLanguage 427 , short preferredWrittenLanguage 428 , short salutationCode 429 ) { 430 ContactImpl _object = (ContactImpl)getContact(_base); 431 _object.setAccountRating(accountRating); 432 _object.setAccountState(accountState); 433 _object.setAccountType(accountType); 434 _object.setEducation(education); 435 _object.setFamilyStatus(familyStatus); 436 _object.setGender(gender); 437 _object.setPreferredContactMethod(preferredContactMethod); 438 _object.setPreferredSpokenLanguage(preferredSpokenLanguage); 439 _object.setPreferredWrittenLanguage(preferredWrittenLanguage); 440 _object.setSalutationCode(salutationCode); 441 return _object; 442 } 443 444 public Contact extendGenericAccount( 448 org.opencrx.kernel.generic.cci.GenericAccount _base 449 , short accountRating 450 , short accountState 451 , short accountType 452 , short education 453 , short familyStatus 454 , short gender 455 , short preferredContactMethod 456 , short preferredSpokenLanguage 457 , short preferredWrittenLanguage 458 , short salutationCode 459 , short accessLevelBrowse 460 , short accessLevelDelete 461 , short accessLevelUpdate 462 , boolean disabled 463 ) { 464 ContactImpl _object = (ContactImpl)getContact(_base); 465 _object.setAccountRating(accountRating); 466 _object.setAccountState(accountState); 467 _object.setAccountType(accountType); 468 _object.setEducation(education); 469 _object.setFamilyStatus(familyStatus); 470 _object.setGender(gender); 471 _object.setPreferredContactMethod(preferredContactMethod); 472 _object.setPreferredSpokenLanguage(preferredSpokenLanguage); 473 _object.setPreferredWrittenLanguage(preferredWrittenLanguage); 474 _object.setSalutationCode(salutationCode); 475 _object.setAccessLevelBrowse(accessLevelBrowse); 476 _object.setAccessLevelDelete(accessLevelDelete); 477 _object.setAccessLevelUpdate(accessLevelUpdate); 478 _object.setDisabled(disabled); 479 return _object; 480 } 481 482 public Contact extendPictured( 486 org.opencrx.kernel.generic.cci.Pictured _base 487 , short accountRating 488 , short accountState 489 , short accountType 490 , short education 491 , short familyStatus 492 , short gender 493 , short preferredContactMethod 494 , short preferredSpokenLanguage 495 , short preferredWrittenLanguage 496 , short salutationCode 497 , short accessLevelBrowse 498 , short accessLevelDelete 499 , short accessLevelUpdate 500 , boolean disabled 501 ) { 502 ContactImpl _object = (ContactImpl)getContact(_base); 503 _object.setAccountRating(accountRating); 504 _object.setAccountState(accountState); 505 _object.setAccountType(accountType); 506 _object.setEducation(education); 507 _object.setFamilyStatus(familyStatus); 508 _object.setGender(gender); 509 _object.setPreferredContactMethod(preferredContactMethod); 510 _object.setPreferredSpokenLanguage(preferredSpokenLanguage); 511 _object.setPreferredWrittenLanguage(preferredWrittenLanguage); 512 _object.setSalutationCode(salutationCode); 513 _object.setAccessLevelBrowse(accessLevelBrowse); 514 _object.setAccessLevelDelete(accessLevelDelete); 515 _object.setAccessLevelUpdate(accessLevelUpdate); 516 _object.setDisabled(disabled); 517 return _object; 518 } 519 520 public Contact extendBasicObject( 524 org.openmdx.base.cci.BasicObject _base 525 , short accountRating 526 , short accountState 527 , short accountType 528 , short education 529 , short familyStatus 530 , short gender 531 , short preferredContactMethod 532 , short preferredSpokenLanguage 533 , short preferredWrittenLanguage 534 , short salutationCode 535 , short accessLevelBrowse 536 , short accessLevelDelete 537 , short accessLevelUpdate 538 , boolean disabled 539 ) { 540 ContactImpl _object = (ContactImpl)getContact(_base); 541 _object.setAccountRating(accountRating); 542 _object.setAccountState(accountState); 543 _object.setAccountType(accountType); 544 _object.setEducation(education); 545 _object.setFamilyStatus(familyStatus); 546 _object.setGender(gender); 547 _object.setPreferredContactMethod(preferredContactMethod); 548 _object.setPreferredSpokenLanguage(preferredSpokenLanguage); 549 _object.setPreferredWrittenLanguage(preferredWrittenLanguage); 550 _object.setSalutationCode(salutationCode); 551 _object.setAccessLevelBrowse(accessLevelBrowse); 552 _object.setAccessLevelDelete(accessLevelDelete); 553 _object.setAccessLevelUpdate(accessLevelUpdate); 554 _object.setDisabled(disabled); 555 return _object; 556 } 557 558 public Contact extendContextCapable( 562 org.openmdx.base.cci.ContextCapable _base 563 , short accountRating 564 , short accountState 565 , short accountType 566 , short education 567 , short familyStatus 568 , short gender 569 , short preferredContactMethod 570 , short preferredSpokenLanguage 571 , short preferredWrittenLanguage 572 , short salutationCode 573 , short accessLevelBrowse 574 , short accessLevelDelete 575 , short accessLevelUpdate 576 , boolean disabled 577 ) { 578 ContactImpl _object = (ContactImpl)getContact(_base); 579 _object.setAccountRating(accountRating); 580 _object.setAccountState(accountState); 581 _object.setAccountType(accountType); 582 _object.setEducation(education); 583 _object.setFamilyStatus(familyStatus); 584 _object.setGender(gender); 585 _object.setPreferredContactMethod(preferredContactMethod); 586 _object.setPreferredSpokenLanguage(preferredSpokenLanguage); 587 _object.setPreferredWrittenLanguage(preferredWrittenLanguage); 588 _object.setSalutationCode(salutationCode); 589 _object.setAccessLevelBrowse(accessLevelBrowse); 590 _object.setAccessLevelDelete(accessLevelDelete); 591 _object.setAccessLevelUpdate(accessLevelUpdate); 592 _object.setDisabled(disabled); 593 return _object; 594 } 595 596 public Contact extendExtentCapable( 600 org.openmdx.base.cci.ExtentCapable _base 601 , short accountRating 602 , short accountState 603 , short accountType 604 , short education 605 , short familyStatus 606 , short gender 607 , short preferredContactMethod 608 , short preferredSpokenLanguage 609 , short preferredWrittenLanguage 610 , short salutationCode 611 , short accessLevelBrowse 612 , short accessLevelDelete 613 , short accessLevelUpdate 614 , boolean disabled 615 ) { 616 ContactImpl _object = (ContactImpl)getContact(_base); 617 _object.setAccountRating(accountRating); 618 _object.setAccountState(accountState); 619 _object.setAccountType(accountType); 620 _object.setEducation(education); 621 _object.setFamilyStatus(familyStatus); 622 _object.setGender(gender); 623 _object.setPreferredContactMethod(preferredContactMethod); 624 _object.setPreferredSpokenLanguage(preferredSpokenLanguage); 625 _object.setPreferredWrittenLanguage(preferredWrittenLanguage); 626 _object.setSalutationCode(salutationCode); 627 _object.setAccessLevelBrowse(accessLevelBrowse); 628 _object.setAccessLevelDelete(accessLevelDelete); 629 _object.setAccessLevelUpdate(accessLevelUpdate); 630 _object.setDisabled(disabled); 631 return _object; 632 } 633 634 public Contact extendViewCapable( 638 org.openmdx.compatibility.view1.cci.ViewCapable _base 639 , short accountRating 640 , short accountState 641 , short accountType 642 , short education 643 , short familyStatus 644 , short gender 645 , short preferredContactMethod 646 , short preferredSpokenLanguage 647 , short preferredWrittenLanguage 648 , short salutationCode 649 , short accessLevelBrowse 650 , short accessLevelDelete 651 , short accessLevelUpdate 652 , boolean disabled 653 ) { 654 ContactImpl _object = (ContactImpl)getContact(_base); 655 _object.setAccountRating(accountRating); 656 _object.setAccountState(accountState); 657 _object.setAccountType(accountType); 658 _object.setEducation(education); 659 _object.setFamilyStatus(familyStatus); 660 _object.setGender(gender); 661 _object.setPreferredContactMethod(preferredContactMethod); 662 _object.setPreferredSpokenLanguage(preferredSpokenLanguage); 663 _object.setPreferredWrittenLanguage(preferredWrittenLanguage); 664 _object.setSalutationCode(salutationCode); 665 _object.setAccessLevelBrowse(accessLevelBrowse); 666 _object.setAccessLevelDelete(accessLevelDelete); 667 _object.setAccessLevelUpdate(accessLevelUpdate); 668 _object.setDisabled(disabled); 669 return _object; 670 } 671 672 } 676 | Popular Tags |