1 package org.opencrx.kernel.depot1.cci; 14 15 public class PhoneNumberImpl 16 extends org.openmdx.base.accessor.jmi.spi.RefObject_1 17 implements PhoneNumber { 18 19 public PhoneNumberImpl( 20 org.openmdx.base.accessor.generic.cci.Object_1_0 object, 21 javax.jmi.reflect.RefClass refClass 22 ) { 23 super(object, refClass); 24 } 25 26 public boolean isAutomaticParsing( 30 ) { 31 return isAutomaticParsing(0); 32 } 33 34 protected boolean isAutomaticParsing( 35 int index 36 ) { 37 return ((Boolean )this.refGetValue("org:opencrx:kernel:address1:PhoneNumberAddressable:automaticParsing", index)).booleanValue(); 38 } 39 40 public void setAutomaticParsing( 44 boolean newValue 45 ) { 46 setAutomaticParsing(0, newValue); 47 } 48 49 protected void setAutomaticParsing( 50 int index, 51 boolean newValue 52 ) { 53 refSetValue("org:opencrx:kernel:address1:PhoneNumberAddressable:automaticParsing", index, new Boolean (newValue)); 54 } 55 public String getPhoneCityArea ( 59 ) { 60 return (String )this.refGetValue("phoneCityArea", 0); 61 } 62 public void setPhoneCityArea( 66 String newValue 67 ) { 68 refSetValue("org:opencrx:kernel:address1:PhoneNumberAddressable:phoneCityArea", 0, newValue); 69 } 70 71 public short getPhoneCountryPrefix( 75 ) { 76 return getPhoneCountryPrefix(0); 77 } 78 79 protected short getPhoneCountryPrefix( 80 int index 81 ) { 82 return ((java.lang.Number )this.refGetValue("org:opencrx:kernel:address1:PhoneNumberAddressable:phoneCountryPrefix", index)).shortValue(); 83 } 84 85 public void setPhoneCountryPrefix( 89 short newValue 90 ) { 91 setPhoneCountryPrefix(0, newValue); 92 } 93 94 protected void setPhoneCountryPrefix( 95 int index, 96 short newValue 97 ) { 98 refSetValue("org:opencrx:kernel:address1:PhoneNumberAddressable:phoneCountryPrefix", index, new Short (newValue)); 99 } 100 public String getPhoneExtension ( 104 ) { 105 return (String )this.refGetValue("phoneExtension", 0); 106 } 107 public void setPhoneExtension( 111 String newValue 112 ) { 113 refSetValue("org:opencrx:kernel:address1:PhoneNumberAddressable:phoneExtension", 0, newValue); 114 } 115 116 public String getPhoneLocalNumber ( 120 ) { 121 return (String )this.refGetValue("phoneLocalNumber", 0); 122 } 123 public void setPhoneLocalNumber( 127 String newValue 128 ) { 129 refSetValue("org:opencrx:kernel:address1:PhoneNumberAddressable:phoneLocalNumber", 0, newValue); 130 } 131 132 public String getPhoneNumberFull ( 136 ) { 137 return (String )this.refGetValue("phoneNumberFull", 0); 138 } 139 public void setPhoneNumberFull( 143 String newValue 144 ) { 145 refSetValue("org:opencrx:kernel:address1:PhoneNumberAddressable:phoneNumberFull", 0, newValue); 146 } 147 148 public short getAccessLevelBrowse( 152 ) { 153 return getAccessLevelBrowse(0); 154 } 155 156 protected short getAccessLevelBrowse( 157 int index 158 ) { 159 return ((java.lang.Number )this.refGetValue("org:opencrx:kernel:base:SecureObject:accessLevelBrowse", index)).shortValue(); 160 } 161 162 public void setAccessLevelBrowse( 166 short newValue 167 ) { 168 setAccessLevelBrowse(0, newValue); 169 } 170 171 protected void setAccessLevelBrowse( 172 int index, 173 short newValue 174 ) { 175 refSetValue("org:opencrx:kernel:base:SecureObject:accessLevelBrowse", index, new Short (newValue)); 176 } 177 public short getAccessLevelDelete( 181 ) { 182 return getAccessLevelDelete(0); 183 } 184 185 protected short getAccessLevelDelete( 186 int index 187 ) { 188 return ((java.lang.Number )this.refGetValue("org:opencrx:kernel:base:SecureObject:accessLevelDelete", index)).shortValue(); 189 } 190 191 public void setAccessLevelDelete( 195 short newValue 196 ) { 197 setAccessLevelDelete(0, newValue); 198 } 199 200 protected void setAccessLevelDelete( 201 int index, 202 short newValue 203 ) { 204 refSetValue("org:opencrx:kernel:base:SecureObject:accessLevelDelete", index, new Short (newValue)); 205 } 206 public short getAccessLevelUpdate( 210 ) { 211 return getAccessLevelUpdate(0); 212 } 213 214 protected short getAccessLevelUpdate( 215 int index 216 ) { 217 return ((java.lang.Number )this.refGetValue("org:opencrx:kernel:base:SecureObject:accessLevelUpdate", index)).shortValue(); 218 } 219 220 public void setAccessLevelUpdate( 224 short newValue 225 ) { 226 setAccessLevelUpdate(0, newValue); 227 } 228 229 protected void setAccessLevelUpdate( 230 int index, 231 short newValue 232 ) { 233 refSetValue("org:opencrx:kernel:base:SecureObject:accessLevelUpdate", index, new Short (newValue)); 234 } 235 public org.opencrx.kernel.base.cci.ModifySecureObjectResult addOwningGroup( 239 org.opencrx.kernel.base.cci.ModifyOwningGroupParams params 240 ) throws javax.jmi.reflect.RefException { 241 java.util.List args = new java.util.ArrayList (); 242 args.add(params); 243 return (org.opencrx.kernel.base.cci.ModifySecureObjectResult)refInvokeOperation( 244 "org:opencrx:kernel:base:SecureObject:addOwningGroup", 245 args 246 ); 247 } 248 249 public org.opencrx.kernel.base.cci.ModifySecureObjectResult addOwningGroup( 250 org.opencrx.security.realm1.cci.PrincipalGroup group 251 , short mode 252 ) throws javax.jmi.reflect.RefException { 253 return addOwningGroup( 254 ((org.opencrx.kernel.base.cci.basePackage)refOutermostPackage().refPackage("org:opencrx:kernel:base")).createModifyOwningGroupParams( 255 group 256 , mode 257 ) 258 ); 259 } 260 261 public java.util.List getOwner ( 265 ) { 266 return (java.util.List )this.refGetValue("owner"); 267 } 268 public String getOwner( 269 int index 270 ) { 271 return (String )this.refGetValue("org:opencrx:kernel:base:SecureObject:owner", index); 272 } 273 274 protected void setOwner( 278 java.util.List newValue 279 ) { 280 refSetValue("org:opencrx:kernel:base:SecureObject:owner", newValue); 281 } 282 283 protected void setOwner( 284 String [] newValue 285 ) { 286 refSetValue("org:opencrx:kernel:base:SecureObject:owner", newValue); 287 } 288 289 public void setOwningGroup( 293 java.util.List newValue 294 ) { 295 refSetValue("org:opencrx:kernel:base:SecureObject:owningGroup", newValue); 296 } 297 298 public void setOwningGroup( 299 org.opencrx.security.realm1.cci.PrincipalGroup[] newValue 300 ) { 301 refSetValue("org:opencrx:kernel:base:SecureObject:owningGroup", newValue); 302 } 303 304 public org.opencrx.security.realm1.cci.PrincipalGroup getOwningGroup( 308 int index 309 ) { 310 return (org.opencrx.security.realm1.cci.PrincipalGroup)refGetValue( 311 "org:opencrx:kernel:base:SecureObject:owningGroup", 312 new Integer (index) 313 ); 314 } 315 316 public java.util.Collection getOwningGroup( 320 ) { 321 return (java.util.Collection )refGetValue( 322 "org:opencrx:kernel:base:SecureObject:owningGroup" 323 ); 324 } 325 326 public void addOwningGroup ( 330 int index, 331 org.opencrx.security.realm1.cci.PrincipalGroup newValue 332 ) { 333 refAddValue( 334 "org:opencrx:kernel:base:SecureObject:owningGroup", 335 new Integer (index), 336 newValue 337 ); 338 } 339 340 public void addOwningGroup ( 344 org.opencrx.security.realm1.cci.PrincipalGroup newValue 345 ) { 346 refAddValue( 347 "org:opencrx:kernel:base:SecureObject:owningGroup", 348 newValue 349 ); 350 } 351 352 public void removeOwningGroup ( 356 int index 357 ) { 358 refRemoveValue( 359 "org:opencrx:kernel:base:SecureObject:owningGroup", 360 new Integer (index) 361 ); 362 } 363 364 public org.opencrx.security.realm1.cci.User getOwningUser( 368 ) { 369 return (org.opencrx.security.realm1.cci.User)refGetValue( 370 "org:opencrx:kernel:base:SecureObject:owningUser" 371 ); 372 } 373 374 public void setOwningUser( 378 org.opencrx.security.realm1.cci.User newValue 379 ) { 380 refSetValue( 381 "org:opencrx:kernel:base:SecureObject:owningUser", 382 newValue 383 ); 384 } 385 386 public void removeOwningUser ( 390 ) { 391 refRemoveValue( 392 "org:opencrx:kernel:base:SecureObject:owningUser" 393 ); 394 } 395 public org.opencrx.kernel.base.cci.ModifySecureObjectResult removeAllOwningGroup( 399 org.opencrx.kernel.base.cci.RemoveAllOwningGroupParams params 400 ) throws javax.jmi.reflect.RefException { 401 java.util.List args = new java.util.ArrayList (); 402 args.add(params); 403 return (org.opencrx.kernel.base.cci.ModifySecureObjectResult)refInvokeOperation( 404 "org:opencrx:kernel:base:SecureObject:removeAllOwningGroup", 405 args 406 ); 407 } 408 409 public org.opencrx.kernel.base.cci.ModifySecureObjectResult removeAllOwningGroup( 410 short mode 411 ) throws javax.jmi.reflect.RefException { 412 return removeAllOwningGroup( 413 ((org.opencrx.kernel.base.cci.basePackage)refOutermostPackage().refPackage("org:opencrx:kernel:base")).createRemoveAllOwningGroupParams( 414 mode 415 ) 416 ); 417 } 418 419 public org.opencrx.kernel.base.cci.ModifySecureObjectResult removeOwningGroup( 423 org.opencrx.kernel.base.cci.ModifyOwningGroupParams params 424 ) throws javax.jmi.reflect.RefException { 425 java.util.List args = new java.util.ArrayList (); 426 args.add(params); 427 return (org.opencrx.kernel.base.cci.ModifySecureObjectResult)refInvokeOperation( 428 "org:opencrx:kernel:base:SecureObject:removeOwningGroup", 429 args 430 ); 431 } 432 433 public org.opencrx.kernel.base.cci.ModifySecureObjectResult removeOwningGroup( 434 org.opencrx.security.realm1.cci.PrincipalGroup group 435 , short mode 436 ) throws javax.jmi.reflect.RefException { 437 return removeOwningGroup( 438 ((org.opencrx.kernel.base.cci.basePackage)refOutermostPackage().refPackage("org:opencrx:kernel:base")).createModifyOwningGroupParams( 439 group 440 , mode 441 ) 442 ); 443 } 444 445 public org.opencrx.kernel.base.cci.ModifySecureObjectResult setAccessLevel( 449 org.opencrx.kernel.base.cci.SetAccessLevelParams params 450 ) throws javax.jmi.reflect.RefException { 451 java.util.List args = new java.util.ArrayList (); 452 args.add(params); 453 return (org.opencrx.kernel.base.cci.ModifySecureObjectResult)refInvokeOperation( 454 "org:opencrx:kernel:base:SecureObject:setAccessLevel", 455 args 456 ); 457 } 458 459 public org.opencrx.kernel.base.cci.ModifySecureObjectResult setAccessLevel( 460 short accessLevelBrowse 461 , short accessLevelDelete 462 , short accessLevelUpdate 463 , short mode 464 ) throws javax.jmi.reflect.RefException { 465 return setAccessLevel( 466 ((org.opencrx.kernel.base.cci.basePackage)refOutermostPackage().refPackage("org:opencrx:kernel:base")).createSetAccessLevelParams( 467 accessLevelBrowse 468 , accessLevelDelete 469 , accessLevelUpdate 470 , mode 471 ) 472 ); 473 } 474 475 public org.opencrx.kernel.base.cci.ModifySecureObjectResult setOwningUser( 479 org.opencrx.kernel.base.cci.SetOwningUserParams params 480 ) throws javax.jmi.reflect.RefException { 481 java.util.List args = new java.util.ArrayList (); 482 args.add(params); 483 return (org.opencrx.kernel.base.cci.ModifySecureObjectResult)refInvokeOperation( 484 "org:opencrx:kernel:base:SecureObject:setOwningUser", 485 args 486 ); 487 } 488 489 public org.opencrx.kernel.base.cci.ModifySecureObjectResult setOwningUser( 490 short mode 491 , org.opencrx.security.realm1.cci.User user 492 ) throws javax.jmi.reflect.RefException { 493 return setOwningUser( 494 ((org.opencrx.kernel.base.cci.basePackage)refOutermostPackage().refPackage("org:opencrx:kernel:base")).createSetOwningUserParams( 495 mode 496 , user 497 ) 498 ); 499 } 500 501 public java.util.Date getCreatedAt( 505 ) { 506 return getCreatedAt(0); 507 } 508 509 protected java.util.Date getCreatedAt( 510 int index 511 ) { 512 return (java.util.Date )this.refGetValue("org:openmdx:base:BasicObject:createdAt", index); 513 } 514 515 protected void setCreatedAt( 519 java.util.Date newValue 520 ) { 521 setCreatedAt(0, newValue); 522 } 523 524 protected void setCreatedAt( 525 int index, 526 java.util.Date newValue 527 ) { 528 refSetValue("org:openmdx:base:BasicObject:createdAt", index, newValue); 529 } 530 public java.util.Set getCreatedBy ( 534 ) { 535 return (java.util.Set )this.refGetValue("createdBy"); 536 } 537 protected void setCreatedBy( 541 java.util.Set newValue 542 ) { 543 refSetValue("org:openmdx:base:BasicObject:createdBy", newValue); 544 } 545 546 protected void setCreatedBy( 547 String [] newValue 548 ) { 549 refSetValue("org:openmdx:base:BasicObject:createdBy", newValue); 550 } 551 552 public java.util.Date getModifiedAt( 556 ) { 557 return getModifiedAt(0); 558 } 559 560 protected java.util.Date getModifiedAt( 561 int index 562 ) { 563 return (java.util.Date )this.refGetValue("org:openmdx:base:BasicObject:modifiedAt", index); 564 } 565 566 protected void setModifiedAt( 570 java.util.Date newValue 571 ) { 572 setModifiedAt(0, newValue); 573 } 574 575 protected void setModifiedAt( 576 int index, 577 java.util.Date newValue 578 ) { 579 refSetValue("org:openmdx:base:BasicObject:modifiedAt", index, newValue); 580 } 581 public java.util.Set getModifiedBy ( 585 ) { 586 return (java.util.Set )this.refGetValue("modifiedBy"); 587 } 588 protected void setModifiedBy( 592 java.util.Set newValue 593 ) { 594 refSetValue("org:openmdx:base:BasicObject:modifiedBy", newValue); 595 } 596 597 protected void setModifiedBy( 598 String [] newValue 599 ) { 600 refSetValue("org:openmdx:base:BasicObject:modifiedBy", newValue); 601 } 602 603 protected void setContext( 607 java.util.List newValue 608 ) { 609 refSetValue("org:openmdx:base:ContextCapable:context", newValue); 610 } 611 612 protected void setContext( 613 org.openmdx.base.cci.Context[] newValue 614 ) { 615 refSetValue("org:openmdx:base:ContextCapable:context", newValue); 616 } 617 618 public org.openmdx.base.cci.Context getContext( 622 String id 623 ) { 624 return (org.openmdx.base.cci.Context)refGetValue( 625 "org:openmdx:base:ContextCapable:context", 626 id 627 ); 628 } 629 630 public java.util.Collection getContext( 634 ) { 635 return (java.util.Collection )refGetValue( 636 "org:openmdx:base:ContextCapable:context" 637 ); 638 } 639 640 protected void addContext ( 644 String id, 645 org.openmdx.base.cci.Context newValue 646 ) { 647 refAddValue( 648 "org:openmdx:base:ContextCapable:context", 649 id, 650 newValue 651 ); 652 } 653 654 protected void addContext ( 658 org.openmdx.base.cci.Context newValue 659 ) { 660 refAddValue( 661 "org:openmdx:base:ContextCapable:context", 662 newValue 663 ); 664 } 665 666 protected void removeContext ( 670 String id 671 ) { 672 refRemoveValue( 673 "org:openmdx:base:ContextCapable:context", 674 id 675 ); 676 } 677 678 public String getIdentity( 682 ) { 683 return getIdentity(0); 684 } 685 686 protected String getIdentity( 687 int index 688 ) { 689 return (String )this.refGetValue("org:openmdx:base:ExtentCapable:identity", index); 690 } 691 692 protected void setIdentity( 696 String newValue 697 ) { 698 setIdentity(0, newValue); 699 } 700 701 protected void setIdentity( 702 int index, 703 String newValue 704 ) { 705 refSetValue("org:openmdx:base:ExtentCapable:identity", index, newValue); 706 } 707 protected void setView( 711 java.util.List newValue 712 ) { 713 refSetValue("org:openmdx:compatibility:view1:ViewCapable:view", newValue); 714 } 715 716 protected void setView( 717 org.openmdx.compatibility.view1.cci.View[] newValue 718 ) { 719 refSetValue("org:openmdx:compatibility:view1:ViewCapable:view", newValue); 720 } 721 722 public org.openmdx.compatibility.view1.cci.View getView( 726 String namespace 727 ) { 728 return (org.openmdx.compatibility.view1.cci.View)refGetValue( 729 "org:openmdx:compatibility:view1:ViewCapable:view", 730 namespace 731 ); 732 } 733 734 public java.util.Collection getView( 738 ) { 739 return (java.util.Collection )refGetValue( 740 "org:openmdx:compatibility:view1:ViewCapable:view" 741 ); 742 } 743 744 public java.util.List getView( 745 org.openmdx.compatibility.view1.cci.ViewFilter filter 746 ) { 747 return ((org.openmdx.compatibility.base.collection.Container)refGetValue( 748 "org:openmdx:compatibility:view1:ViewCapable:view" 749 )).toList(filter); 750 } 751 752 protected void addView ( 756 String namespace, 757 org.openmdx.compatibility.view1.cci.View newValue 758 ) { 759 refAddValue( 760 "org:openmdx:compatibility:view1:ViewCapable:view", 761 namespace, 762 newValue 763 ); 764 } 765 766 protected void addView ( 770 org.openmdx.compatibility.view1.cci.View newValue 771 ) { 772 refAddValue( 773 "org:openmdx:compatibility:view1:ViewCapable:view", 774 newValue 775 ); 776 } 777 778 protected void removeView ( 782 String namespace 783 ) { 784 refRemoveValue( 785 "org:openmdx:compatibility:view1:ViewCapable:view", 786 namespace 787 ); 788 } 789 790 } 794 | Popular Tags |