1 package org.opencrx.kernel.model1.cci; 14 15 public class EditableParameterImpl 16 extends org.openmdx.base.accessor.jmi.spi.RefObject_1 17 implements EditableParameter { 18 19 public EditableParameterImpl( 20 org.openmdx.base.accessor.generic.cci.Object_1_0 object, 21 javax.jmi.reflect.RefClass refClass 22 ) { 23 super(object, refClass); 24 } 25 26 public short getAccessLevelBrowse( 30 ) { 31 return getAccessLevelBrowse(0); 32 } 33 34 protected short getAccessLevelBrowse( 35 int index 36 ) { 37 return ((java.lang.Number )this.refGetValue("org:opencrx:kernel:base:SecureObject:accessLevelBrowse", index)).shortValue(); 38 } 39 40 public void setAccessLevelBrowse( 44 short newValue 45 ) { 46 setAccessLevelBrowse(0, newValue); 47 } 48 49 protected void setAccessLevelBrowse( 50 int index, 51 short newValue 52 ) { 53 refSetValue("org:opencrx:kernel:base:SecureObject:accessLevelBrowse", index, new Short (newValue)); 54 } 55 public short getAccessLevelDelete( 59 ) { 60 return getAccessLevelDelete(0); 61 } 62 63 protected short getAccessLevelDelete( 64 int index 65 ) { 66 return ((java.lang.Number )this.refGetValue("org:opencrx:kernel:base:SecureObject:accessLevelDelete", index)).shortValue(); 67 } 68 69 public void setAccessLevelDelete( 73 short newValue 74 ) { 75 setAccessLevelDelete(0, newValue); 76 } 77 78 protected void setAccessLevelDelete( 79 int index, 80 short newValue 81 ) { 82 refSetValue("org:opencrx:kernel:base:SecureObject:accessLevelDelete", index, new Short (newValue)); 83 } 84 public short getAccessLevelUpdate( 88 ) { 89 return getAccessLevelUpdate(0); 90 } 91 92 protected short getAccessLevelUpdate( 93 int index 94 ) { 95 return ((java.lang.Number )this.refGetValue("org:opencrx:kernel:base:SecureObject:accessLevelUpdate", index)).shortValue(); 96 } 97 98 public void setAccessLevelUpdate( 102 short newValue 103 ) { 104 setAccessLevelUpdate(0, newValue); 105 } 106 107 protected void setAccessLevelUpdate( 108 int index, 109 short newValue 110 ) { 111 refSetValue("org:opencrx:kernel:base:SecureObject:accessLevelUpdate", index, new Short (newValue)); 112 } 113 public org.opencrx.kernel.base.cci.ModifySecureObjectResult addOwningGroup( 117 org.opencrx.kernel.base.cci.ModifyOwningGroupParams params 118 ) throws javax.jmi.reflect.RefException { 119 java.util.List args = new java.util.ArrayList (); 120 args.add(params); 121 return (org.opencrx.kernel.base.cci.ModifySecureObjectResult)refInvokeOperation( 122 "org:opencrx:kernel:base:SecureObject:addOwningGroup", 123 args 124 ); 125 } 126 127 public org.opencrx.kernel.base.cci.ModifySecureObjectResult addOwningGroup( 128 org.opencrx.security.realm1.cci.PrincipalGroup group 129 , short mode 130 ) throws javax.jmi.reflect.RefException { 131 return addOwningGroup( 132 ((org.opencrx.kernel.base.cci.basePackage)refOutermostPackage().refPackage("org:opencrx:kernel:base")).createModifyOwningGroupParams( 133 group 134 , mode 135 ) 136 ); 137 } 138 139 public java.util.List getOwner ( 143 ) { 144 return (java.util.List )this.refGetValue("owner"); 145 } 146 public String getOwner( 147 int index 148 ) { 149 return (String )this.refGetValue("org:opencrx:kernel:base:SecureObject:owner", index); 150 } 151 152 protected void setOwner( 156 java.util.List newValue 157 ) { 158 refSetValue("org:opencrx:kernel:base:SecureObject:owner", newValue); 159 } 160 161 protected void setOwner( 162 String [] newValue 163 ) { 164 refSetValue("org:opencrx:kernel:base:SecureObject:owner", newValue); 165 } 166 167 public void setOwningGroup( 171 java.util.List newValue 172 ) { 173 refSetValue("org:opencrx:kernel:base:SecureObject:owningGroup", newValue); 174 } 175 176 public void setOwningGroup( 177 org.opencrx.security.realm1.cci.PrincipalGroup[] newValue 178 ) { 179 refSetValue("org:opencrx:kernel:base:SecureObject:owningGroup", newValue); 180 } 181 182 public org.opencrx.security.realm1.cci.PrincipalGroup getOwningGroup( 186 int index 187 ) { 188 return (org.opencrx.security.realm1.cci.PrincipalGroup)refGetValue( 189 "org:opencrx:kernel:base:SecureObject:owningGroup", 190 new Integer (index) 191 ); 192 } 193 194 public java.util.Collection getOwningGroup( 198 ) { 199 return (java.util.Collection )refGetValue( 200 "org:opencrx:kernel:base:SecureObject:owningGroup" 201 ); 202 } 203 204 public void addOwningGroup ( 208 int index, 209 org.opencrx.security.realm1.cci.PrincipalGroup newValue 210 ) { 211 refAddValue( 212 "org:opencrx:kernel:base:SecureObject:owningGroup", 213 new Integer (index), 214 newValue 215 ); 216 } 217 218 public void addOwningGroup ( 222 org.opencrx.security.realm1.cci.PrincipalGroup newValue 223 ) { 224 refAddValue( 225 "org:opencrx:kernel:base:SecureObject:owningGroup", 226 newValue 227 ); 228 } 229 230 public void removeOwningGroup ( 234 int index 235 ) { 236 refRemoveValue( 237 "org:opencrx:kernel:base:SecureObject:owningGroup", 238 new Integer (index) 239 ); 240 } 241 242 public org.opencrx.security.realm1.cci.User getOwningUser( 246 ) { 247 return (org.opencrx.security.realm1.cci.User)refGetValue( 248 "org:opencrx:kernel:base:SecureObject:owningUser" 249 ); 250 } 251 252 public void setOwningUser( 256 org.opencrx.security.realm1.cci.User newValue 257 ) { 258 refSetValue( 259 "org:opencrx:kernel:base:SecureObject:owningUser", 260 newValue 261 ); 262 } 263 264 public void removeOwningUser ( 268 ) { 269 refRemoveValue( 270 "org:opencrx:kernel:base:SecureObject:owningUser" 271 ); 272 } 273 public org.opencrx.kernel.base.cci.ModifySecureObjectResult removeAllOwningGroup( 277 org.opencrx.kernel.base.cci.RemoveAllOwningGroupParams params 278 ) throws javax.jmi.reflect.RefException { 279 java.util.List args = new java.util.ArrayList (); 280 args.add(params); 281 return (org.opencrx.kernel.base.cci.ModifySecureObjectResult)refInvokeOperation( 282 "org:opencrx:kernel:base:SecureObject:removeAllOwningGroup", 283 args 284 ); 285 } 286 287 public org.opencrx.kernel.base.cci.ModifySecureObjectResult removeAllOwningGroup( 288 short mode 289 ) throws javax.jmi.reflect.RefException { 290 return removeAllOwningGroup( 291 ((org.opencrx.kernel.base.cci.basePackage)refOutermostPackage().refPackage("org:opencrx:kernel:base")).createRemoveAllOwningGroupParams( 292 mode 293 ) 294 ); 295 } 296 297 public org.opencrx.kernel.base.cci.ModifySecureObjectResult removeOwningGroup( 301 org.opencrx.kernel.base.cci.ModifyOwningGroupParams params 302 ) throws javax.jmi.reflect.RefException { 303 java.util.List args = new java.util.ArrayList (); 304 args.add(params); 305 return (org.opencrx.kernel.base.cci.ModifySecureObjectResult)refInvokeOperation( 306 "org:opencrx:kernel:base:SecureObject:removeOwningGroup", 307 args 308 ); 309 } 310 311 public org.opencrx.kernel.base.cci.ModifySecureObjectResult removeOwningGroup( 312 org.opencrx.security.realm1.cci.PrincipalGroup group 313 , short mode 314 ) throws javax.jmi.reflect.RefException { 315 return removeOwningGroup( 316 ((org.opencrx.kernel.base.cci.basePackage)refOutermostPackage().refPackage("org:opencrx:kernel:base")).createModifyOwningGroupParams( 317 group 318 , mode 319 ) 320 ); 321 } 322 323 public org.opencrx.kernel.base.cci.ModifySecureObjectResult setAccessLevel( 327 org.opencrx.kernel.base.cci.SetAccessLevelParams params 328 ) throws javax.jmi.reflect.RefException { 329 java.util.List args = new java.util.ArrayList (); 330 args.add(params); 331 return (org.opencrx.kernel.base.cci.ModifySecureObjectResult)refInvokeOperation( 332 "org:opencrx:kernel:base:SecureObject:setAccessLevel", 333 args 334 ); 335 } 336 337 public org.opencrx.kernel.base.cci.ModifySecureObjectResult setAccessLevel( 338 short accessLevelBrowse 339 , short accessLevelDelete 340 , short accessLevelUpdate 341 , short mode 342 ) throws javax.jmi.reflect.RefException { 343 return setAccessLevel( 344 ((org.opencrx.kernel.base.cci.basePackage)refOutermostPackage().refPackage("org:opencrx:kernel:base")).createSetAccessLevelParams( 345 accessLevelBrowse 346 , accessLevelDelete 347 , accessLevelUpdate 348 , mode 349 ) 350 ); 351 } 352 353 public org.opencrx.kernel.base.cci.ModifySecureObjectResult setOwningUser( 357 org.opencrx.kernel.base.cci.SetOwningUserParams params 358 ) throws javax.jmi.reflect.RefException { 359 java.util.List args = new java.util.ArrayList (); 360 args.add(params); 361 return (org.opencrx.kernel.base.cci.ModifySecureObjectResult)refInvokeOperation( 362 "org:opencrx:kernel:base:SecureObject:setOwningUser", 363 args 364 ); 365 } 366 367 public org.opencrx.kernel.base.cci.ModifySecureObjectResult setOwningUser( 368 short mode 369 , org.opencrx.security.realm1.cci.User user 370 ) throws javax.jmi.reflect.RefException { 371 return setOwningUser( 372 ((org.opencrx.kernel.base.cci.basePackage)refOutermostPackage().refPackage("org:opencrx:kernel:base")).createSetOwningUserParams( 373 mode 374 , user 375 ) 376 ); 377 } 378 379 public String getAnnotation ( 383 ) { 384 return (String )this.refGetValue("annotation", 0); 385 } 386 public void setAnnotation( 390 String newValue 391 ) { 392 refSetValue("org:opencrx:kernel:model1:EditableElement:annotation", 0, newValue); 393 } 394 395 public org.opencrx.kernel.model1.cci.Element getBasedOn( 399 ) { 400 return (org.opencrx.kernel.model1.cci.Element)refGetValue( 401 "org:opencrx:kernel:model1:EditableElement:basedOn" 402 ); 403 } 404 405 protected void setBasedOn( 409 org.opencrx.kernel.model1.cci.Element newValue 410 ) { 411 refSetValue( 412 "org:opencrx:kernel:model1:EditableElement:basedOn", 413 newValue 414 ); 415 } 416 417 protected void removeBasedOn ( 421 ) { 422 refRemoveValue( 423 "org:opencrx:kernel:model1:EditableElement:basedOn" 424 ); 425 } 426 public Integer getElementOrder ( 430 ) { 431 return (Integer )this.refGetValue("elementOrder", 0); 432 } 433 public void setElementOrder( 437 Integer newValue 438 ) { 439 refSetValue("org:opencrx:kernel:model1:EditableElement:elementOrder", 0, newValue); 440 } 441 442 public String getName( 446 ) { 447 return getName(0); 448 } 449 450 protected String getName( 451 int index 452 ) { 453 return (String )this.refGetValue("org:opencrx:kernel:model1:EditableElement:name", index); 454 } 455 456 public void setName( 460 String newValue 461 ) { 462 setName(0, newValue); 463 } 464 465 protected void setName( 466 int index, 467 String newValue 468 ) { 469 refSetValue("org:opencrx:kernel:model1:EditableElement:name", index, newValue); 470 } 471 public short getDirection( 475 ) { 476 return getDirection(0); 477 } 478 479 protected short getDirection( 480 int index 481 ) { 482 return ((java.lang.Number )this.refGetValue("org:opencrx:kernel:model1:EditableParameter:direction", index)).shortValue(); 483 } 484 485 public void setDirection( 489 short newValue 490 ) { 491 setDirection(0, newValue); 492 } 493 494 protected void setDirection( 495 int index, 496 short newValue 497 ) { 498 refSetValue("org:opencrx:kernel:model1:EditableParameter:direction", index, new Short (newValue)); 499 } 500 public short getMultiplicity( 504 ) { 505 return getMultiplicity(0); 506 } 507 508 protected short getMultiplicity( 509 int index 510 ) { 511 return ((java.lang.Number )this.refGetValue("org:opencrx:kernel:model1:EditableParameter:multiplicity", index)).shortValue(); 512 } 513 514 public void setMultiplicity( 518 short newValue 519 ) { 520 setMultiplicity(0, newValue); 521 } 522 523 protected void setMultiplicity( 524 int index, 525 short newValue 526 ) { 527 refSetValue("org:opencrx:kernel:model1:EditableParameter:multiplicity", index, new Short (newValue)); 528 } 529 public int getUpperBound( 533 ) { 534 return getUpperBound(0); 535 } 536 537 protected int getUpperBound( 538 int index 539 ) { 540 return ((java.lang.Number )this.refGetValue("org:opencrx:kernel:model1:EditableParameter:upperBound", index)).intValue(); 541 } 542 543 public void setUpperBound( 547 int newValue 548 ) { 549 setUpperBound(0, newValue); 550 } 551 552 protected void setUpperBound( 553 int index, 554 int newValue 555 ) { 556 refSetValue("org:opencrx:kernel:model1:EditableParameter:upperBound", index, new Integer (newValue)); 557 } 558 public org.opencrx.kernel.model1.cci.Classifier getType( 562 ) { 563 return (org.opencrx.kernel.model1.cci.Classifier)refGetValue( 564 "org:opencrx:kernel:model1:EditableTypedElement:type" 565 ); 566 } 567 568 public void setType( 572 org.opencrx.kernel.model1.cci.Classifier newValue 573 ) { 574 refSetValue( 575 "org:opencrx:kernel:model1:EditableTypedElement:type", 576 newValue 577 ); 578 } 579 580 public void removeType ( 584 ) { 585 refRemoveValue( 586 "org:opencrx:kernel:model1:EditableTypedElement:type" 587 ); 588 } 589 public String getTypeName ( 593 ) { 594 return (String )this.refGetValue("typeName", 0); 595 } 596 public void setTypeName( 600 String newValue 601 ) { 602 refSetValue("org:opencrx:kernel:model1:EditableTypedElement:typeName", 0, newValue); 603 } 604 605 public java.util.Date getCreatedAt( 609 ) { 610 return getCreatedAt(0); 611 } 612 613 protected java.util.Date getCreatedAt( 614 int index 615 ) { 616 return (java.util.Date )this.refGetValue("org:openmdx:base:BasicObject:createdAt", index); 617 } 618 619 protected void setCreatedAt( 623 java.util.Date newValue 624 ) { 625 setCreatedAt(0, newValue); 626 } 627 628 protected void setCreatedAt( 629 int index, 630 java.util.Date newValue 631 ) { 632 refSetValue("org:openmdx:base:BasicObject:createdAt", index, newValue); 633 } 634 public java.util.Set getCreatedBy ( 638 ) { 639 return (java.util.Set )this.refGetValue("createdBy"); 640 } 641 protected void setCreatedBy( 645 java.util.Set newValue 646 ) { 647 refSetValue("org:openmdx:base:BasicObject:createdBy", newValue); 648 } 649 650 protected void setCreatedBy( 651 String [] newValue 652 ) { 653 refSetValue("org:openmdx:base:BasicObject:createdBy", newValue); 654 } 655 656 public java.util.Date getModifiedAt( 660 ) { 661 return getModifiedAt(0); 662 } 663 664 protected java.util.Date getModifiedAt( 665 int index 666 ) { 667 return (java.util.Date )this.refGetValue("org:openmdx:base:BasicObject:modifiedAt", index); 668 } 669 670 protected void setModifiedAt( 674 java.util.Date newValue 675 ) { 676 setModifiedAt(0, newValue); 677 } 678 679 protected void setModifiedAt( 680 int index, 681 java.util.Date newValue 682 ) { 683 refSetValue("org:openmdx:base:BasicObject:modifiedAt", index, newValue); 684 } 685 public java.util.Set getModifiedBy ( 689 ) { 690 return (java.util.Set )this.refGetValue("modifiedBy"); 691 } 692 protected void setModifiedBy( 696 java.util.Set newValue 697 ) { 698 refSetValue("org:openmdx:base:BasicObject:modifiedBy", newValue); 699 } 700 701 protected void setModifiedBy( 702 String [] newValue 703 ) { 704 refSetValue("org:openmdx:base:BasicObject:modifiedBy", newValue); 705 } 706 707 protected void setContext( 711 java.util.List newValue 712 ) { 713 refSetValue("org:openmdx:base:ContextCapable:context", newValue); 714 } 715 716 protected void setContext( 717 org.openmdx.base.cci.Context[] newValue 718 ) { 719 refSetValue("org:openmdx:base:ContextCapable:context", newValue); 720 } 721 722 public org.openmdx.base.cci.Context getContext( 726 String id 727 ) { 728 return (org.openmdx.base.cci.Context)refGetValue( 729 "org:openmdx:base:ContextCapable:context", 730 id 731 ); 732 } 733 734 public java.util.Collection getContext( 738 ) { 739 return (java.util.Collection )refGetValue( 740 "org:openmdx:base:ContextCapable:context" 741 ); 742 } 743 744 protected void addContext ( 748 String id, 749 org.openmdx.base.cci.Context newValue 750 ) { 751 refAddValue( 752 "org:openmdx:base:ContextCapable:context", 753 id, 754 newValue 755 ); 756 } 757 758 protected void addContext ( 762 org.openmdx.base.cci.Context newValue 763 ) { 764 refAddValue( 765 "org:openmdx:base:ContextCapable:context", 766 newValue 767 ); 768 } 769 770 protected void removeContext ( 774 String id 775 ) { 776 refRemoveValue( 777 "org:openmdx:base:ContextCapable:context", 778 id 779 ); 780 } 781 782 public String getIdentity( 786 ) { 787 return getIdentity(0); 788 } 789 790 protected String getIdentity( 791 int index 792 ) { 793 return (String )this.refGetValue("org:openmdx:base:ExtentCapable:identity", index); 794 } 795 796 protected void setIdentity( 800 String newValue 801 ) { 802 setIdentity(0, newValue); 803 } 804 805 protected void setIdentity( 806 int index, 807 String newValue 808 ) { 809 refSetValue("org:openmdx:base:ExtentCapable:identity", index, newValue); 810 } 811 protected void setView( 815 java.util.List newValue 816 ) { 817 refSetValue("org:openmdx:compatibility:view1:ViewCapable:view", newValue); 818 } 819 820 protected void setView( 821 org.openmdx.compatibility.view1.cci.View[] newValue 822 ) { 823 refSetValue("org:openmdx:compatibility:view1:ViewCapable:view", newValue); 824 } 825 826 public org.openmdx.compatibility.view1.cci.View getView( 830 String namespace 831 ) { 832 return (org.openmdx.compatibility.view1.cci.View)refGetValue( 833 "org:openmdx:compatibility:view1:ViewCapable:view", 834 namespace 835 ); 836 } 837 838 public java.util.Collection getView( 842 ) { 843 return (java.util.Collection )refGetValue( 844 "org:openmdx:compatibility:view1:ViewCapable:view" 845 ); 846 } 847 848 public java.util.List getView( 849 org.openmdx.compatibility.view1.cci.ViewFilter filter 850 ) { 851 return ((org.openmdx.compatibility.base.collection.Container)refGetValue( 852 "org:openmdx:compatibility:view1:ViewCapable:view" 853 )).toList(filter); 854 } 855 856 protected void addView ( 860 String namespace, 861 org.openmdx.compatibility.view1.cci.View newValue 862 ) { 863 refAddValue( 864 "org:openmdx:compatibility:view1:ViewCapable:view", 865 namespace, 866 newValue 867 ); 868 } 869 870 protected void addView ( 874 org.openmdx.compatibility.view1.cci.View newValue 875 ) { 876 refAddValue( 877 "org:openmdx:compatibility:view1:ViewCapable:view", 878 newValue 879 ); 880 } 881 882 protected void removeView ( 886 String namespace 887 ) { 888 refRemoveValue( 889 "org:openmdx:compatibility:view1:ViewCapable:view", 890 namespace 891 ); 892 } 893 894 } 898 | Popular Tags |