1 package org.opencrx.kernel.depot1.cci; 14 15 public class PostalAddressImpl 16 extends org.openmdx.base.accessor.jmi.spi.RefObject_1 17 implements PostalAddress { 18 19 public PostalAddressImpl( 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 java.util.List getPostalAddressLine ( 30 ) { 31 return (java.util.List )this.refGetValue("postalAddressLine"); 32 } 33 public String getPostalAddressLine( 34 int index 35 ) { 36 return (String )this.refGetValue("org:opencrx:kernel:address1:PostalAddressable:postalAddressLine", index); 37 } 38 39 public void setPostalAddressLine( 43 java.util.List newValue 44 ) { 45 refSetValue("org:opencrx:kernel:address1:PostalAddressable:postalAddressLine", newValue); 46 } 47 48 public void setPostalAddressLine( 49 String [] newValue 50 ) { 51 refSetValue("org:opencrx:kernel:address1:PostalAddressable:postalAddressLine", newValue); 52 } 53 54 public String getPostalCity ( 58 ) { 59 return (String )this.refGetValue("postalCity", 0); 60 } 61 public void setPostalCity( 65 String newValue 66 ) { 67 refSetValue("org:opencrx:kernel:address1:PostalAddressable:postalCity", 0, newValue); 68 } 69 70 public String getPostalCode ( 74 ) { 75 return (String )this.refGetValue("postalCode", 0); 76 } 77 public void setPostalCode( 81 String newValue 82 ) { 83 refSetValue("org:opencrx:kernel:address1:PostalAddressable:postalCode", 0, newValue); 84 } 85 86 public short getPostalCountry( 90 ) { 91 return getPostalCountry(0); 92 } 93 94 protected short getPostalCountry( 95 int index 96 ) { 97 return ((java.lang.Number )this.refGetValue("org:opencrx:kernel:address1:PostalAddressable:postalCountry", index)).shortValue(); 98 } 99 100 public void setPostalCountry( 104 short newValue 105 ) { 106 setPostalCountry(0, newValue); 107 } 108 109 protected void setPostalCountry( 110 int index, 111 short newValue 112 ) { 113 refSetValue("org:opencrx:kernel:address1:PostalAddressable:postalCountry", index, new Short (newValue)); 114 } 115 public String getPostalCounty ( 119 ) { 120 return (String )this.refGetValue("postalCounty", 0); 121 } 122 public void setPostalCounty( 126 String newValue 127 ) { 128 refSetValue("org:opencrx:kernel:address1:PostalAddressable:postalCounty", 0, newValue); 129 } 130 131 public short getPostalFreightTerms( 135 ) { 136 return getPostalFreightTerms(0); 137 } 138 139 protected short getPostalFreightTerms( 140 int index 141 ) { 142 return ((java.lang.Number )this.refGetValue("org:opencrx:kernel:address1:PostalAddressable:postalFreightTerms", index)).shortValue(); 143 } 144 145 public void setPostalFreightTerms( 149 short newValue 150 ) { 151 setPostalFreightTerms(0, newValue); 152 } 153 154 protected void setPostalFreightTerms( 155 int index, 156 short newValue 157 ) { 158 refSetValue("org:opencrx:kernel:address1:PostalAddressable:postalFreightTerms", index, new Short (newValue)); 159 } 160 public java.math.BigDecimal getPostalLatitude ( 164 ) { 165 return (java.math.BigDecimal )this.refGetValue("postalLatitude", 0); 166 } 167 public void setPostalLatitude( 171 java.math.BigDecimal newValue 172 ) { 173 refSetValue("org:opencrx:kernel:address1:PostalAddressable:postalLatitude", 0, newValue); 174 } 175 176 public java.math.BigDecimal getPostalLongitude ( 180 ) { 181 return (java.math.BigDecimal )this.refGetValue("postalLongitude", 0); 182 } 183 public void setPostalLongitude( 187 java.math.BigDecimal newValue 188 ) { 189 refSetValue("org:opencrx:kernel:address1:PostalAddressable:postalLongitude", 0, newValue); 190 } 191 192 public String getPostalState ( 196 ) { 197 return (String )this.refGetValue("postalState", 0); 198 } 199 public void setPostalState( 203 String newValue 204 ) { 205 refSetValue("org:opencrx:kernel:address1:PostalAddressable:postalState", 0, newValue); 206 } 207 208 public java.util.List getPostalStreet ( 212 ) { 213 return (java.util.List )this.refGetValue("postalStreet"); 214 } 215 public String getPostalStreet( 216 int index 217 ) { 218 return (String )this.refGetValue("org:opencrx:kernel:address1:PostalAddressable:postalStreet", index); 219 } 220 221 public void setPostalStreet( 225 java.util.List newValue 226 ) { 227 refSetValue("org:opencrx:kernel:address1:PostalAddressable:postalStreet", newValue); 228 } 229 230 public void setPostalStreet( 231 String [] newValue 232 ) { 233 refSetValue("org:opencrx:kernel:address1:PostalAddressable:postalStreet", newValue); 234 } 235 236 public short getPostalUtcOffset( 240 ) { 241 return getPostalUtcOffset(0); 242 } 243 244 protected short getPostalUtcOffset( 245 int index 246 ) { 247 return ((java.lang.Number )this.refGetValue("org:opencrx:kernel:address1:PostalAddressable:postalUtcOffset", index)).shortValue(); 248 } 249 250 public void setPostalUtcOffset( 254 short newValue 255 ) { 256 setPostalUtcOffset(0, newValue); 257 } 258 259 protected void setPostalUtcOffset( 260 int index, 261 short newValue 262 ) { 263 refSetValue("org:opencrx:kernel:address1:PostalAddressable:postalUtcOffset", index, new Short (newValue)); 264 } 265 public short getAccessLevelBrowse( 269 ) { 270 return getAccessLevelBrowse(0); 271 } 272 273 protected short getAccessLevelBrowse( 274 int index 275 ) { 276 return ((java.lang.Number )this.refGetValue("org:opencrx:kernel:base:SecureObject:accessLevelBrowse", index)).shortValue(); 277 } 278 279 public void setAccessLevelBrowse( 283 short newValue 284 ) { 285 setAccessLevelBrowse(0, newValue); 286 } 287 288 protected void setAccessLevelBrowse( 289 int index, 290 short newValue 291 ) { 292 refSetValue("org:opencrx:kernel:base:SecureObject:accessLevelBrowse", index, new Short (newValue)); 293 } 294 public short getAccessLevelDelete( 298 ) { 299 return getAccessLevelDelete(0); 300 } 301 302 protected short getAccessLevelDelete( 303 int index 304 ) { 305 return ((java.lang.Number )this.refGetValue("org:opencrx:kernel:base:SecureObject:accessLevelDelete", index)).shortValue(); 306 } 307 308 public void setAccessLevelDelete( 312 short newValue 313 ) { 314 setAccessLevelDelete(0, newValue); 315 } 316 317 protected void setAccessLevelDelete( 318 int index, 319 short newValue 320 ) { 321 refSetValue("org:opencrx:kernel:base:SecureObject:accessLevelDelete", index, new Short (newValue)); 322 } 323 public short getAccessLevelUpdate( 327 ) { 328 return getAccessLevelUpdate(0); 329 } 330 331 protected short getAccessLevelUpdate( 332 int index 333 ) { 334 return ((java.lang.Number )this.refGetValue("org:opencrx:kernel:base:SecureObject:accessLevelUpdate", index)).shortValue(); 335 } 336 337 public void setAccessLevelUpdate( 341 short newValue 342 ) { 343 setAccessLevelUpdate(0, newValue); 344 } 345 346 protected void setAccessLevelUpdate( 347 int index, 348 short newValue 349 ) { 350 refSetValue("org:opencrx:kernel:base:SecureObject:accessLevelUpdate", index, new Short (newValue)); 351 } 352 public org.opencrx.kernel.base.cci.ModifySecureObjectResult addOwningGroup( 356 org.opencrx.kernel.base.cci.ModifyOwningGroupParams params 357 ) throws javax.jmi.reflect.RefException { 358 java.util.List args = new java.util.ArrayList (); 359 args.add(params); 360 return (org.opencrx.kernel.base.cci.ModifySecureObjectResult)refInvokeOperation( 361 "org:opencrx:kernel:base:SecureObject:addOwningGroup", 362 args 363 ); 364 } 365 366 public org.opencrx.kernel.base.cci.ModifySecureObjectResult addOwningGroup( 367 org.opencrx.security.realm1.cci.PrincipalGroup group 368 , short mode 369 ) throws javax.jmi.reflect.RefException { 370 return addOwningGroup( 371 ((org.opencrx.kernel.base.cci.basePackage)refOutermostPackage().refPackage("org:opencrx:kernel:base")).createModifyOwningGroupParams( 372 group 373 , mode 374 ) 375 ); 376 } 377 378 public java.util.List getOwner ( 382 ) { 383 return (java.util.List )this.refGetValue("owner"); 384 } 385 public String getOwner( 386 int index 387 ) { 388 return (String )this.refGetValue("org:opencrx:kernel:base:SecureObject:owner", index); 389 } 390 391 protected void setOwner( 395 java.util.List newValue 396 ) { 397 refSetValue("org:opencrx:kernel:base:SecureObject:owner", newValue); 398 } 399 400 protected void setOwner( 401 String [] newValue 402 ) { 403 refSetValue("org:opencrx:kernel:base:SecureObject:owner", newValue); 404 } 405 406 public void setOwningGroup( 410 java.util.List newValue 411 ) { 412 refSetValue("org:opencrx:kernel:base:SecureObject:owningGroup", newValue); 413 } 414 415 public void setOwningGroup( 416 org.opencrx.security.realm1.cci.PrincipalGroup[] newValue 417 ) { 418 refSetValue("org:opencrx:kernel:base:SecureObject:owningGroup", newValue); 419 } 420 421 public org.opencrx.security.realm1.cci.PrincipalGroup getOwningGroup( 425 int index 426 ) { 427 return (org.opencrx.security.realm1.cci.PrincipalGroup)refGetValue( 428 "org:opencrx:kernel:base:SecureObject:owningGroup", 429 new Integer (index) 430 ); 431 } 432 433 public java.util.Collection getOwningGroup( 437 ) { 438 return (java.util.Collection )refGetValue( 439 "org:opencrx:kernel:base:SecureObject:owningGroup" 440 ); 441 } 442 443 public void addOwningGroup ( 447 int index, 448 org.opencrx.security.realm1.cci.PrincipalGroup newValue 449 ) { 450 refAddValue( 451 "org:opencrx:kernel:base:SecureObject:owningGroup", 452 new Integer (index), 453 newValue 454 ); 455 } 456 457 public void addOwningGroup ( 461 org.opencrx.security.realm1.cci.PrincipalGroup newValue 462 ) { 463 refAddValue( 464 "org:opencrx:kernel:base:SecureObject:owningGroup", 465 newValue 466 ); 467 } 468 469 public void removeOwningGroup ( 473 int index 474 ) { 475 refRemoveValue( 476 "org:opencrx:kernel:base:SecureObject:owningGroup", 477 new Integer (index) 478 ); 479 } 480 481 public org.opencrx.security.realm1.cci.User getOwningUser( 485 ) { 486 return (org.opencrx.security.realm1.cci.User)refGetValue( 487 "org:opencrx:kernel:base:SecureObject:owningUser" 488 ); 489 } 490 491 public void setOwningUser( 495 org.opencrx.security.realm1.cci.User newValue 496 ) { 497 refSetValue( 498 "org:opencrx:kernel:base:SecureObject:owningUser", 499 newValue 500 ); 501 } 502 503 public void removeOwningUser ( 507 ) { 508 refRemoveValue( 509 "org:opencrx:kernel:base:SecureObject:owningUser" 510 ); 511 } 512 public org.opencrx.kernel.base.cci.ModifySecureObjectResult removeAllOwningGroup( 516 org.opencrx.kernel.base.cci.RemoveAllOwningGroupParams params 517 ) throws javax.jmi.reflect.RefException { 518 java.util.List args = new java.util.ArrayList (); 519 args.add(params); 520 return (org.opencrx.kernel.base.cci.ModifySecureObjectResult)refInvokeOperation( 521 "org:opencrx:kernel:base:SecureObject:removeAllOwningGroup", 522 args 523 ); 524 } 525 526 public org.opencrx.kernel.base.cci.ModifySecureObjectResult removeAllOwningGroup( 527 short mode 528 ) throws javax.jmi.reflect.RefException { 529 return removeAllOwningGroup( 530 ((org.opencrx.kernel.base.cci.basePackage)refOutermostPackage().refPackage("org:opencrx:kernel:base")).createRemoveAllOwningGroupParams( 531 mode 532 ) 533 ); 534 } 535 536 public org.opencrx.kernel.base.cci.ModifySecureObjectResult removeOwningGroup( 540 org.opencrx.kernel.base.cci.ModifyOwningGroupParams params 541 ) throws javax.jmi.reflect.RefException { 542 java.util.List args = new java.util.ArrayList (); 543 args.add(params); 544 return (org.opencrx.kernel.base.cci.ModifySecureObjectResult)refInvokeOperation( 545 "org:opencrx:kernel:base:SecureObject:removeOwningGroup", 546 args 547 ); 548 } 549 550 public org.opencrx.kernel.base.cci.ModifySecureObjectResult removeOwningGroup( 551 org.opencrx.security.realm1.cci.PrincipalGroup group 552 , short mode 553 ) throws javax.jmi.reflect.RefException { 554 return removeOwningGroup( 555 ((org.opencrx.kernel.base.cci.basePackage)refOutermostPackage().refPackage("org:opencrx:kernel:base")).createModifyOwningGroupParams( 556 group 557 , mode 558 ) 559 ); 560 } 561 562 public org.opencrx.kernel.base.cci.ModifySecureObjectResult setAccessLevel( 566 org.opencrx.kernel.base.cci.SetAccessLevelParams params 567 ) throws javax.jmi.reflect.RefException { 568 java.util.List args = new java.util.ArrayList (); 569 args.add(params); 570 return (org.opencrx.kernel.base.cci.ModifySecureObjectResult)refInvokeOperation( 571 "org:opencrx:kernel:base:SecureObject:setAccessLevel", 572 args 573 ); 574 } 575 576 public org.opencrx.kernel.base.cci.ModifySecureObjectResult setAccessLevel( 577 short accessLevelBrowse 578 , short accessLevelDelete 579 , short accessLevelUpdate 580 , short mode 581 ) throws javax.jmi.reflect.RefException { 582 return setAccessLevel( 583 ((org.opencrx.kernel.base.cci.basePackage)refOutermostPackage().refPackage("org:opencrx:kernel:base")).createSetAccessLevelParams( 584 accessLevelBrowse 585 , accessLevelDelete 586 , accessLevelUpdate 587 , mode 588 ) 589 ); 590 } 591 592 public org.opencrx.kernel.base.cci.ModifySecureObjectResult setOwningUser( 596 org.opencrx.kernel.base.cci.SetOwningUserParams params 597 ) throws javax.jmi.reflect.RefException { 598 java.util.List args = new java.util.ArrayList (); 599 args.add(params); 600 return (org.opencrx.kernel.base.cci.ModifySecureObjectResult)refInvokeOperation( 601 "org:opencrx:kernel:base:SecureObject:setOwningUser", 602 args 603 ); 604 } 605 606 public org.opencrx.kernel.base.cci.ModifySecureObjectResult setOwningUser( 607 short mode 608 , org.opencrx.security.realm1.cci.User user 609 ) throws javax.jmi.reflect.RefException { 610 return setOwningUser( 611 ((org.opencrx.kernel.base.cci.basePackage)refOutermostPackage().refPackage("org:opencrx:kernel:base")).createSetOwningUserParams( 612 mode 613 , user 614 ) 615 ); 616 } 617 618 public org.opencrx.kernel.document1.cci.Media getPicture( 622 ) { 623 return (org.opencrx.kernel.document1.cci.Media)refGetValue( 624 "org:opencrx:kernel:generic:Pictured:picture" 625 ); 626 } 627 628 public void setPicture( 632 org.opencrx.kernel.document1.cci.Media newValue 633 ) { 634 refSetValue( 635 "org:opencrx:kernel:generic:Pictured:picture", 636 newValue 637 ); 638 } 639 640 public void removePicture ( 644 ) { 645 refRemoveValue( 646 "org:opencrx:kernel:generic:Pictured:picture" 647 ); 648 } 649 public byte[] getPictureContent ( 653 ) { 654 return (byte[])this.refGetValue("pictureContent", 0); 655 } 656 protected void setPictureContent( 660 byte[] newValue 661 ) { 662 refSetValue("org:opencrx:kernel:generic:Pictured:pictureContent", 0, newValue); 663 } 664 665 public String getPictureContentMimeType ( 669 ) { 670 return (String )this.refGetValue("pictureContentMimeType", 0); 671 } 672 protected void setPictureContentMimeType( 676 String newValue 677 ) { 678 refSetValue("org:opencrx:kernel:generic:Pictured:pictureContentMimeType", 0, newValue); 679 } 680 681 public String getPictureContentName ( 685 ) { 686 return (String )this.refGetValue("pictureContentName", 0); 687 } 688 protected void setPictureContentName( 692 String newValue 693 ) { 694 refSetValue("org:opencrx:kernel:generic:Pictured:pictureContentName", 0, newValue); 695 } 696 697 public java.util.Date getCreatedAt( 701 ) { 702 return getCreatedAt(0); 703 } 704 705 protected java.util.Date getCreatedAt( 706 int index 707 ) { 708 return (java.util.Date )this.refGetValue("org:openmdx:base:BasicObject:createdAt", index); 709 } 710 711 protected void setCreatedAt( 715 java.util.Date newValue 716 ) { 717 setCreatedAt(0, newValue); 718 } 719 720 protected void setCreatedAt( 721 int index, 722 java.util.Date newValue 723 ) { 724 refSetValue("org:openmdx:base:BasicObject:createdAt", index, newValue); 725 } 726 public java.util.Set getCreatedBy ( 730 ) { 731 return (java.util.Set )this.refGetValue("createdBy"); 732 } 733 protected void setCreatedBy( 737 java.util.Set newValue 738 ) { 739 refSetValue("org:openmdx:base:BasicObject:createdBy", newValue); 740 } 741 742 protected void setCreatedBy( 743 String [] newValue 744 ) { 745 refSetValue("org:openmdx:base:BasicObject:createdBy", newValue); 746 } 747 748 public java.util.Date getModifiedAt( 752 ) { 753 return getModifiedAt(0); 754 } 755 756 protected java.util.Date getModifiedAt( 757 int index 758 ) { 759 return (java.util.Date )this.refGetValue("org:openmdx:base:BasicObject:modifiedAt", index); 760 } 761 762 protected void setModifiedAt( 766 java.util.Date newValue 767 ) { 768 setModifiedAt(0, newValue); 769 } 770 771 protected void setModifiedAt( 772 int index, 773 java.util.Date newValue 774 ) { 775 refSetValue("org:openmdx:base:BasicObject:modifiedAt", index, newValue); 776 } 777 public java.util.Set getModifiedBy ( 781 ) { 782 return (java.util.Set )this.refGetValue("modifiedBy"); 783 } 784 protected void setModifiedBy( 788 java.util.Set newValue 789 ) { 790 refSetValue("org:openmdx:base:BasicObject:modifiedBy", newValue); 791 } 792 793 protected void setModifiedBy( 794 String [] newValue 795 ) { 796 refSetValue("org:openmdx:base:BasicObject:modifiedBy", newValue); 797 } 798 799 protected void setContext( 803 java.util.List newValue 804 ) { 805 refSetValue("org:openmdx:base:ContextCapable:context", newValue); 806 } 807 808 protected void setContext( 809 org.openmdx.base.cci.Context[] newValue 810 ) { 811 refSetValue("org:openmdx:base:ContextCapable:context", newValue); 812 } 813 814 public org.openmdx.base.cci.Context getContext( 818 String id 819 ) { 820 return (org.openmdx.base.cci.Context)refGetValue( 821 "org:openmdx:base:ContextCapable:context", 822 id 823 ); 824 } 825 826 public java.util.Collection getContext( 830 ) { 831 return (java.util.Collection )refGetValue( 832 "org:openmdx:base:ContextCapable:context" 833 ); 834 } 835 836 protected void addContext ( 840 String id, 841 org.openmdx.base.cci.Context newValue 842 ) { 843 refAddValue( 844 "org:openmdx:base:ContextCapable:context", 845 id, 846 newValue 847 ); 848 } 849 850 protected void addContext ( 854 org.openmdx.base.cci.Context newValue 855 ) { 856 refAddValue( 857 "org:openmdx:base:ContextCapable:context", 858 newValue 859 ); 860 } 861 862 protected void removeContext ( 866 String id 867 ) { 868 refRemoveValue( 869 "org:openmdx:base:ContextCapable:context", 870 id 871 ); 872 } 873 874 public String getIdentity( 878 ) { 879 return getIdentity(0); 880 } 881 882 protected String getIdentity( 883 int index 884 ) { 885 return (String )this.refGetValue("org:openmdx:base:ExtentCapable:identity", index); 886 } 887 888 protected void setIdentity( 892 String newValue 893 ) { 894 setIdentity(0, newValue); 895 } 896 897 protected void setIdentity( 898 int index, 899 String newValue 900 ) { 901 refSetValue("org:openmdx:base:ExtentCapable:identity", index, newValue); 902 } 903 protected void setView( 907 java.util.List newValue 908 ) { 909 refSetValue("org:openmdx:compatibility:view1:ViewCapable:view", newValue); 910 } 911 912 protected void setView( 913 org.openmdx.compatibility.view1.cci.View[] newValue 914 ) { 915 refSetValue("org:openmdx:compatibility:view1:ViewCapable:view", newValue); 916 } 917 918 public org.openmdx.compatibility.view1.cci.View getView( 922 String namespace 923 ) { 924 return (org.openmdx.compatibility.view1.cci.View)refGetValue( 925 "org:openmdx:compatibility:view1:ViewCapable:view", 926 namespace 927 ); 928 } 929 930 public java.util.Collection getView( 934 ) { 935 return (java.util.Collection )refGetValue( 936 "org:openmdx:compatibility:view1:ViewCapable:view" 937 ); 938 } 939 940 public java.util.List getView( 941 org.openmdx.compatibility.view1.cci.ViewFilter filter 942 ) { 943 return ((org.openmdx.compatibility.base.collection.Container)refGetValue( 944 "org:openmdx:compatibility:view1:ViewCapable:view" 945 )).toList(filter); 946 } 947 948 protected void addView ( 952 String namespace, 953 org.openmdx.compatibility.view1.cci.View newValue 954 ) { 955 refAddValue( 956 "org:openmdx:compatibility:view1:ViewCapable:view", 957 namespace, 958 newValue 959 ); 960 } 961 962 protected void addView ( 966 org.openmdx.compatibility.view1.cci.View newValue 967 ) { 968 refAddValue( 969 "org:openmdx:compatibility:view1:ViewCapable:view", 970 newValue 971 ); 972 } 973 974 protected void removeView ( 978 String namespace 979 ) { 980 refRemoveValue( 981 "org:openmdx:compatibility:view1:ViewCapable:view", 982 namespace 983 ); 984 } 985 986 } 990 | Popular Tags |