1 package org.opencrx.kernel.building1.cci; 14 15 public class BuildingImpl 16 extends org.openmdx.base.accessor.jmi.spi.RefObject_1 17 implements Building { 18 19 public BuildingImpl( 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 protected void setAudit( 30 java.util.List newValue 31 ) { 32 refSetValue("org:opencrx:kernel:base:Auditee:audit", newValue); 33 } 34 35 protected void setAudit( 36 org.opencrx.kernel.base.cci.AuditEntry[] newValue 37 ) { 38 refSetValue("org:opencrx:kernel:base:Auditee:audit", newValue); 39 } 40 41 public org.opencrx.kernel.base.cci.AuditEntry getAudit( 45 String id 46 ) { 47 return (org.opencrx.kernel.base.cci.AuditEntry)refGetValue( 48 "org:opencrx:kernel:base:Auditee:audit", 49 id 50 ); 51 } 52 53 public java.util.Collection getAudit( 57 ) { 58 return (java.util.Collection )refGetValue( 59 "org:opencrx:kernel:base:Auditee:audit" 60 ); 61 } 62 63 public java.util.List getAudit( 64 org.opencrx.kernel.base.cci.AuditEntryFilter filter 65 ) { 66 return ((org.openmdx.compatibility.base.collection.Container)refGetValue( 67 "org:opencrx:kernel:base:Auditee:audit" 68 )).toList(filter); 69 } 70 71 protected void addAudit ( 75 String id, 76 org.opencrx.kernel.base.cci.AuditEntry newValue 77 ) { 78 refAddValue( 79 "org:opencrx:kernel:base:Auditee:audit", 80 id, 81 newValue 82 ); 83 } 84 85 protected void addAudit ( 89 org.opencrx.kernel.base.cci.AuditEntry newValue 90 ) { 91 refAddValue( 92 "org:opencrx:kernel:base:Auditee:audit", 93 newValue 94 ); 95 } 96 97 protected void removeAudit ( 101 String id 102 ) { 103 refRemoveValue( 104 "org:opencrx:kernel:base:Auditee:audit", 105 id 106 ); 107 } 108 109 public org.openmdx.base.cci.Void addAsBookmark( 113 org.opencrx.kernel.base.cci.AddAsBookmarkParams params 114 ) throws javax.jmi.reflect.RefException { 115 java.util.List args = new java.util.ArrayList (); 116 args.add(params); 117 return (org.openmdx.base.cci.Void)refInvokeOperation( 118 "org:opencrx:kernel:base:Bookmarkable:addAsBookmark", 119 args 120 ); 121 } 122 123 public org.openmdx.base.cci.Void addAsBookmark( 124 String description 125 ) throws javax.jmi.reflect.RefException { 126 return addAsBookmark( 127 ((org.opencrx.kernel.base.cci.basePackage)refOutermostPackage().refPackage("org:opencrx:kernel:base")).createAddAsBookmarkParams( 128 description 129 ) 130 ); 131 } 132 133 public org.opencrx.kernel.base.cci.CloneResult clone_( 137 org.opencrx.kernel.base.cci.CloneParams params 138 ) throws javax.jmi.reflect.RefException { 139 java.util.List args = new java.util.ArrayList (); 140 args.add(params); 141 return (org.opencrx.kernel.base.cci.CloneResult)refInvokeOperation( 142 "org:opencrx:kernel:base:Cloneable:clone", 143 args 144 ); 145 } 146 147 public org.opencrx.kernel.base.cci.CloneResult clone_( 148 String referenceFilter 149 ) throws javax.jmi.reflect.RefException { 150 return clone_( 151 ((org.opencrx.kernel.base.cci.basePackage)refOutermostPackage().refPackage("org:opencrx:kernel:base")).createCloneParams( 152 referenceFilter 153 ) 154 ); 155 } 156 157 public org.opencrx.kernel.base.cci.ImportResult importItem( 161 org.opencrx.kernel.base.cci.ImportParams params 162 ) throws javax.jmi.reflect.RefException { 163 java.util.List args = new java.util.ArrayList (); 164 args.add(params); 165 return (org.opencrx.kernel.base.cci.ImportResult)refInvokeOperation( 166 "org:opencrx:kernel:base:Importer:importItem", 167 args 168 ); 169 } 170 171 public org.opencrx.kernel.base.cci.ImportResult importItem( 172 byte[] item 173 , String itemMimeType 174 , String itemName 175 , short locale 176 ) throws javax.jmi.reflect.RefException { 177 return importItem( 178 ((org.opencrx.kernel.base.cci.basePackage)refOutermostPackage().refPackage("org:opencrx:kernel:base")).createImportParams( 179 item 180 , itemMimeType 181 , itemName 182 , locale 183 ) 184 ); 185 } 186 187 public short getAccessLevelBrowse( 191 ) { 192 return getAccessLevelBrowse(0); 193 } 194 195 protected short getAccessLevelBrowse( 196 int index 197 ) { 198 return ((java.lang.Number )this.refGetValue("org:opencrx:kernel:base:SecureObject:accessLevelBrowse", index)).shortValue(); 199 } 200 201 public void setAccessLevelBrowse( 205 short newValue 206 ) { 207 setAccessLevelBrowse(0, newValue); 208 } 209 210 protected void setAccessLevelBrowse( 211 int index, 212 short newValue 213 ) { 214 refSetValue("org:opencrx:kernel:base:SecureObject:accessLevelBrowse", index, new Short (newValue)); 215 } 216 public short getAccessLevelDelete( 220 ) { 221 return getAccessLevelDelete(0); 222 } 223 224 protected short getAccessLevelDelete( 225 int index 226 ) { 227 return ((java.lang.Number )this.refGetValue("org:opencrx:kernel:base:SecureObject:accessLevelDelete", index)).shortValue(); 228 } 229 230 public void setAccessLevelDelete( 234 short newValue 235 ) { 236 setAccessLevelDelete(0, newValue); 237 } 238 239 protected void setAccessLevelDelete( 240 int index, 241 short newValue 242 ) { 243 refSetValue("org:opencrx:kernel:base:SecureObject:accessLevelDelete", index, new Short (newValue)); 244 } 245 public short getAccessLevelUpdate( 249 ) { 250 return getAccessLevelUpdate(0); 251 } 252 253 protected short getAccessLevelUpdate( 254 int index 255 ) { 256 return ((java.lang.Number )this.refGetValue("org:opencrx:kernel:base:SecureObject:accessLevelUpdate", index)).shortValue(); 257 } 258 259 public void setAccessLevelUpdate( 263 short newValue 264 ) { 265 setAccessLevelUpdate(0, newValue); 266 } 267 268 protected void setAccessLevelUpdate( 269 int index, 270 short newValue 271 ) { 272 refSetValue("org:opencrx:kernel:base:SecureObject:accessLevelUpdate", index, new Short (newValue)); 273 } 274 public org.opencrx.kernel.base.cci.ModifySecureObjectResult addOwningGroup( 278 org.opencrx.kernel.base.cci.ModifyOwningGroupParams params 279 ) throws javax.jmi.reflect.RefException { 280 java.util.List args = new java.util.ArrayList (); 281 args.add(params); 282 return (org.opencrx.kernel.base.cci.ModifySecureObjectResult)refInvokeOperation( 283 "org:opencrx:kernel:base:SecureObject:addOwningGroup", 284 args 285 ); 286 } 287 288 public org.opencrx.kernel.base.cci.ModifySecureObjectResult addOwningGroup( 289 org.opencrx.security.realm1.cci.PrincipalGroup group 290 , short mode 291 ) throws javax.jmi.reflect.RefException { 292 return addOwningGroup( 293 ((org.opencrx.kernel.base.cci.basePackage)refOutermostPackage().refPackage("org:opencrx:kernel:base")).createModifyOwningGroupParams( 294 group 295 , mode 296 ) 297 ); 298 } 299 300 public java.util.List getOwner ( 304 ) { 305 return (java.util.List )this.refGetValue("owner"); 306 } 307 public String getOwner( 308 int index 309 ) { 310 return (String )this.refGetValue("org:opencrx:kernel:base:SecureObject:owner", index); 311 } 312 313 protected void setOwner( 317 java.util.List newValue 318 ) { 319 refSetValue("org:opencrx:kernel:base:SecureObject:owner", newValue); 320 } 321 322 protected void setOwner( 323 String [] newValue 324 ) { 325 refSetValue("org:opencrx:kernel:base:SecureObject:owner", newValue); 326 } 327 328 public void setOwningGroup( 332 java.util.List newValue 333 ) { 334 refSetValue("org:opencrx:kernel:base:SecureObject:owningGroup", newValue); 335 } 336 337 public void setOwningGroup( 338 org.opencrx.security.realm1.cci.PrincipalGroup[] newValue 339 ) { 340 refSetValue("org:opencrx:kernel:base:SecureObject:owningGroup", newValue); 341 } 342 343 public org.opencrx.security.realm1.cci.PrincipalGroup getOwningGroup( 347 int index 348 ) { 349 return (org.opencrx.security.realm1.cci.PrincipalGroup)refGetValue( 350 "org:opencrx:kernel:base:SecureObject:owningGroup", 351 new Integer (index) 352 ); 353 } 354 355 public java.util.Collection getOwningGroup( 359 ) { 360 return (java.util.Collection )refGetValue( 361 "org:opencrx:kernel:base:SecureObject:owningGroup" 362 ); 363 } 364 365 public void addOwningGroup ( 369 int index, 370 org.opencrx.security.realm1.cci.PrincipalGroup newValue 371 ) { 372 refAddValue( 373 "org:opencrx:kernel:base:SecureObject:owningGroup", 374 new Integer (index), 375 newValue 376 ); 377 } 378 379 public void addOwningGroup ( 383 org.opencrx.security.realm1.cci.PrincipalGroup newValue 384 ) { 385 refAddValue( 386 "org:opencrx:kernel:base:SecureObject:owningGroup", 387 newValue 388 ); 389 } 390 391 public void removeOwningGroup ( 395 int index 396 ) { 397 refRemoveValue( 398 "org:opencrx:kernel:base:SecureObject:owningGroup", 399 new Integer (index) 400 ); 401 } 402 403 public org.opencrx.security.realm1.cci.User getOwningUser( 407 ) { 408 return (org.opencrx.security.realm1.cci.User)refGetValue( 409 "org:opencrx:kernel:base:SecureObject:owningUser" 410 ); 411 } 412 413 public void setOwningUser( 417 org.opencrx.security.realm1.cci.User newValue 418 ) { 419 refSetValue( 420 "org:opencrx:kernel:base:SecureObject:owningUser", 421 newValue 422 ); 423 } 424 425 public void removeOwningUser ( 429 ) { 430 refRemoveValue( 431 "org:opencrx:kernel:base:SecureObject:owningUser" 432 ); 433 } 434 public org.opencrx.kernel.base.cci.ModifySecureObjectResult removeAllOwningGroup( 438 org.opencrx.kernel.base.cci.RemoveAllOwningGroupParams params 439 ) throws javax.jmi.reflect.RefException { 440 java.util.List args = new java.util.ArrayList (); 441 args.add(params); 442 return (org.opencrx.kernel.base.cci.ModifySecureObjectResult)refInvokeOperation( 443 "org:opencrx:kernel:base:SecureObject:removeAllOwningGroup", 444 args 445 ); 446 } 447 448 public org.opencrx.kernel.base.cci.ModifySecureObjectResult removeAllOwningGroup( 449 short mode 450 ) throws javax.jmi.reflect.RefException { 451 return removeAllOwningGroup( 452 ((org.opencrx.kernel.base.cci.basePackage)refOutermostPackage().refPackage("org:opencrx:kernel:base")).createRemoveAllOwningGroupParams( 453 mode 454 ) 455 ); 456 } 457 458 public org.opencrx.kernel.base.cci.ModifySecureObjectResult removeOwningGroup( 462 org.opencrx.kernel.base.cci.ModifyOwningGroupParams params 463 ) throws javax.jmi.reflect.RefException { 464 java.util.List args = new java.util.ArrayList (); 465 args.add(params); 466 return (org.opencrx.kernel.base.cci.ModifySecureObjectResult)refInvokeOperation( 467 "org:opencrx:kernel:base:SecureObject:removeOwningGroup", 468 args 469 ); 470 } 471 472 public org.opencrx.kernel.base.cci.ModifySecureObjectResult removeOwningGroup( 473 org.opencrx.security.realm1.cci.PrincipalGroup group 474 , short mode 475 ) throws javax.jmi.reflect.RefException { 476 return removeOwningGroup( 477 ((org.opencrx.kernel.base.cci.basePackage)refOutermostPackage().refPackage("org:opencrx:kernel:base")).createModifyOwningGroupParams( 478 group 479 , mode 480 ) 481 ); 482 } 483 484 public org.opencrx.kernel.base.cci.ModifySecureObjectResult setAccessLevel( 488 org.opencrx.kernel.base.cci.SetAccessLevelParams params 489 ) throws javax.jmi.reflect.RefException { 490 java.util.List args = new java.util.ArrayList (); 491 args.add(params); 492 return (org.opencrx.kernel.base.cci.ModifySecureObjectResult)refInvokeOperation( 493 "org:opencrx:kernel:base:SecureObject:setAccessLevel", 494 args 495 ); 496 } 497 498 public org.opencrx.kernel.base.cci.ModifySecureObjectResult setAccessLevel( 499 short accessLevelBrowse 500 , short accessLevelDelete 501 , short accessLevelUpdate 502 , short mode 503 ) throws javax.jmi.reflect.RefException { 504 return setAccessLevel( 505 ((org.opencrx.kernel.base.cci.basePackage)refOutermostPackage().refPackage("org:opencrx:kernel:base")).createSetAccessLevelParams( 506 accessLevelBrowse 507 , accessLevelDelete 508 , accessLevelUpdate 509 , mode 510 ) 511 ); 512 } 513 514 public org.opencrx.kernel.base.cci.ModifySecureObjectResult setOwningUser( 518 org.opencrx.kernel.base.cci.SetOwningUserParams params 519 ) throws javax.jmi.reflect.RefException { 520 java.util.List args = new java.util.ArrayList (); 521 args.add(params); 522 return (org.opencrx.kernel.base.cci.ModifySecureObjectResult)refInvokeOperation( 523 "org:opencrx:kernel:base:SecureObject:setOwningUser", 524 args 525 ); 526 } 527 528 public org.opencrx.kernel.base.cci.ModifySecureObjectResult setOwningUser( 529 short mode 530 , org.opencrx.security.realm1.cci.User user 531 ) throws javax.jmi.reflect.RefException { 532 return setOwningUser( 533 ((org.opencrx.kernel.base.cci.basePackage)refOutermostPackage().refPackage("org:opencrx:kernel:base")).createSetOwningUserParams( 534 mode 535 , user 536 ) 537 ); 538 } 539 540 public org.openmdx.base.cci.Void addSubscription( 544 org.openmdx.base.cci.Void params 545 ) throws javax.jmi.reflect.RefException { 546 java.util.List args = new java.util.ArrayList (); 547 args.add(params); 548 return (org.openmdx.base.cci.Void)refInvokeOperation( 549 "org:opencrx:kernel:base:SubscriptionTarget:addSubscription", 550 args 551 ); 552 } 553 554 public org.openmdx.base.cci.Void addSubscription( 555 ) throws javax.jmi.reflect.RefException { 556 return addSubscription( 557 ((org.openmdx.base.cci.basePackage)refOutermostPackage().refPackage("org:openmdx:base")).createVoid( 558 ) 559 ); 560 } 561 562 public org.openmdx.base.cci.Void addSubscriptionForParent( 566 org.openmdx.base.cci.Void params 567 ) throws javax.jmi.reflect.RefException { 568 java.util.List args = new java.util.ArrayList (); 569 args.add(params); 570 return (org.openmdx.base.cci.Void)refInvokeOperation( 571 "org:opencrx:kernel:base:SubscriptionTarget:addSubscriptionForParent", 572 args 573 ); 574 } 575 576 public org.openmdx.base.cci.Void addSubscriptionForParent( 577 ) throws javax.jmi.reflect.RefException { 578 return addSubscriptionForParent( 579 ((org.openmdx.base.cci.basePackage)refOutermostPackage().refPackage("org:openmdx:base")).createVoid( 580 ) 581 ); 582 } 583 584 public org.openmdx.base.cci.Void removeSubscription( 588 org.openmdx.base.cci.Void params 589 ) throws javax.jmi.reflect.RefException { 590 java.util.List args = new java.util.ArrayList (); 591 args.add(params); 592 return (org.openmdx.base.cci.Void)refInvokeOperation( 593 "org:opencrx:kernel:base:SubscriptionTarget:removeSubscription", 594 args 595 ); 596 } 597 598 public org.openmdx.base.cci.Void removeSubscription( 599 ) throws javax.jmi.reflect.RefException { 600 return removeSubscription( 601 ((org.openmdx.base.cci.basePackage)refOutermostPackage().refPackage("org:openmdx:base")).createVoid( 602 ) 603 ); 604 } 605 606 public org.openmdx.base.cci.Void removeSubscriptionForParent( 610 org.openmdx.base.cci.Void params 611 ) throws javax.jmi.reflect.RefException { 612 java.util.List args = new java.util.ArrayList (); 613 args.add(params); 614 return (org.openmdx.base.cci.Void)refInvokeOperation( 615 "org:opencrx:kernel:base:SubscriptionTarget:removeSubscriptionForParent", 616 args 617 ); 618 } 619 620 public org.openmdx.base.cci.Void removeSubscriptionForParent( 621 ) throws javax.jmi.reflect.RefException { 622 return removeSubscriptionForParent( 623 ((org.openmdx.base.cci.basePackage)refOutermostPackage().refPackage("org:openmdx:base")).createVoid( 624 ) 625 ); 626 } 627 628 public org.opencrx.kernel.base.cci.ExportResult exportXml( 632 org.opencrx.kernel.base.cci.XmlExportParams params 633 ) throws javax.jmi.reflect.RefException { 634 java.util.List args = new java.util.ArrayList (); 635 args.add(params); 636 return (org.opencrx.kernel.base.cci.ExportResult)refInvokeOperation( 637 "org:opencrx:kernel:base:XmlExporter:exportXml", 638 args 639 ); 640 } 641 642 public org.opencrx.kernel.base.cci.ExportResult exportXml( 643 String attributeFilter 644 , String referenceFilter 645 ) throws javax.jmi.reflect.RefException { 646 return exportXml( 647 ((org.opencrx.kernel.base.cci.basePackage)refOutermostPackage().refPackage("org:opencrx:kernel:base")).createXmlExportParams( 648 attributeFilter 649 , referenceFilter 650 ) 651 ); 652 } 653 654 public String getDescription ( 658 ) { 659 return (String )this.refGetValue("description", 0); 660 } 661 public void setDescription( 665 String newValue 666 ) { 667 refSetValue("org:opencrx:kernel:building1:AbstractBuildingUnit:description", 0, newValue); 668 } 669 670 public void setFacility( 674 java.util.List newValue 675 ) { 676 refSetValue("org:opencrx:kernel:building1:AbstractBuildingUnit:facility", newValue); 677 } 678 679 public void setFacility( 680 org.opencrx.kernel.building1.cci.Facility[] newValue 681 ) { 682 refSetValue("org:opencrx:kernel:building1:AbstractBuildingUnit:facility", newValue); 683 } 684 685 public org.opencrx.kernel.building1.cci.Facility getFacility( 689 String id 690 ) { 691 return (org.opencrx.kernel.building1.cci.Facility)refGetValue( 692 "org:opencrx:kernel:building1:AbstractBuildingUnit:facility", 693 id 694 ); 695 } 696 697 public java.util.Collection getFacility( 701 ) { 702 return (java.util.Collection )refGetValue( 703 "org:opencrx:kernel:building1:AbstractBuildingUnit:facility" 704 ); 705 } 706 707 public java.util.List getFacility( 708 org.opencrx.kernel.building1.cci.FacilityFilter filter 709 ) { 710 return ((org.openmdx.compatibility.base.collection.Container)refGetValue( 711 "org:opencrx:kernel:building1:AbstractBuildingUnit:facility" 712 )).toList(filter); 713 } 714 715 public void addFacility ( 719 String id, 720 org.opencrx.kernel.building1.cci.Facility newValue 721 ) { 722 refAddValue( 723 "org:opencrx:kernel:building1:AbstractBuildingUnit:facility", 724 id, 725 newValue 726 ); 727 } 728 729 public void addFacility ( 733 org.opencrx.kernel.building1.cci.Facility newValue 734 ) { 735 refAddValue( 736 "org:opencrx:kernel:building1:AbstractBuildingUnit:facility", 737 newValue 738 ); 739 } 740 741 public void removeFacility ( 745 String id 746 ) { 747 refRemoveValue( 748 "org:opencrx:kernel:building1:AbstractBuildingUnit:facility", 749 id 750 ); 751 } 752 753 public String getName( 757 ) { 758 return getName(0); 759 } 760 761 protected String getName( 762 int index 763 ) { 764 return (String )this.refGetValue("org:opencrx:kernel:building1:AbstractBuildingUnit:name", index); 765 } 766 767 public void setName( 771 String newValue 772 ) { 773 setName(0, newValue); 774 } 775 776 protected void setName( 777 int index, 778 String newValue 779 ) { 780 refSetValue("org:opencrx:kernel:building1:AbstractBuildingUnit:name", index, newValue); 781 } 782 public java.math.BigDecimal getSizeInCubicMeter ( 786 ) { 787 return (java.math.BigDecimal )this.refGetValue("sizeInCubicMeter", 0); 788 } 789 public void setSizeInCubicMeter( 793 java.math.BigDecimal newValue 794 ) { 795 refSetValue("org:opencrx:kernel:building1:AbstractBuildingUnit:sizeInCubicMeter", 0, newValue); 796 } 797 798 public java.math.BigDecimal getSizeInSquareMeter ( 802 ) { 803 return (java.math.BigDecimal )this.refGetValue("sizeInSquareMeter", 0); 804 } 805 public void setSizeInSquareMeter( 809 java.math.BigDecimal newValue 810 ) { 811 refSetValue("org:opencrx:kernel:building1:AbstractBuildingUnit:sizeInSquareMeter", 0, newValue); 812 } 813 814 public org.opencrx.kernel.building1.cci.BuildingComplex getBuildingComplex( 818 ) { 819 return (org.opencrx.kernel.building1.cci.BuildingComplex)refGetValue( 820 "org:opencrx:kernel:building1:Building:buildingComplex" 821 ); 822 } 823 824 public void setBuildingComplex( 828 org.opencrx.kernel.building1.cci.BuildingComplex newValue 829 ) { 830 refSetValue( 831 "org:opencrx:kernel:building1:Building:buildingComplex", 832 newValue 833 ); 834 } 835 836 public void removeBuildingComplex ( 840 ) { 841 refRemoveValue( 842 "org:opencrx:kernel:building1:Building:buildingComplex" 843 ); 844 } 845 public void setBuildingUnit( 849 java.util.List newValue 850 ) { 851 refSetValue("org:opencrx:kernel:building1:Building:buildingUnit", newValue); 852 } 853 854 public void setBuildingUnit( 855 org.opencrx.kernel.building1.cci.BuildingUnit[] newValue 856 ) { 857 refSetValue("org:opencrx:kernel:building1:Building:buildingUnit", newValue); 858 } 859 860 public org.opencrx.kernel.building1.cci.BuildingUnit getBuildingUnit( 864 String id 865 ) { 866 return (org.opencrx.kernel.building1.cci.BuildingUnit)refGetValue( 867 "org:opencrx:kernel:building1:Building:buildingUnit", 868 id 869 ); 870 } 871 872 public java.util.Collection getBuildingUnit( 876 ) { 877 return (java.util.Collection )refGetValue( 878 "org:opencrx:kernel:building1:Building:buildingUnit" 879 ); 880 } 881 882 public java.util.List getBuildingUnit( 883 org.opencrx.kernel.building1.cci.BuildingUnitFilter filter 884 ) { 885 return ((org.openmdx.compatibility.base.collection.Container)refGetValue( 886 "org:opencrx:kernel:building1:Building:buildingUnit" 887 )).toList(filter); 888 } 889 890 public void addBuildingUnit ( 894 String id, 895 org.opencrx.kernel.building1.cci.BuildingUnit newValue 896 ) { 897 refAddValue( 898 "org:opencrx:kernel:building1:Building:buildingUnit", 899 id, 900 newValue 901 ); 902 } 903 904 public void addBuildingUnit ( 908 org.opencrx.kernel.building1.cci.BuildingUnit newValue 909 ) { 910 refAddValue( 911 "org:opencrx:kernel:building1:Building:buildingUnit", 912 newValue 913 ); 914 } 915 916 public void removeBuildingUnit ( 920 String id 921 ) { 922 refRemoveValue( 923 "org:opencrx:kernel:building1:Building:buildingUnit", 924 id 925 ); 926 } 927 928 public void setAdditionalExternalLink( 932 java.util.List newValue 933 ) { 934 refSetValue("org:opencrx:kernel:generic:CrxObject:additionalExternalLink", newValue); 935 } 936 937 public void setAdditionalExternalLink( 938 org.opencrx.kernel.generic.cci.AdditionalExternalLink[] newValue 939 ) { 940 refSetValue("org:opencrx:kernel:generic:CrxObject:additionalExternalLink", newValue); 941 } 942 943 public org.opencrx.kernel.generic.cci.AdditionalExternalLink getAdditionalExternalLink( 947 String id 948 ) { 949 return (org.opencrx.kernel.generic.cci.AdditionalExternalLink)refGetValue( 950 "org:opencrx:kernel:generic:CrxObject:additionalExternalLink", 951 id 952 ); 953 } 954 955 public java.util.Collection getAdditionalExternalLink( 959 ) { 960 return (java.util.Collection )refGetValue( 961 "org:opencrx:kernel:generic:CrxObject:additionalExternalLink" 962 ); 963 } 964 965 public java.util.List getAdditionalExternalLink( 966 org.opencrx.kernel.generic.cci.AdditionalExternalLinkFilter filter 967 ) { 968 return ((org.openmdx.compatibility.base.collection.Container)refGetValue( 969 "org:opencrx:kernel:generic:CrxObject:additionalExternalLink" 970 )).toList(filter); 971 } 972 973 public void addAdditionalExternalLink ( 977 String id, 978 org.opencrx.kernel.generic.cci.AdditionalExternalLink newValue 979 ) { 980 refAddValue( 981 "org:opencrx:kernel:generic:CrxObject:additionalExternalLink", 982 id, 983 newValue 984 ); 985 } 986 987 public void addAdditionalExternalLink ( 991 org.opencrx.kernel.generic.cci.AdditionalExternalLink newValue 992 ) { 993 refAddValue( 994 "org:opencrx:kernel:generic:CrxObject:additionalExternalLink", 995 newValue 996 ); 997 } 998 999 public void removeAdditionalExternalLink ( 1003 String id 1004 ) { 1005 refRemoveValue( 1006 "org:opencrx:kernel:generic:CrxObject:additionalExternalLink", 1007 id 1008 ); 1009 } 1010 1011 public void setAttachedDocument( 1015 java.util.List newValue 1016 ) { 1017 refSetValue("org:opencrx:kernel:generic:CrxObject:attachedDocument", newValue); 1018 } 1019 1020 public void setAttachedDocument( 1021 org.opencrx.kernel.generic.cci.DocumentAttachment[] newValue 1022 ) { 1023 refSetValue("org:opencrx:kernel:generic:CrxObject:attachedDocument", newValue); 1024 } 1025 1026 public org.opencrx.kernel.generic.cci.DocumentAttachment getAttachedDocument( 1030 String id 1031 ) { 1032 return (org.opencrx.kernel.generic.cci.DocumentAttachment)refGetValue( 1033 "org:opencrx:kernel:generic:CrxObject:attachedDocument", 1034 id 1035 ); 1036 } 1037 1038 public java.util.Collection getAttachedDocument( 1042 ) { 1043 return (java.util.Collection )refGetValue( 1044 "org:opencrx:kernel:generic:CrxObject:attachedDocument" 1045 ); 1046 } 1047 1048 public java.util.List getAttachedDocument( 1049 org.opencrx.kernel.generic.cci.DocumentAttachmentFilter filter 1050 ) { 1051 return ((org.openmdx.compatibility.base.collection.Container)refGetValue( 1052 "org:opencrx:kernel:generic:CrxObject:attachedDocument" 1053 )).toList(filter); 1054 } 1055 1056 public void addAttachedDocument ( 1060 String id, 1061 org.opencrx.kernel.generic.cci.DocumentAttachment newValue 1062 ) { 1063 refAddValue( 1064 "org:opencrx:kernel:generic:CrxObject:attachedDocument", 1065 id, 1066 newValue 1067 ); 1068 } 1069 1070 public void addAttachedDocument ( 1074 org.opencrx.kernel.generic.cci.DocumentAttachment newValue 1075 ) { 1076 refAddValue( 1077 "org:opencrx:kernel:generic:CrxObject:attachedDocument", 1078 newValue 1079 ); 1080 } 1081 1082 public void removeAttachedDocument ( 1086 String id 1087 ) { 1088 refRemoveValue( 1089 "org:opencrx:kernel:generic:CrxObject:attachedDocument", 1090 id 1091 ); 1092 } 1093 1094 public java.util.List getCategory ( 1098 ) { 1099 return (java.util.List )this.refGetValue("category"); 1100 } 1101 public String getCategory( 1102 int index 1103 ) { 1104 return (String )this.refGetValue("org:opencrx:kernel:generic:CrxObject:category", index); 1105 } 1106 1107 public void setCategory( 1111 java.util.List newValue 1112 ) { 1113 refSetValue("org:opencrx:kernel:generic:CrxObject:category", newValue); 1114 } 1115 1116 public void setCategory( 1117 String [] newValue 1118 ) { 1119 refSetValue("org:opencrx:kernel:generic:CrxObject:category", newValue); 1120 } 1121 1122 public boolean isDisabled( 1126 ) { 1127 return isDisabled(0); 1128 } 1129 1130 protected boolean isDisabled( 1131 int index 1132 ) { 1133 return ((Boolean )this.refGetValue("org:opencrx:kernel:generic:CrxObject:disabled", index)).booleanValue(); 1134 } 1135 1136 public void setDisabled( 1140 boolean newValue 1141 ) { 1142 setDisabled(0, newValue); 1143 } 1144 1145 protected void setDisabled( 1146 int index, 1147 boolean newValue 1148 ) { 1149 refSetValue("org:opencrx:kernel:generic:CrxObject:disabled", index, new Boolean (newValue)); 1150 } 1151 public String getDisabledReason ( 1155 ) { 1156 return (String )this.refGetValue("disabledReason", 0); 1157 } 1158 public void setDisabledReason( 1162 String newValue 1163 ) { 1164 refSetValue("org:opencrx:kernel:generic:CrxObject:disabledReason", 0, newValue); 1165 } 1166 1167 public java.util.List getExternalLink ( 1171 ) { 1172 return (java.util.List )this.refGetValue("externalLink"); 1173 } 1174 public String getExternalLink( 1175 int index 1176 ) { 1177 return (String )this.refGetValue("org:opencrx:kernel:generic:CrxObject:externalLink", index); 1178 } 1179 1180 public void setExternalLink( 1184 java.util.List newValue 1185 ) { 1186 refSetValue("org:opencrx:kernel:generic:CrxObject:externalLink", newValue); 1187 } 1188 1189 public void setExternalLink( 1190 String [] newValue 1191 ) { 1192 refSetValue("org:opencrx:kernel:generic:CrxObject:externalLink", newValue); 1193 } 1194 1195 public void setMedia( 1199 java.util.List newValue 1200 ) { 1201 refSetValue("org:opencrx:kernel:generic:CrxObject:media", newValue); 1202 } 1203 1204 public void setMedia( 1205 org.opencrx.kernel.generic.cci.Media[] newValue 1206 ) { 1207 refSetValue("org:opencrx:kernel:generic:CrxObject:media", newValue); 1208 } 1209 1210 public org.opencrx.kernel.generic.cci.Media getMedia( 1214 String id 1215 ) { 1216 return (org.opencrx.kernel.generic.cci.Media)refGetValue( 1217 "org:opencrx:kernel:generic:CrxObject:media", 1218 id 1219 ); 1220 } 1221 1222 public java.util.Collection getMedia( 1226 ) { 1227 return (java.util.Collection )refGetValue( 1228 "org:opencrx:kernel:generic:CrxObject:media" 1229 ); 1230 } 1231 1232 public java.util.List getMedia( 1233 org.opencrx.kernel.generic.cci.MediaFilter filter 1234 ) { 1235 return ((org.openmdx.compatibility.base.collection.Container)refGetValue( 1236 "org:opencrx:kernel:generic:CrxObject:media" 1237 )).toList(filter); 1238 } 1239 1240 public void addMedia ( 1244 String id, 1245 org.opencrx.kernel.generic.cci.Media newValue 1246 ) { 1247 refAddValue( 1248 "org:opencrx:kernel:generic:CrxObject:media", 1249 id, 1250 newValue 1251 ); 1252 } 1253 1254 public void addMedia ( 1258 org.opencrx.kernel.generic.cci.Media newValue 1259 ) { 1260 refAddValue( 1261 "org:opencrx:kernel:generic:CrxObject:media", 1262 newValue 1263 ); 1264 } 1265 1266 public void removeMedia ( 1270 String id 1271 ) { 1272 refRemoveValue( 1273 "org:opencrx:kernel:generic:CrxObject:media", 1274 id 1275 ); 1276 } 1277 1278 public void setNote( 1282 java.util.List newValue 1283 ) { 1284 refSetValue("org:opencrx:kernel:generic:CrxObject:note", newValue); 1285 } 1286 1287 public void setNote( 1288 org.opencrx.kernel.generic.cci.Note[] newValue 1289 ) { 1290 refSetValue("org:opencrx:kernel:generic:CrxObject:note", newValue); 1291 } 1292 1293 public org.opencrx.kernel.generic.cci.Note getNote( 1297 String id 1298 ) { 1299 return (org.opencrx.kernel.generic.cci.Note)refGetValue( 1300 "org:opencrx:kernel:generic:CrxObject:note", 1301 id 1302 ); 1303 } 1304 1305 public java.util.Collection getNote( 1309 ) { 1310 return (java.util.Collection )refGetValue( 1311 "org:opencrx:kernel:generic:CrxObject:note" 1312 ); 1313 } 1314 1315 public java.util.List getNote( 1316 org.opencrx.kernel.generic.cci.NoteFilter filter 1317 ) { 1318 return ((org.openmdx.compatibility.base.collection.Container)refGetValue( 1319 "org:opencrx:kernel:generic:CrxObject:note" 1320 )).toList(filter); 1321 } 1322 1323 public void addNote ( 1327 String id, 1328 org.opencrx.kernel.generic.cci.Note newValue 1329 ) { 1330 refAddValue( 1331 "org:opencrx:kernel:generic:CrxObject:note", 1332 id, 1333 newValue 1334 ); 1335 } 1336 1337 public void addNote ( 1341 org.opencrx.kernel.generic.cci.Note newValue 1342 ) { 1343 refAddValue( 1344 "org:opencrx:kernel:generic:CrxObject:note", 1345 newValue 1346 ); 1347 } 1348 1349 public void removeNote ( 1353 String id 1354 ) { 1355 refRemoveValue( 1356 "org:opencrx:kernel:generic:CrxObject:note", 1357 id 1358 ); 1359 } 1360 1361 public void setRating( 1365 java.util.List newValue 1366 ) { 1367 refSetValue("org:opencrx:kernel:generic:CrxObject:rating", newValue); 1368 } 1369 1370 public void setRating( 1371 org.opencrx.kernel.generic.cci.Rating[] newValue 1372 ) { 1373 refSetValue("org:opencrx:kernel:generic:CrxObject:rating", newValue); 1374 } 1375 1376 public org.opencrx.kernel.generic.cci.Rating getRating( 1380 String id 1381 ) { 1382 return (org.opencrx.kernel.generic.cci.Rating)refGetValue( 1383 "org:opencrx:kernel:generic:CrxObject:rating", 1384 id 1385 ); 1386 } 1387 1388 public java.util.Collection getRating( 1392 ) { 1393 return (java.util.Collection )refGetValue( 1394 "org:opencrx:kernel:generic:CrxObject:rating" 1395 ); 1396 } 1397 1398 public java.util.List getRating( 1399 org.opencrx.kernel.generic.cci.RatingFilter filter 1400 ) { 1401 return ((org.openmdx.compatibility.base.collection.Container)refGetValue( 1402 "org:opencrx:kernel:generic:CrxObject:rating" 1403 )).toList(filter); 1404 } 1405 1406 public void addRating ( 1410 String id, 1411 org.opencrx.kernel.generic.cci.Rating newValue 1412 ) { 1413 refAddValue( 1414 "org:opencrx:kernel:generic:CrxObject:rating", 1415 id, 1416 newValue 1417 ); 1418 } 1419 1420 public void addRating ( 1424 org.opencrx.kernel.generic.cci.Rating newValue 1425 ) { 1426 refAddValue( 1427 "org:opencrx:kernel:generic:CrxObject:rating", 1428 newValue 1429 ); 1430 } 1431 1432 public void removeRating ( 1436 String id 1437 ) { 1438 refRemoveValue( 1439 "org:opencrx:kernel:generic:CrxObject:rating", 1440 id 1441 ); 1442 } 1443 1444 public Boolean isUserBoolean0 ( 1448 ) { 1449 return (Boolean )this.refGetValue("userBoolean0", 0); 1450 } 1451 public void setUserBoolean0( 1455 Boolean newValue 1456 ) { 1457 refSetValue("org:opencrx:kernel:generic:CrxObject:userBoolean0", 0, newValue); 1458 } 1459 1460 public Boolean isUserBoolean1 ( 1464 ) { 1465 return (Boolean )this.refGetValue("userBoolean1", 0); 1466 } 1467 public void setUserBoolean1( 1471 Boolean newValue 1472 ) { 1473 refSetValue("org:opencrx:kernel:generic:CrxObject:userBoolean1", 0, newValue); 1474 } 1475 1476 public Boolean isUserBoolean2 ( 1480 ) { 1481 return (Boolean )this.refGetValue("userBoolean2", 0); 1482 } 1483 public void setUserBoolean2( 1487 Boolean newValue 1488 ) { 1489 refSetValue("org:opencrx:kernel:generic:CrxObject:userBoolean2", 0, newValue); 1490 } 1491 1492 public Boolean isUserBoolean3 ( 1496 ) { 1497 return (Boolean )this.refGetValue("userBoolean3", 0); 1498 } 1499 public void setUserBoolean3( 1503 Boolean newValue 1504 ) { 1505 refSetValue("org:opencrx:kernel:generic:CrxObject:userBoolean3", 0, newValue); 1506 } 1507 1508 public java.util.List isUserBoolean4 ( 1512 ) { 1513 return (java.util.List )this.refGetValue("userBoolean4"); 1514 } 1515 public boolean isUserBoolean4( 1516 int index 1517 ) { 1518 return ((Boolean )this.refGetValue("org:opencrx:kernel:generic:CrxObject:userBoolean4", index)).booleanValue(); 1519 } 1520 1521 public void setUserBoolean4( 1525 java.util.List newValue 1526 ) { 1527 refSetValue("org:opencrx:kernel:generic:CrxObject:userBoolean4", newValue); 1528 } 1529 1530 public void setUserBoolean4( 1531 boolean[] newValue 1532 ) { 1533 refSetValue("org:opencrx:kernel:generic:CrxObject:userBoolean4", newValue); 1534 } 1535 1536 public Short getUserCode0 ( 1540 ) { 1541 return (Short )this.refGetValue("userCode0", 0); 1542 } 1543 public void setUserCode0( 1547 Short newValue 1548 ) { 1549 refSetValue("org:opencrx:kernel:generic:CrxObject:userCode0", 0, newValue); 1550 } 1551 1552 public Short getUserCode1 ( 1556 ) { 1557 return (Short )this.refGetValue("userCode1", 0); 1558 } 1559 public void setUserCode1( 1563 Short newValue 1564 ) { 1565 refSetValue("org:opencrx:kernel:generic:CrxObject:userCode1", 0, newValue); 1566 } 1567 1568 public Short getUserCode2 ( 1572 ) { 1573 return (Short )this.refGetValue("userCode2", 0); 1574 } 1575 public void setUserCode2( 1579 Short newValue 1580 ) { 1581 refSetValue("org:opencrx:kernel:generic:CrxObject:userCode2", 0, newValue); 1582 } 1583 1584 public Short getUserCode3 ( 1588 ) { 1589 return (Short )this.refGetValue("userCode3", 0); 1590 } 1591 public void setUserCode3( 1595 Short newValue 1596 ) { 1597 refSetValue("org:opencrx:kernel:generic:CrxObject:userCode3", 0, newValue); 1598 } 1599 1600 public java.util.List getUserCode4 ( 1604 ) { 1605 return (java.util.List )this.refGetValue("userCode4"); 1606 } 1607 public short getUserCode4( 1608 int index 1609 ) { 1610 return ((java.lang.Number )this.refGetValue("org:opencrx:kernel:generic:CrxObject:userCode4", index)).shortValue(); 1611 } 1612 1613 public void setUserCode4( 1617 java.util.List newValue 1618 ) { 1619 refSetValue("org:opencrx:kernel:generic:CrxObject:userCode4", newValue); 1620 } 1621 1622 public void setUserCode4( 1623 short[] newValue 1624 ) { 1625 refSetValue("org:opencrx:kernel:generic:CrxObject:userCode4", newValue); 1626 } 1627 1628 public org.openmdx.uses.javax.xml.datatype.XMLGregorianCalendar getUserDate0 ( 1632 ) { 1633 return (org.openmdx.uses.javax.xml.datatype.XMLGregorianCalendar)this.refGetValue("userDate0", 0); 1634 } 1635 public void setUserDate0( 1639 org.openmdx.uses.javax.xml.datatype.XMLGregorianCalendar newValue 1640 ) { 1641 refSetValue("org:opencrx:kernel:generic:CrxObject:userDate0", 0, newValue); 1642 } 1643 1644 public org.openmdx.uses.javax.xml.datatype.XMLGregorianCalendar getUserDate1 ( 1648 ) { 1649 return (org.openmdx.uses.javax.xml.datatype.XMLGregorianCalendar)this.refGetValue("userDate1", 0); 1650 } 1651 public void setUserDate1( 1655 org.openmdx.uses.javax.xml.datatype.XMLGregorianCalendar newValue 1656 ) { 1657 refSetValue("org:opencrx:kernel:generic:CrxObject:userDate1", 0, newValue); 1658 } 1659 1660 public org.openmdx.uses.javax.xml.datatype.XMLGregorianCalendar getUserDate2 ( 1664 ) { 1665 return (org.openmdx.uses.javax.xml.datatype.XMLGregorianCalendar)this.refGetValue("userDate2", 0); 1666 } 1667 public void setUserDate2( 1671 org.openmdx.uses.javax.xml.datatype.XMLGregorianCalendar newValue 1672 ) { 1673 refSetValue("org:opencrx:kernel:generic:CrxObject:userDate2", 0, newValue); 1674 } 1675 1676 public org.openmdx.uses.javax.xml.datatype.XMLGregorianCalendar getUserDate3 ( 1680 ) { 1681 return (org.openmdx.uses.javax.xml.datatype.XMLGregorianCalendar)this.refGetValue("userDate3", 0); 1682 } 1683 public void setUserDate3( 1687 org.openmdx.uses.javax.xml.datatype.XMLGregorianCalendar newValue 1688 ) { 1689 refSetValue("org:opencrx:kernel:generic:CrxObject:userDate3", 0, newValue); 1690 } 1691 1692 public java.util.List getUserDate4 ( 1696 ) { 1697 return (java.util.List )this.refGetValue("userDate4"); 1698 } 1699 public org.openmdx.uses.javax.xml.datatype.XMLGregorianCalendar getUserDate4( 1700 int index 1701 ) { 1702 return (org.openmdx.uses.javax.xml.datatype.XMLGregorianCalendar)this.refGetValue("org:opencrx:kernel:generic:CrxObject:userDate4", index); 1703 } 1704 1705 public void setUserDate4( 1709 java.util.List newValue 1710 ) { 1711 refSetValue("org:opencrx:kernel:generic:CrxObject:userDate4", newValue); 1712 } 1713 1714 public void setUserDate4( 1715 org.openmdx.uses.javax.xml.datatype.XMLGregorianCalendar[] newValue 1716 ) { 1717 refSetValue("org:opencrx:kernel:generic:CrxObject:userDate4", newValue); 1718 } 1719 1720 public java.util.Date getUserDateTime0 ( 1724 ) { 1725 return (java.util.Date )this.refGetValue("userDateTime0", 0); 1726 } 1727 public void setUserDateTime0( 1731 java.util.Date newValue 1732 ) { 1733 refSetValue("org:opencrx:kernel:generic:CrxObject:userDateTime0", 0, newValue); 1734 } 1735 1736 public java.util.Date getUserDateTime1 ( 1740 ) { 1741 return (java.util.Date )this.refGetValue("userDateTime1", 0); 1742 } 1743 public void setUserDateTime1( 1747 java.util.Date newValue 1748 ) { 1749 refSetValue("org:opencrx:kernel:generic:CrxObject:userDateTime1", 0, newValue); 1750 } 1751 1752 public java.util.Date getUserDateTime2 ( 1756 ) { 1757 return (java.util.Date )this.refGetValue("userDateTime2", 0); 1758 } 1759 public void setUserDateTime2( 1763 java.util.Date newValue 1764 ) { 1765 refSetValue("org:opencrx:kernel:generic:CrxObject:userDateTime2", 0, newValue); 1766 } 1767 1768 public java.util.Date getUserDateTime3 ( 1772 ) { 1773 return (java.util.Date )this.refGetValue("userDateTime3", 0); 1774 } 1775 public void setUserDateTime3( 1779 java.util.Date newValue 1780 ) { 1781 refSetValue("org:opencrx:kernel:generic:CrxObject:userDateTime3", 0, newValue); 1782 } 1783 1784 public java.util.List getUserDateTime4 ( 1788 ) { 1789 return (java.util.List )this.refGetValue("userDateTime4"); 1790 } 1791 public java.util.Date getUserDateTime4( 1792 int index 1793 ) { 1794 return (java.util.Date )this.refGetValue("org:opencrx:kernel:generic:CrxObject:userDateTime4", index); 1795 } 1796 1797 public void setUserDateTime4( 1801 java.util.List newValue 1802 ) { 1803 refSetValue("org:opencrx:kernel:generic:CrxObject:userDateTime4", newValue); 1804 } 1805 1806 public void setUserDateTime4( 1807 java.util.Date [] newValue 1808 ) { 1809 refSetValue("org:opencrx:kernel:generic:CrxObject:userDateTime4", newValue); 1810 } 1811 1812 public java.math.BigDecimal getUserNumber0 ( 1816 ) { 1817 return (java.math.BigDecimal )this.refGetValue("userNumber0", 0); 1818 } 1819 public void setUserNumber0( 1823 java.math.BigDecimal newValue 1824 ) { 1825 refSetValue("org:opencrx:kernel:generic:CrxObject:userNumber0", 0, newValue); 1826 } 1827 1828 public java.math.BigDecimal getUserNumber1 ( 1832 ) { 1833 return (java.math.BigDecimal )this.refGetValue("userNumber1", 0); 1834 } 1835 public void setUserNumber1( 1839 java.math.BigDecimal newValue 1840 ) { 1841 refSetValue("org:opencrx:kernel:generic:CrxObject:userNumber1", 0, newValue); 1842 } 1843 1844 public java.math.BigDecimal getUserNumber2 ( 1848 ) { 1849 return (java.math.BigDecimal )this.refGetValue("userNumber2", 0); 1850 } 1851 public void setUserNumber2( 1855 java.math.BigDecimal newValue 1856 ) { 1857 refSetValue("org:opencrx:kernel:generic:CrxObject:userNumber2", 0, newValue); 1858 } 1859 1860 public java.math.BigDecimal getUserNumber3 ( 1864 ) { 1865 return (java.math.BigDecimal )this.refGetValue("userNumber3", 0); 1866 } 1867 public void setUserNumber3( 1871 java.math.BigDecimal newValue 1872 ) { 1873 refSetValue("org:opencrx:kernel:generic:CrxObject:userNumber3", 0, newValue); 1874 } 1875 1876 public java.util.List getUserNumber4 ( 1880 ) { 1881 return (java.util.List )this.refGetValue("userNumber4"); 1882 } 1883 public java.math.BigDecimal getUserNumber4( 1884 int index 1885 ) { 1886 return (java.math.BigDecimal )this.refGetValue("org:opencrx:kernel:generic:CrxObject:userNumber4", index); 1887 } 1888 1889 public void setUserNumber4( 1893 java.util.List newValue 1894 ) { 1895 refSetValue("org:opencrx:kernel:generic:CrxObject:userNumber4", newValue); 1896 } 1897 1898 public void setUserNumber4( 1899 java.math.BigDecimal [] newValue 1900 ) { 1901 refSetValue("org:opencrx:kernel:generic:CrxObject:userNumber4", newValue); 1902 } 1903 1904 public String getUserString0 ( 1908 ) { 1909 return (String )this.refGetValue("userString0", 0); 1910 } 1911 public void setUserString0( 1915 String newValue 1916 ) { 1917 refSetValue("org:opencrx:kernel:generic:CrxObject:userString0", 0, newValue); 1918 } 1919 1920 public String getUserString1 ( 1924 ) { 1925 return (String )this.refGetValue("userString1", 0); 1926 } 1927 public void setUserString1( 1931 String newValue 1932 ) { 1933 refSetValue("org:opencrx:kernel:generic:CrxObject:userString1", 0, newValue); 1934 } 1935 1936 public String getUserString2 ( 1940 ) { 1941 return (String )this.refGetValue("userString2", 0); 1942 } 1943 public void setUserString2( 1947 String newValue 1948 ) { 1949 refSetValue("org:opencrx:kernel:generic:CrxObject:userString2", 0, newValue); 1950 } 1951 1952 public String getUserString3 ( 1956 ) { 1957 return (String )this.refGetValue("userString3", 0); 1958 } 1959 public void setUserString3( 1963 String newValue 1964 ) { 1965 refSetValue("org:opencrx:kernel:generic:CrxObject:userString3", 0, newValue); 1966 } 1967 1968 public java.util.List getUserString4 ( 1972 ) { 1973 return (java.util.List )this.refGetValue("userString4"); 1974 } 1975 public String getUserString4( 1976 int index 1977 ) { 1978 return (String )this.refGetValue("org:opencrx:kernel:generic:CrxObject:userString4", index); 1979 } 1980 1981 public void setUserString4( 1985 java.util.List newValue 1986 ) { 1987 refSetValue("org:opencrx:kernel:generic:CrxObject:userString4", newValue); 1988 } 1989 1990 public void setUserString4( 1991 String [] newValue 1992 ) { 1993 refSetValue("org:opencrx:kernel:generic:CrxObject:userString4", newValue); 1994 } 1995 1996 public org.opencrx.kernel.document1.cci.Media getPicture( 2000 ) { 2001 return (org.opencrx.kernel.document1.cci.Media)refGetValue( 2002 "org:opencrx:kernel:generic:Pictured:picture" 2003 ); 2004 } 2005 2006 public void setPicture( 2010 org.opencrx.kernel.document1.cci.Media newValue 2011 ) { 2012 refSetValue( 2013 "org:opencrx:kernel:generic:Pictured:picture", 2014 newValue 2015 ); 2016 } 2017 2018 public void removePicture ( 2022 ) { 2023 refRemoveValue( 2024 "org:opencrx:kernel:generic:Pictured:picture" 2025 ); 2026 } 2027 public byte[] getPictureContent ( 2031 ) { 2032 return (byte[])this.refGetValue("pictureContent", 0); 2033 } 2034 protected void setPictureContent( 2038 byte[] newValue 2039 ) { 2040 refSetValue("org:opencrx:kernel:generic:Pictured:pictureContent", 0, newValue); 2041 } 2042 2043 public String getPictureContentMimeType ( 2047 ) { 2048 return (String )this.refGetValue("pictureContentMimeType", 0); 2049 } 2050 protected void setPictureContentMimeType( 2054 String newValue 2055 ) { 2056 refSetValue("org:opencrx:kernel:generic:Pictured:pictureContentMimeType", 0, newValue); 2057 } 2058 2059 public String getPictureContentName ( 2063 ) { 2064 return (String )this.refGetValue("pictureContentName", 0); 2065 } 2066 protected void setPictureContentName( 2070 String newValue 2071 ) { 2072 refSetValue("org:opencrx:kernel:generic:Pictured:pictureContentName", 0, newValue); 2073 } 2074 2075 public java.util.Date getCreatedAt( 2079 ) { 2080 return getCreatedAt(0); 2081 } 2082 2083 protected java.util.Date getCreatedAt( 2084 int index 2085 ) { 2086 return (java.util.Date )this.refGetValue("org:openmdx:base:BasicObject:createdAt", index); 2087 } 2088 2089 protected void setCreatedAt( 2093 java.util.Date newValue 2094 ) { 2095 setCreatedAt(0, newValue); 2096 } 2097 2098 protected void setCreatedAt( 2099 int index, 2100 java.util.Date newValue 2101 ) { 2102 refSetValue("org:openmdx:base:BasicObject:createdAt", index, newValue); 2103 } 2104 public java.util.Set getCreatedBy ( 2108 ) { 2109 return (java.util.Set )this.refGetValue("createdBy"); 2110 } 2111 protected void setCreatedBy( 2115 java.util.Set newValue 2116 ) { 2117 refSetValue("org:openmdx:base:BasicObject:createdBy", newValue); 2118 } 2119 2120 protected void setCreatedBy( 2121 String [] newValue 2122 ) { 2123 refSetValue("org:openmdx:base:BasicObject:createdBy", newValue); 2124 } 2125 2126 public java.util.Date getModifiedAt( 2130 ) { 2131 return getModifiedAt(0); 2132 } 2133 2134 protected java.util.Date getModifiedAt( 2135 int index 2136 ) { 2137 return (java.util.Date )this.refGetValue("org:openmdx:base:BasicObject:modifiedAt", index); 2138 } 2139 2140 protected void setModifiedAt( 2144 java.util.Date newValue 2145 ) { 2146 setModifiedAt(0, newValue); 2147 } 2148 2149 protected void setModifiedAt( 2150 int index, 2151 java.util.Date newValue 2152 ) { 2153 refSetValue("org:openmdx:base:BasicObject:modifiedAt", index, newValue); 2154 } 2155 public java.util.Set getModifiedBy ( 2159 ) { 2160 return (java.util.Set )this.refGetValue("modifiedBy"); 2161 } 2162 protected void setModifiedBy( 2166 java.util.Set newValue 2167 ) { 2168 refSetValue("org:openmdx:base:BasicObject:modifiedBy", newValue); 2169 } 2170 2171 protected void setModifiedBy( 2172 String [] newValue 2173 ) { 2174 refSetValue("org:openmdx:base:BasicObject:modifiedBy", newValue); 2175 } 2176 2177 protected void setContext( 2181 java.util.List newValue 2182 ) { 2183 refSetValue("org:openmdx:base:ContextCapable:context", newValue); 2184 } 2185 2186 protected void setContext( 2187 org.openmdx.base.cci.Context[] newValue 2188 ) { 2189 refSetValue("org:openmdx:base:ContextCapable:context", newValue); 2190 } 2191 2192 public org.openmdx.base.cci.Context getContext( 2196 String id 2197 ) { 2198 return (org.openmdx.base.cci.Context)refGetValue( 2199 "org:openmdx:base:ContextCapable:context", 2200 id 2201 ); 2202 } 2203 2204 public java.util.Collection getContext( 2208 ) { 2209 return (java.util.Collection )refGetValue( 2210 "org:openmdx:base:ContextCapable:context" 2211 ); 2212 } 2213 2214 protected void addContext ( 2218 String id, 2219 org.openmdx.base.cci.Context newValue 2220 ) { 2221 refAddValue( 2222 "org:openmdx:base:ContextCapable:context", 2223 id, 2224 newValue 2225 ); 2226 } 2227 2228 protected void addContext ( 2232 org.openmdx.base.cci.Context newValue 2233 ) { 2234 refAddValue( 2235 "org:openmdx:base:ContextCapable:context", 2236 newValue 2237 ); 2238 } 2239 2240 protected void removeContext ( 2244 String id 2245 ) { 2246 refRemoveValue( 2247 "org:openmdx:base:ContextCapable:context", 2248 id 2249 ); 2250 } 2251 2252 public String getIdentity( 2256 ) { 2257 return getIdentity(0); 2258 } 2259 2260 protected String getIdentity( 2261 int index 2262 ) { 2263 return (String )this.refGetValue("org:openmdx:base:ExtentCapable:identity", index); 2264 } 2265 2266 protected void setIdentity( 2270 String newValue 2271 ) { 2272 setIdentity(0, newValue); 2273 } 2274 2275 protected void setIdentity( 2276 int index, 2277 String newValue 2278 ) { 2279 refSetValue("org:openmdx:base:ExtentCapable:identity", index, newValue); 2280 } 2281 protected void setView( 2285 java.util.List newValue 2286 ) { 2287 refSetValue("org:openmdx:compatibility:view1:ViewCapable:view", newValue); 2288 } 2289 2290 protected void setView( 2291 org.openmdx.compatibility.view1.cci.View[] newValue 2292 ) { 2293 refSetValue("org:openmdx:compatibility:view1:ViewCapable:view", newValue); 2294 } 2295 2296 public org.openmdx.compatibility.view1.cci.View getView( 2300 String namespace 2301 ) { 2302 return (org.openmdx.compatibility.view1.cci.View)refGetValue( 2303 "org:openmdx:compatibility:view1:ViewCapable:view", 2304 namespace 2305 ); 2306 } 2307 2308 public java.util.Collection getView( 2312 ) { 2313 return (java.util.Collection )refGetValue( 2314 "org:openmdx:compatibility:view1:ViewCapable:view" 2315 ); 2316 } 2317 2318 public java.util.List getView( 2319 org.openmdx.compatibility.view1.cci.ViewFilter filter 2320 ) { 2321 return ((org.openmdx.compatibility.base.collection.Container)refGetValue( 2322 "org:openmdx:compatibility:view1:ViewCapable:view" 2323 )).toList(filter); 2324 } 2325 2326 protected void addView ( 2330 String namespace, 2331 org.openmdx.compatibility.view1.cci.View newValue 2332 ) { 2333 refAddValue( 2334 "org:openmdx:compatibility:view1:ViewCapable:view", 2335 namespace, 2336 newValue 2337 ); 2338 } 2339 2340 protected void addView ( 2344 org.openmdx.compatibility.view1.cci.View newValue 2345 ) { 2346 refAddValue( 2347 "org:openmdx:compatibility:view1:ViewCapable:view", 2348 newValue 2349 ); 2350 } 2351 2352 protected void removeView ( 2356 String namespace 2357 ) { 2358 refRemoveValue( 2359 "org:openmdx:compatibility:view1:ViewCapable:view", 2360 namespace 2361 ); 2362 } 2363 2364} 2368 | Popular Tags |