1 package org.opencrx.kernel.building1.cci; 14 15 public class BuildingUnitImpl 16 extends org.openmdx.base.accessor.jmi.spi.RefObject_1 17 implements BuildingUnit { 18 19 public BuildingUnitImpl( 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 short getBuildingUnitType( 818 ) { 819 return getBuildingUnitType(0); 820 } 821 822 protected short getBuildingUnitType( 823 int index 824 ) { 825 return ((java.lang.Number )this.refGetValue("org:opencrx:kernel:building1:BuildingUnit:buildingUnitType", index)).shortValue(); 826 } 827 828 public void setBuildingUnitType( 832 short newValue 833 ) { 834 setBuildingUnitType(0, newValue); 835 } 836 837 protected void setBuildingUnitType( 838 int index, 839 short newValue 840 ) { 841 refSetValue("org:opencrx:kernel:building1:BuildingUnit:buildingUnitType", index, new Short (newValue)); 842 } 843 public org.opencrx.kernel.building1.cci.BuildingUnit getParent( 847 ) { 848 return (org.opencrx.kernel.building1.cci.BuildingUnit)refGetValue( 849 "org:opencrx:kernel:building1:BuildingUnit:parent" 850 ); 851 } 852 853 public void setParent( 857 org.opencrx.kernel.building1.cci.BuildingUnit newValue 858 ) { 859 refSetValue( 860 "org:opencrx:kernel:building1:BuildingUnit:parent", 861 newValue 862 ); 863 } 864 865 public void removeParent ( 869 ) { 870 refRemoveValue( 871 "org:opencrx:kernel:building1:BuildingUnit:parent" 872 ); 873 } 874 public void setAdditionalExternalLink( 878 java.util.List newValue 879 ) { 880 refSetValue("org:opencrx:kernel:generic:CrxObject:additionalExternalLink", newValue); 881 } 882 883 public void setAdditionalExternalLink( 884 org.opencrx.kernel.generic.cci.AdditionalExternalLink[] newValue 885 ) { 886 refSetValue("org:opencrx:kernel:generic:CrxObject:additionalExternalLink", newValue); 887 } 888 889 public org.opencrx.kernel.generic.cci.AdditionalExternalLink getAdditionalExternalLink( 893 String id 894 ) { 895 return (org.opencrx.kernel.generic.cci.AdditionalExternalLink)refGetValue( 896 "org:opencrx:kernel:generic:CrxObject:additionalExternalLink", 897 id 898 ); 899 } 900 901 public java.util.Collection getAdditionalExternalLink( 905 ) { 906 return (java.util.Collection )refGetValue( 907 "org:opencrx:kernel:generic:CrxObject:additionalExternalLink" 908 ); 909 } 910 911 public java.util.List getAdditionalExternalLink( 912 org.opencrx.kernel.generic.cci.AdditionalExternalLinkFilter filter 913 ) { 914 return ((org.openmdx.compatibility.base.collection.Container)refGetValue( 915 "org:opencrx:kernel:generic:CrxObject:additionalExternalLink" 916 )).toList(filter); 917 } 918 919 public void addAdditionalExternalLink ( 923 String id, 924 org.opencrx.kernel.generic.cci.AdditionalExternalLink newValue 925 ) { 926 refAddValue( 927 "org:opencrx:kernel:generic:CrxObject:additionalExternalLink", 928 id, 929 newValue 930 ); 931 } 932 933 public void addAdditionalExternalLink ( 937 org.opencrx.kernel.generic.cci.AdditionalExternalLink newValue 938 ) { 939 refAddValue( 940 "org:opencrx:kernel:generic:CrxObject:additionalExternalLink", 941 newValue 942 ); 943 } 944 945 public void removeAdditionalExternalLink ( 949 String id 950 ) { 951 refRemoveValue( 952 "org:opencrx:kernel:generic:CrxObject:additionalExternalLink", 953 id 954 ); 955 } 956 957 public void setAttachedDocument( 961 java.util.List newValue 962 ) { 963 refSetValue("org:opencrx:kernel:generic:CrxObject:attachedDocument", newValue); 964 } 965 966 public void setAttachedDocument( 967 org.opencrx.kernel.generic.cci.DocumentAttachment[] newValue 968 ) { 969 refSetValue("org:opencrx:kernel:generic:CrxObject:attachedDocument", newValue); 970 } 971 972 public org.opencrx.kernel.generic.cci.DocumentAttachment getAttachedDocument( 976 String id 977 ) { 978 return (org.opencrx.kernel.generic.cci.DocumentAttachment)refGetValue( 979 "org:opencrx:kernel:generic:CrxObject:attachedDocument", 980 id 981 ); 982 } 983 984 public java.util.Collection getAttachedDocument( 988 ) { 989 return (java.util.Collection )refGetValue( 990 "org:opencrx:kernel:generic:CrxObject:attachedDocument" 991 ); 992 } 993 994 public java.util.List getAttachedDocument( 995 org.opencrx.kernel.generic.cci.DocumentAttachmentFilter filter 996 ) { 997 return ((org.openmdx.compatibility.base.collection.Container)refGetValue( 998 "org:opencrx:kernel:generic:CrxObject:attachedDocument" 999 )).toList(filter); 1000 } 1001 1002 public void addAttachedDocument ( 1006 String id, 1007 org.opencrx.kernel.generic.cci.DocumentAttachment newValue 1008 ) { 1009 refAddValue( 1010 "org:opencrx:kernel:generic:CrxObject:attachedDocument", 1011 id, 1012 newValue 1013 ); 1014 } 1015 1016 public void addAttachedDocument ( 1020 org.opencrx.kernel.generic.cci.DocumentAttachment newValue 1021 ) { 1022 refAddValue( 1023 "org:opencrx:kernel:generic:CrxObject:attachedDocument", 1024 newValue 1025 ); 1026 } 1027 1028 public void removeAttachedDocument ( 1032 String id 1033 ) { 1034 refRemoveValue( 1035 "org:opencrx:kernel:generic:CrxObject:attachedDocument", 1036 id 1037 ); 1038 } 1039 1040 public java.util.List getCategory ( 1044 ) { 1045 return (java.util.List )this.refGetValue("category"); 1046 } 1047 public String getCategory( 1048 int index 1049 ) { 1050 return (String )this.refGetValue("org:opencrx:kernel:generic:CrxObject:category", index); 1051 } 1052 1053 public void setCategory( 1057 java.util.List newValue 1058 ) { 1059 refSetValue("org:opencrx:kernel:generic:CrxObject:category", newValue); 1060 } 1061 1062 public void setCategory( 1063 String [] newValue 1064 ) { 1065 refSetValue("org:opencrx:kernel:generic:CrxObject:category", newValue); 1066 } 1067 1068 public boolean isDisabled( 1072 ) { 1073 return isDisabled(0); 1074 } 1075 1076 protected boolean isDisabled( 1077 int index 1078 ) { 1079 return ((Boolean )this.refGetValue("org:opencrx:kernel:generic:CrxObject:disabled", index)).booleanValue(); 1080 } 1081 1082 public void setDisabled( 1086 boolean newValue 1087 ) { 1088 setDisabled(0, newValue); 1089 } 1090 1091 protected void setDisabled( 1092 int index, 1093 boolean newValue 1094 ) { 1095 refSetValue("org:opencrx:kernel:generic:CrxObject:disabled", index, new Boolean (newValue)); 1096 } 1097 public String getDisabledReason ( 1101 ) { 1102 return (String )this.refGetValue("disabledReason", 0); 1103 } 1104 public void setDisabledReason( 1108 String newValue 1109 ) { 1110 refSetValue("org:opencrx:kernel:generic:CrxObject:disabledReason", 0, newValue); 1111 } 1112 1113 public java.util.List getExternalLink ( 1117 ) { 1118 return (java.util.List )this.refGetValue("externalLink"); 1119 } 1120 public String getExternalLink( 1121 int index 1122 ) { 1123 return (String )this.refGetValue("org:opencrx:kernel:generic:CrxObject:externalLink", index); 1124 } 1125 1126 public void setExternalLink( 1130 java.util.List newValue 1131 ) { 1132 refSetValue("org:opencrx:kernel:generic:CrxObject:externalLink", newValue); 1133 } 1134 1135 public void setExternalLink( 1136 String [] newValue 1137 ) { 1138 refSetValue("org:opencrx:kernel:generic:CrxObject:externalLink", newValue); 1139 } 1140 1141 public void setMedia( 1145 java.util.List newValue 1146 ) { 1147 refSetValue("org:opencrx:kernel:generic:CrxObject:media", newValue); 1148 } 1149 1150 public void setMedia( 1151 org.opencrx.kernel.generic.cci.Media[] newValue 1152 ) { 1153 refSetValue("org:opencrx:kernel:generic:CrxObject:media", newValue); 1154 } 1155 1156 public org.opencrx.kernel.generic.cci.Media getMedia( 1160 String id 1161 ) { 1162 return (org.opencrx.kernel.generic.cci.Media)refGetValue( 1163 "org:opencrx:kernel:generic:CrxObject:media", 1164 id 1165 ); 1166 } 1167 1168 public java.util.Collection getMedia( 1172 ) { 1173 return (java.util.Collection )refGetValue( 1174 "org:opencrx:kernel:generic:CrxObject:media" 1175 ); 1176 } 1177 1178 public java.util.List getMedia( 1179 org.opencrx.kernel.generic.cci.MediaFilter filter 1180 ) { 1181 return ((org.openmdx.compatibility.base.collection.Container)refGetValue( 1182 "org:opencrx:kernel:generic:CrxObject:media" 1183 )).toList(filter); 1184 } 1185 1186 public void addMedia ( 1190 String id, 1191 org.opencrx.kernel.generic.cci.Media newValue 1192 ) { 1193 refAddValue( 1194 "org:opencrx:kernel:generic:CrxObject:media", 1195 id, 1196 newValue 1197 ); 1198 } 1199 1200 public void addMedia ( 1204 org.opencrx.kernel.generic.cci.Media newValue 1205 ) { 1206 refAddValue( 1207 "org:opencrx:kernel:generic:CrxObject:media", 1208 newValue 1209 ); 1210 } 1211 1212 public void removeMedia ( 1216 String id 1217 ) { 1218 refRemoveValue( 1219 "org:opencrx:kernel:generic:CrxObject:media", 1220 id 1221 ); 1222 } 1223 1224 public void setNote( 1228 java.util.List newValue 1229 ) { 1230 refSetValue("org:opencrx:kernel:generic:CrxObject:note", newValue); 1231 } 1232 1233 public void setNote( 1234 org.opencrx.kernel.generic.cci.Note[] newValue 1235 ) { 1236 refSetValue("org:opencrx:kernel:generic:CrxObject:note", newValue); 1237 } 1238 1239 public org.opencrx.kernel.generic.cci.Note getNote( 1243 String id 1244 ) { 1245 return (org.opencrx.kernel.generic.cci.Note)refGetValue( 1246 "org:opencrx:kernel:generic:CrxObject:note", 1247 id 1248 ); 1249 } 1250 1251 public java.util.Collection getNote( 1255 ) { 1256 return (java.util.Collection )refGetValue( 1257 "org:opencrx:kernel:generic:CrxObject:note" 1258 ); 1259 } 1260 1261 public java.util.List getNote( 1262 org.opencrx.kernel.generic.cci.NoteFilter filter 1263 ) { 1264 return ((org.openmdx.compatibility.base.collection.Container)refGetValue( 1265 "org:opencrx:kernel:generic:CrxObject:note" 1266 )).toList(filter); 1267 } 1268 1269 public void addNote ( 1273 String id, 1274 org.opencrx.kernel.generic.cci.Note newValue 1275 ) { 1276 refAddValue( 1277 "org:opencrx:kernel:generic:CrxObject:note", 1278 id, 1279 newValue 1280 ); 1281 } 1282 1283 public void addNote ( 1287 org.opencrx.kernel.generic.cci.Note newValue 1288 ) { 1289 refAddValue( 1290 "org:opencrx:kernel:generic:CrxObject:note", 1291 newValue 1292 ); 1293 } 1294 1295 public void removeNote ( 1299 String id 1300 ) { 1301 refRemoveValue( 1302 "org:opencrx:kernel:generic:CrxObject:note", 1303 id 1304 ); 1305 } 1306 1307 public void setRating( 1311 java.util.List newValue 1312 ) { 1313 refSetValue("org:opencrx:kernel:generic:CrxObject:rating", newValue); 1314 } 1315 1316 public void setRating( 1317 org.opencrx.kernel.generic.cci.Rating[] newValue 1318 ) { 1319 refSetValue("org:opencrx:kernel:generic:CrxObject:rating", newValue); 1320 } 1321 1322 public org.opencrx.kernel.generic.cci.Rating getRating( 1326 String id 1327 ) { 1328 return (org.opencrx.kernel.generic.cci.Rating)refGetValue( 1329 "org:opencrx:kernel:generic:CrxObject:rating", 1330 id 1331 ); 1332 } 1333 1334 public java.util.Collection getRating( 1338 ) { 1339 return (java.util.Collection )refGetValue( 1340 "org:opencrx:kernel:generic:CrxObject:rating" 1341 ); 1342 } 1343 1344 public java.util.List getRating( 1345 org.opencrx.kernel.generic.cci.RatingFilter filter 1346 ) { 1347 return ((org.openmdx.compatibility.base.collection.Container)refGetValue( 1348 "org:opencrx:kernel:generic:CrxObject:rating" 1349 )).toList(filter); 1350 } 1351 1352 public void addRating ( 1356 String id, 1357 org.opencrx.kernel.generic.cci.Rating newValue 1358 ) { 1359 refAddValue( 1360 "org:opencrx:kernel:generic:CrxObject:rating", 1361 id, 1362 newValue 1363 ); 1364 } 1365 1366 public void addRating ( 1370 org.opencrx.kernel.generic.cci.Rating newValue 1371 ) { 1372 refAddValue( 1373 "org:opencrx:kernel:generic:CrxObject:rating", 1374 newValue 1375 ); 1376 } 1377 1378 public void removeRating ( 1382 String id 1383 ) { 1384 refRemoveValue( 1385 "org:opencrx:kernel:generic:CrxObject:rating", 1386 id 1387 ); 1388 } 1389 1390 public Boolean isUserBoolean0 ( 1394 ) { 1395 return (Boolean )this.refGetValue("userBoolean0", 0); 1396 } 1397 public void setUserBoolean0( 1401 Boolean newValue 1402 ) { 1403 refSetValue("org:opencrx:kernel:generic:CrxObject:userBoolean0", 0, newValue); 1404 } 1405 1406 public Boolean isUserBoolean1 ( 1410 ) { 1411 return (Boolean )this.refGetValue("userBoolean1", 0); 1412 } 1413 public void setUserBoolean1( 1417 Boolean newValue 1418 ) { 1419 refSetValue("org:opencrx:kernel:generic:CrxObject:userBoolean1", 0, newValue); 1420 } 1421 1422 public Boolean isUserBoolean2 ( 1426 ) { 1427 return (Boolean )this.refGetValue("userBoolean2", 0); 1428 } 1429 public void setUserBoolean2( 1433 Boolean newValue 1434 ) { 1435 refSetValue("org:opencrx:kernel:generic:CrxObject:userBoolean2", 0, newValue); 1436 } 1437 1438 public Boolean isUserBoolean3 ( 1442 ) { 1443 return (Boolean )this.refGetValue("userBoolean3", 0); 1444 } 1445 public void setUserBoolean3( 1449 Boolean newValue 1450 ) { 1451 refSetValue("org:opencrx:kernel:generic:CrxObject:userBoolean3", 0, newValue); 1452 } 1453 1454 public java.util.List isUserBoolean4 ( 1458 ) { 1459 return (java.util.List )this.refGetValue("userBoolean4"); 1460 } 1461 public boolean isUserBoolean4( 1462 int index 1463 ) { 1464 return ((Boolean )this.refGetValue("org:opencrx:kernel:generic:CrxObject:userBoolean4", index)).booleanValue(); 1465 } 1466 1467 public void setUserBoolean4( 1471 java.util.List newValue 1472 ) { 1473 refSetValue("org:opencrx:kernel:generic:CrxObject:userBoolean4", newValue); 1474 } 1475 1476 public void setUserBoolean4( 1477 boolean[] newValue 1478 ) { 1479 refSetValue("org:opencrx:kernel:generic:CrxObject:userBoolean4", newValue); 1480 } 1481 1482 public Short getUserCode0 ( 1486 ) { 1487 return (Short )this.refGetValue("userCode0", 0); 1488 } 1489 public void setUserCode0( 1493 Short newValue 1494 ) { 1495 refSetValue("org:opencrx:kernel:generic:CrxObject:userCode0", 0, newValue); 1496 } 1497 1498 public Short getUserCode1 ( 1502 ) { 1503 return (Short )this.refGetValue("userCode1", 0); 1504 } 1505 public void setUserCode1( 1509 Short newValue 1510 ) { 1511 refSetValue("org:opencrx:kernel:generic:CrxObject:userCode1", 0, newValue); 1512 } 1513 1514 public Short getUserCode2 ( 1518 ) { 1519 return (Short )this.refGetValue("userCode2", 0); 1520 } 1521 public void setUserCode2( 1525 Short newValue 1526 ) { 1527 refSetValue("org:opencrx:kernel:generic:CrxObject:userCode2", 0, newValue); 1528 } 1529 1530 public Short getUserCode3 ( 1534 ) { 1535 return (Short )this.refGetValue("userCode3", 0); 1536 } 1537 public void setUserCode3( 1541 Short newValue 1542 ) { 1543 refSetValue("org:opencrx:kernel:generic:CrxObject:userCode3", 0, newValue); 1544 } 1545 1546 public java.util.List getUserCode4 ( 1550 ) { 1551 return (java.util.List )this.refGetValue("userCode4"); 1552 } 1553 public short getUserCode4( 1554 int index 1555 ) { 1556 return ((java.lang.Number )this.refGetValue("org:opencrx:kernel:generic:CrxObject:userCode4", index)).shortValue(); 1557 } 1558 1559 public void setUserCode4( 1563 java.util.List newValue 1564 ) { 1565 refSetValue("org:opencrx:kernel:generic:CrxObject:userCode4", newValue); 1566 } 1567 1568 public void setUserCode4( 1569 short[] newValue 1570 ) { 1571 refSetValue("org:opencrx:kernel:generic:CrxObject:userCode4", newValue); 1572 } 1573 1574 public org.openmdx.uses.javax.xml.datatype.XMLGregorianCalendar getUserDate0 ( 1578 ) { 1579 return (org.openmdx.uses.javax.xml.datatype.XMLGregorianCalendar)this.refGetValue("userDate0", 0); 1580 } 1581 public void setUserDate0( 1585 org.openmdx.uses.javax.xml.datatype.XMLGregorianCalendar newValue 1586 ) { 1587 refSetValue("org:opencrx:kernel:generic:CrxObject:userDate0", 0, newValue); 1588 } 1589 1590 public org.openmdx.uses.javax.xml.datatype.XMLGregorianCalendar getUserDate1 ( 1594 ) { 1595 return (org.openmdx.uses.javax.xml.datatype.XMLGregorianCalendar)this.refGetValue("userDate1", 0); 1596 } 1597 public void setUserDate1( 1601 org.openmdx.uses.javax.xml.datatype.XMLGregorianCalendar newValue 1602 ) { 1603 refSetValue("org:opencrx:kernel:generic:CrxObject:userDate1", 0, newValue); 1604 } 1605 1606 public org.openmdx.uses.javax.xml.datatype.XMLGregorianCalendar getUserDate2 ( 1610 ) { 1611 return (org.openmdx.uses.javax.xml.datatype.XMLGregorianCalendar)this.refGetValue("userDate2", 0); 1612 } 1613 public void setUserDate2( 1617 org.openmdx.uses.javax.xml.datatype.XMLGregorianCalendar newValue 1618 ) { 1619 refSetValue("org:opencrx:kernel:generic:CrxObject:userDate2", 0, newValue); 1620 } 1621 1622 public org.openmdx.uses.javax.xml.datatype.XMLGregorianCalendar getUserDate3 ( 1626 ) { 1627 return (org.openmdx.uses.javax.xml.datatype.XMLGregorianCalendar)this.refGetValue("userDate3", 0); 1628 } 1629 public void setUserDate3( 1633 org.openmdx.uses.javax.xml.datatype.XMLGregorianCalendar newValue 1634 ) { 1635 refSetValue("org:opencrx:kernel:generic:CrxObject:userDate3", 0, newValue); 1636 } 1637 1638 public java.util.List getUserDate4 ( 1642 ) { 1643 return (java.util.List )this.refGetValue("userDate4"); 1644 } 1645 public org.openmdx.uses.javax.xml.datatype.XMLGregorianCalendar getUserDate4( 1646 int index 1647 ) { 1648 return (org.openmdx.uses.javax.xml.datatype.XMLGregorianCalendar)this.refGetValue("org:opencrx:kernel:generic:CrxObject:userDate4", index); 1649 } 1650 1651 public void setUserDate4( 1655 java.util.List newValue 1656 ) { 1657 refSetValue("org:opencrx:kernel:generic:CrxObject:userDate4", newValue); 1658 } 1659 1660 public void setUserDate4( 1661 org.openmdx.uses.javax.xml.datatype.XMLGregorianCalendar[] newValue 1662 ) { 1663 refSetValue("org:opencrx:kernel:generic:CrxObject:userDate4", newValue); 1664 } 1665 1666 public java.util.Date getUserDateTime0 ( 1670 ) { 1671 return (java.util.Date )this.refGetValue("userDateTime0", 0); 1672 } 1673 public void setUserDateTime0( 1677 java.util.Date newValue 1678 ) { 1679 refSetValue("org:opencrx:kernel:generic:CrxObject:userDateTime0", 0, newValue); 1680 } 1681 1682 public java.util.Date getUserDateTime1 ( 1686 ) { 1687 return (java.util.Date )this.refGetValue("userDateTime1", 0); 1688 } 1689 public void setUserDateTime1( 1693 java.util.Date newValue 1694 ) { 1695 refSetValue("org:opencrx:kernel:generic:CrxObject:userDateTime1", 0, newValue); 1696 } 1697 1698 public java.util.Date getUserDateTime2 ( 1702 ) { 1703 return (java.util.Date )this.refGetValue("userDateTime2", 0); 1704 } 1705 public void setUserDateTime2( 1709 java.util.Date newValue 1710 ) { 1711 refSetValue("org:opencrx:kernel:generic:CrxObject:userDateTime2", 0, newValue); 1712 } 1713 1714 public java.util.Date getUserDateTime3 ( 1718 ) { 1719 return (java.util.Date )this.refGetValue("userDateTime3", 0); 1720 } 1721 public void setUserDateTime3( 1725 java.util.Date newValue 1726 ) { 1727 refSetValue("org:opencrx:kernel:generic:CrxObject:userDateTime3", 0, newValue); 1728 } 1729 1730 public java.util.List getUserDateTime4 ( 1734 ) { 1735 return (java.util.List )this.refGetValue("userDateTime4"); 1736 } 1737 public java.util.Date getUserDateTime4( 1738 int index 1739 ) { 1740 return (java.util.Date )this.refGetValue("org:opencrx:kernel:generic:CrxObject:userDateTime4", index); 1741 } 1742 1743 public void setUserDateTime4( 1747 java.util.List newValue 1748 ) { 1749 refSetValue("org:opencrx:kernel:generic:CrxObject:userDateTime4", newValue); 1750 } 1751 1752 public void setUserDateTime4( 1753 java.util.Date [] newValue 1754 ) { 1755 refSetValue("org:opencrx:kernel:generic:CrxObject:userDateTime4", newValue); 1756 } 1757 1758 public java.math.BigDecimal getUserNumber0 ( 1762 ) { 1763 return (java.math.BigDecimal )this.refGetValue("userNumber0", 0); 1764 } 1765 public void setUserNumber0( 1769 java.math.BigDecimal newValue 1770 ) { 1771 refSetValue("org:opencrx:kernel:generic:CrxObject:userNumber0", 0, newValue); 1772 } 1773 1774 public java.math.BigDecimal getUserNumber1 ( 1778 ) { 1779 return (java.math.BigDecimal )this.refGetValue("userNumber1", 0); 1780 } 1781 public void setUserNumber1( 1785 java.math.BigDecimal newValue 1786 ) { 1787 refSetValue("org:opencrx:kernel:generic:CrxObject:userNumber1", 0, newValue); 1788 } 1789 1790 public java.math.BigDecimal getUserNumber2 ( 1794 ) { 1795 return (java.math.BigDecimal )this.refGetValue("userNumber2", 0); 1796 } 1797 public void setUserNumber2( 1801 java.math.BigDecimal newValue 1802 ) { 1803 refSetValue("org:opencrx:kernel:generic:CrxObject:userNumber2", 0, newValue); 1804 } 1805 1806 public java.math.BigDecimal getUserNumber3 ( 1810 ) { 1811 return (java.math.BigDecimal )this.refGetValue("userNumber3", 0); 1812 } 1813 public void setUserNumber3( 1817 java.math.BigDecimal newValue 1818 ) { 1819 refSetValue("org:opencrx:kernel:generic:CrxObject:userNumber3", 0, newValue); 1820 } 1821 1822 public java.util.List getUserNumber4 ( 1826 ) { 1827 return (java.util.List )this.refGetValue("userNumber4"); 1828 } 1829 public java.math.BigDecimal getUserNumber4( 1830 int index 1831 ) { 1832 return (java.math.BigDecimal )this.refGetValue("org:opencrx:kernel:generic:CrxObject:userNumber4", index); 1833 } 1834 1835 public void setUserNumber4( 1839 java.util.List newValue 1840 ) { 1841 refSetValue("org:opencrx:kernel:generic:CrxObject:userNumber4", newValue); 1842 } 1843 1844 public void setUserNumber4( 1845 java.math.BigDecimal [] newValue 1846 ) { 1847 refSetValue("org:opencrx:kernel:generic:CrxObject:userNumber4", newValue); 1848 } 1849 1850 public String getUserString0 ( 1854 ) { 1855 return (String )this.refGetValue("userString0", 0); 1856 } 1857 public void setUserString0( 1861 String newValue 1862 ) { 1863 refSetValue("org:opencrx:kernel:generic:CrxObject:userString0", 0, newValue); 1864 } 1865 1866 public String getUserString1 ( 1870 ) { 1871 return (String )this.refGetValue("userString1", 0); 1872 } 1873 public void setUserString1( 1877 String newValue 1878 ) { 1879 refSetValue("org:opencrx:kernel:generic:CrxObject:userString1", 0, newValue); 1880 } 1881 1882 public String getUserString2 ( 1886 ) { 1887 return (String )this.refGetValue("userString2", 0); 1888 } 1889 public void setUserString2( 1893 String newValue 1894 ) { 1895 refSetValue("org:opencrx:kernel:generic:CrxObject:userString2", 0, newValue); 1896 } 1897 1898 public String getUserString3 ( 1902 ) { 1903 return (String )this.refGetValue("userString3", 0); 1904 } 1905 public void setUserString3( 1909 String newValue 1910 ) { 1911 refSetValue("org:opencrx:kernel:generic:CrxObject:userString3", 0, newValue); 1912 } 1913 1914 public java.util.List getUserString4 ( 1918 ) { 1919 return (java.util.List )this.refGetValue("userString4"); 1920 } 1921 public String getUserString4( 1922 int index 1923 ) { 1924 return (String )this.refGetValue("org:opencrx:kernel:generic:CrxObject:userString4", index); 1925 } 1926 1927 public void setUserString4( 1931 java.util.List newValue 1932 ) { 1933 refSetValue("org:opencrx:kernel:generic:CrxObject:userString4", newValue); 1934 } 1935 1936 public void setUserString4( 1937 String [] newValue 1938 ) { 1939 refSetValue("org:opencrx:kernel:generic:CrxObject:userString4", newValue); 1940 } 1941 1942 public org.opencrx.kernel.document1.cci.Media getPicture( 1946 ) { 1947 return (org.opencrx.kernel.document1.cci.Media)refGetValue( 1948 "org:opencrx:kernel:generic:Pictured:picture" 1949 ); 1950 } 1951 1952 public void setPicture( 1956 org.opencrx.kernel.document1.cci.Media newValue 1957 ) { 1958 refSetValue( 1959 "org:opencrx:kernel:generic:Pictured:picture", 1960 newValue 1961 ); 1962 } 1963 1964 public void removePicture ( 1968 ) { 1969 refRemoveValue( 1970 "org:opencrx:kernel:generic:Pictured:picture" 1971 ); 1972 } 1973 public byte[] getPictureContent ( 1977 ) { 1978 return (byte[])this.refGetValue("pictureContent", 0); 1979 } 1980 protected void setPictureContent( 1984 byte[] newValue 1985 ) { 1986 refSetValue("org:opencrx:kernel:generic:Pictured:pictureContent", 0, newValue); 1987 } 1988 1989 public String getPictureContentMimeType ( 1993 ) { 1994 return (String )this.refGetValue("pictureContentMimeType", 0); 1995 } 1996 protected void setPictureContentMimeType( 2000 String newValue 2001 ) { 2002 refSetValue("org:opencrx:kernel:generic:Pictured:pictureContentMimeType", 0, newValue); 2003 } 2004 2005 public String getPictureContentName ( 2009 ) { 2010 return (String )this.refGetValue("pictureContentName", 0); 2011 } 2012 protected void setPictureContentName( 2016 String newValue 2017 ) { 2018 refSetValue("org:opencrx:kernel:generic:Pictured:pictureContentName", 0, newValue); 2019 } 2020 2021 public java.util.Date getCreatedAt( 2025 ) { 2026 return getCreatedAt(0); 2027 } 2028 2029 protected java.util.Date getCreatedAt( 2030 int index 2031 ) { 2032 return (java.util.Date )this.refGetValue("org:openmdx:base:BasicObject:createdAt", index); 2033 } 2034 2035 protected void setCreatedAt( 2039 java.util.Date newValue 2040 ) { 2041 setCreatedAt(0, newValue); 2042 } 2043 2044 protected void setCreatedAt( 2045 int index, 2046 java.util.Date newValue 2047 ) { 2048 refSetValue("org:openmdx:base:BasicObject:createdAt", index, newValue); 2049 } 2050 public java.util.Set getCreatedBy ( 2054 ) { 2055 return (java.util.Set )this.refGetValue("createdBy"); 2056 } 2057 protected void setCreatedBy( 2061 java.util.Set newValue 2062 ) { 2063 refSetValue("org:openmdx:base:BasicObject:createdBy", newValue); 2064 } 2065 2066 protected void setCreatedBy( 2067 String [] newValue 2068 ) { 2069 refSetValue("org:openmdx:base:BasicObject:createdBy", newValue); 2070 } 2071 2072 public java.util.Date getModifiedAt( 2076 ) { 2077 return getModifiedAt(0); 2078 } 2079 2080 protected java.util.Date getModifiedAt( 2081 int index 2082 ) { 2083 return (java.util.Date )this.refGetValue("org:openmdx:base:BasicObject:modifiedAt", index); 2084 } 2085 2086 protected void setModifiedAt( 2090 java.util.Date newValue 2091 ) { 2092 setModifiedAt(0, newValue); 2093 } 2094 2095 protected void setModifiedAt( 2096 int index, 2097 java.util.Date newValue 2098 ) { 2099 refSetValue("org:openmdx:base:BasicObject:modifiedAt", index, newValue); 2100 } 2101 public java.util.Set getModifiedBy ( 2105 ) { 2106 return (java.util.Set )this.refGetValue("modifiedBy"); 2107 } 2108 protected void setModifiedBy( 2112 java.util.Set newValue 2113 ) { 2114 refSetValue("org:openmdx:base:BasicObject:modifiedBy", newValue); 2115 } 2116 2117 protected void setModifiedBy( 2118 String [] newValue 2119 ) { 2120 refSetValue("org:openmdx:base:BasicObject:modifiedBy", newValue); 2121 } 2122 2123 protected void setContext( 2127 java.util.List newValue 2128 ) { 2129 refSetValue("org:openmdx:base:ContextCapable:context", newValue); 2130 } 2131 2132 protected void setContext( 2133 org.openmdx.base.cci.Context[] newValue 2134 ) { 2135 refSetValue("org:openmdx:base:ContextCapable:context", newValue); 2136 } 2137 2138 public org.openmdx.base.cci.Context getContext( 2142 String id 2143 ) { 2144 return (org.openmdx.base.cci.Context)refGetValue( 2145 "org:openmdx:base:ContextCapable:context", 2146 id 2147 ); 2148 } 2149 2150 public java.util.Collection getContext( 2154 ) { 2155 return (java.util.Collection )refGetValue( 2156 "org:openmdx:base:ContextCapable:context" 2157 ); 2158 } 2159 2160 protected void addContext ( 2164 String id, 2165 org.openmdx.base.cci.Context newValue 2166 ) { 2167 refAddValue( 2168 "org:openmdx:base:ContextCapable:context", 2169 id, 2170 newValue 2171 ); 2172 } 2173 2174 protected void addContext ( 2178 org.openmdx.base.cci.Context newValue 2179 ) { 2180 refAddValue( 2181 "org:openmdx:base:ContextCapable:context", 2182 newValue 2183 ); 2184 } 2185 2186 protected void removeContext ( 2190 String id 2191 ) { 2192 refRemoveValue( 2193 "org:openmdx:base:ContextCapable:context", 2194 id 2195 ); 2196 } 2197 2198 public String getIdentity( 2202 ) { 2203 return getIdentity(0); 2204 } 2205 2206 protected String getIdentity( 2207 int index 2208 ) { 2209 return (String )this.refGetValue("org:openmdx:base:ExtentCapable:identity", index); 2210 } 2211 2212 protected void setIdentity( 2216 String newValue 2217 ) { 2218 setIdentity(0, newValue); 2219 } 2220 2221 protected void setIdentity( 2222 int index, 2223 String newValue 2224 ) { 2225 refSetValue("org:openmdx:base:ExtentCapable:identity", index, newValue); 2226 } 2227 protected void setView( 2231 java.util.List newValue 2232 ) { 2233 refSetValue("org:openmdx:compatibility:view1:ViewCapable:view", newValue); 2234 } 2235 2236 protected void setView( 2237 org.openmdx.compatibility.view1.cci.View[] newValue 2238 ) { 2239 refSetValue("org:openmdx:compatibility:view1:ViewCapable:view", newValue); 2240 } 2241 2242 public org.openmdx.compatibility.view1.cci.View getView( 2246 String namespace 2247 ) { 2248 return (org.openmdx.compatibility.view1.cci.View)refGetValue( 2249 "org:openmdx:compatibility:view1:ViewCapable:view", 2250 namespace 2251 ); 2252 } 2253 2254 public java.util.Collection getView( 2258 ) { 2259 return (java.util.Collection )refGetValue( 2260 "org:openmdx:compatibility:view1:ViewCapable:view" 2261 ); 2262 } 2263 2264 public java.util.List getView( 2265 org.openmdx.compatibility.view1.cci.ViewFilter filter 2266 ) { 2267 return ((org.openmdx.compatibility.base.collection.Container)refGetValue( 2268 "org:openmdx:compatibility:view1:ViewCapable:view" 2269 )).toList(filter); 2270 } 2271 2272 protected void addView ( 2276 String namespace, 2277 org.openmdx.compatibility.view1.cci.View newValue 2278 ) { 2279 refAddValue( 2280 "org:openmdx:compatibility:view1:ViewCapable:view", 2281 namespace, 2282 newValue 2283 ); 2284 } 2285 2286 protected void addView ( 2290 org.openmdx.compatibility.view1.cci.View newValue 2291 ) { 2292 refAddValue( 2293 "org:openmdx:compatibility:view1:ViewCapable:view", 2294 newValue 2295 ); 2296 } 2297 2298 protected void removeView ( 2302 String namespace 2303 ) { 2304 refRemoveValue( 2305 "org:openmdx:compatibility:view1:ViewCapable:view", 2306 namespace 2307 ); 2308 } 2309 2310} 2314 | Popular Tags |