1 package org.opencrx.kernel.product1.cci; 14 15 public class ProductTypeFilterPropertyImpl 16 extends org.openmdx.base.accessor.jmi.spi.RefObject_1 17 implements ProductTypeFilterProperty { 18 19 public ProductTypeFilterPropertyImpl( 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 String getDescription ( 30 ) { 31 return (String )this.refGetValue("description", 0); 32 } 33 public void setDescription( 37 String newValue 38 ) { 39 refSetValue("org:opencrx:kernel:base:AbstractFilterProperty:description", 0, newValue); 40 } 41 42 public short getFilterOperator( 46 ) { 47 return getFilterOperator(0); 48 } 49 50 protected short getFilterOperator( 51 int index 52 ) { 53 return ((java.lang.Number )this.refGetValue("org:opencrx:kernel:base:AbstractFilterProperty:filterOperator", index)).shortValue(); 54 } 55 56 public void setFilterOperator( 60 short newValue 61 ) { 62 setFilterOperator(0, newValue); 63 } 64 65 protected void setFilterOperator( 66 int index, 67 short newValue 68 ) { 69 refSetValue("org:opencrx:kernel:base:AbstractFilterProperty:filterOperator", index, new Short (newValue)); 70 } 71 public short getFilterQuantor( 75 ) { 76 return getFilterQuantor(0); 77 } 78 79 protected short getFilterQuantor( 80 int index 81 ) { 82 return ((java.lang.Number )this.refGetValue("org:opencrx:kernel:base:AbstractFilterProperty:filterQuantor", index)).shortValue(); 83 } 84 85 public void setFilterQuantor( 89 short newValue 90 ) { 91 setFilterQuantor(0, newValue); 92 } 93 94 protected void setFilterQuantor( 95 int index, 96 short newValue 97 ) { 98 refSetValue("org:opencrx:kernel:base:AbstractFilterProperty:filterQuantor", index, new Short (newValue)); 99 } 100 public Boolean isActive ( 104 ) { 105 return (Boolean )this.refGetValue("isActive", 0); 106 } 107 public void setActive( 111 Boolean newValue 112 ) { 113 refSetValue("org:opencrx:kernel:base:AbstractFilterProperty:isActive", 0, newValue); 114 } 115 116 public String getName( 120 ) { 121 return getName(0); 122 } 123 124 protected String getName( 125 int index 126 ) { 127 return (String )this.refGetValue("org:opencrx:kernel:base:AbstractFilterProperty:name", index); 128 } 129 130 public void setName( 134 String newValue 135 ) { 136 setName(0, newValue); 137 } 138 139 protected void setName( 140 int index, 141 String newValue 142 ) { 143 refSetValue("org:opencrx:kernel:base:AbstractFilterProperty:name", index, newValue); 144 } 145 public short getAccessLevelBrowse( 149 ) { 150 return getAccessLevelBrowse(0); 151 } 152 153 protected short getAccessLevelBrowse( 154 int index 155 ) { 156 return ((java.lang.Number )this.refGetValue("org:opencrx:kernel:base:SecureObject:accessLevelBrowse", index)).shortValue(); 157 } 158 159 public void setAccessLevelBrowse( 163 short newValue 164 ) { 165 setAccessLevelBrowse(0, newValue); 166 } 167 168 protected void setAccessLevelBrowse( 169 int index, 170 short newValue 171 ) { 172 refSetValue("org:opencrx:kernel:base:SecureObject:accessLevelBrowse", index, new Short (newValue)); 173 } 174 public short getAccessLevelDelete( 178 ) { 179 return getAccessLevelDelete(0); 180 } 181 182 protected short getAccessLevelDelete( 183 int index 184 ) { 185 return ((java.lang.Number )this.refGetValue("org:opencrx:kernel:base:SecureObject:accessLevelDelete", index)).shortValue(); 186 } 187 188 public void setAccessLevelDelete( 192 short newValue 193 ) { 194 setAccessLevelDelete(0, newValue); 195 } 196 197 protected void setAccessLevelDelete( 198 int index, 199 short newValue 200 ) { 201 refSetValue("org:opencrx:kernel:base:SecureObject:accessLevelDelete", index, new Short (newValue)); 202 } 203 public short getAccessLevelUpdate( 207 ) { 208 return getAccessLevelUpdate(0); 209 } 210 211 protected short getAccessLevelUpdate( 212 int index 213 ) { 214 return ((java.lang.Number )this.refGetValue("org:opencrx:kernel:base:SecureObject:accessLevelUpdate", index)).shortValue(); 215 } 216 217 public void setAccessLevelUpdate( 221 short newValue 222 ) { 223 setAccessLevelUpdate(0, newValue); 224 } 225 226 protected void setAccessLevelUpdate( 227 int index, 228 short newValue 229 ) { 230 refSetValue("org:opencrx:kernel:base:SecureObject:accessLevelUpdate", index, new Short (newValue)); 231 } 232 public org.opencrx.kernel.base.cci.ModifySecureObjectResult addOwningGroup( 236 org.opencrx.kernel.base.cci.ModifyOwningGroupParams params 237 ) throws javax.jmi.reflect.RefException { 238 java.util.List args = new java.util.ArrayList (); 239 args.add(params); 240 return (org.opencrx.kernel.base.cci.ModifySecureObjectResult)refInvokeOperation( 241 "org:opencrx:kernel:base:SecureObject:addOwningGroup", 242 args 243 ); 244 } 245 246 public org.opencrx.kernel.base.cci.ModifySecureObjectResult addOwningGroup( 247 org.opencrx.security.realm1.cci.PrincipalGroup group 248 , short mode 249 ) throws javax.jmi.reflect.RefException { 250 return addOwningGroup( 251 ((org.opencrx.kernel.base.cci.basePackage)refOutermostPackage().refPackage("org:opencrx:kernel:base")).createModifyOwningGroupParams( 252 group 253 , mode 254 ) 255 ); 256 } 257 258 public java.util.List getOwner ( 262 ) { 263 return (java.util.List )this.refGetValue("owner"); 264 } 265 public String getOwner( 266 int index 267 ) { 268 return (String )this.refGetValue("org:opencrx:kernel:base:SecureObject:owner", index); 269 } 270 271 protected void setOwner( 275 java.util.List newValue 276 ) { 277 refSetValue("org:opencrx:kernel:base:SecureObject:owner", newValue); 278 } 279 280 protected void setOwner( 281 String [] newValue 282 ) { 283 refSetValue("org:opencrx:kernel:base:SecureObject:owner", newValue); 284 } 285 286 public void setOwningGroup( 290 java.util.List newValue 291 ) { 292 refSetValue("org:opencrx:kernel:base:SecureObject:owningGroup", newValue); 293 } 294 295 public void setOwningGroup( 296 org.opencrx.security.realm1.cci.PrincipalGroup[] newValue 297 ) { 298 refSetValue("org:opencrx:kernel:base:SecureObject:owningGroup", newValue); 299 } 300 301 public org.opencrx.security.realm1.cci.PrincipalGroup getOwningGroup( 305 int index 306 ) { 307 return (org.opencrx.security.realm1.cci.PrincipalGroup)refGetValue( 308 "org:opencrx:kernel:base:SecureObject:owningGroup", 309 new Integer (index) 310 ); 311 } 312 313 public java.util.Collection getOwningGroup( 317 ) { 318 return (java.util.Collection )refGetValue( 319 "org:opencrx:kernel:base:SecureObject:owningGroup" 320 ); 321 } 322 323 public void addOwningGroup ( 327 int index, 328 org.opencrx.security.realm1.cci.PrincipalGroup newValue 329 ) { 330 refAddValue( 331 "org:opencrx:kernel:base:SecureObject:owningGroup", 332 new Integer (index), 333 newValue 334 ); 335 } 336 337 public void addOwningGroup ( 341 org.opencrx.security.realm1.cci.PrincipalGroup newValue 342 ) { 343 refAddValue( 344 "org:opencrx:kernel:base:SecureObject:owningGroup", 345 newValue 346 ); 347 } 348 349 public void removeOwningGroup ( 353 int index 354 ) { 355 refRemoveValue( 356 "org:opencrx:kernel:base:SecureObject:owningGroup", 357 new Integer (index) 358 ); 359 } 360 361 public org.opencrx.security.realm1.cci.User getOwningUser( 365 ) { 366 return (org.opencrx.security.realm1.cci.User)refGetValue( 367 "org:opencrx:kernel:base:SecureObject:owningUser" 368 ); 369 } 370 371 public void setOwningUser( 375 org.opencrx.security.realm1.cci.User newValue 376 ) { 377 refSetValue( 378 "org:opencrx:kernel:base:SecureObject:owningUser", 379 newValue 380 ); 381 } 382 383 public void removeOwningUser ( 387 ) { 388 refRemoveValue( 389 "org:opencrx:kernel:base:SecureObject:owningUser" 390 ); 391 } 392 public org.opencrx.kernel.base.cci.ModifySecureObjectResult removeAllOwningGroup( 396 org.opencrx.kernel.base.cci.RemoveAllOwningGroupParams params 397 ) throws javax.jmi.reflect.RefException { 398 java.util.List args = new java.util.ArrayList (); 399 args.add(params); 400 return (org.opencrx.kernel.base.cci.ModifySecureObjectResult)refInvokeOperation( 401 "org:opencrx:kernel:base:SecureObject:removeAllOwningGroup", 402 args 403 ); 404 } 405 406 public org.opencrx.kernel.base.cci.ModifySecureObjectResult removeAllOwningGroup( 407 short mode 408 ) throws javax.jmi.reflect.RefException { 409 return removeAllOwningGroup( 410 ((org.opencrx.kernel.base.cci.basePackage)refOutermostPackage().refPackage("org:opencrx:kernel:base")).createRemoveAllOwningGroupParams( 411 mode 412 ) 413 ); 414 } 415 416 public org.opencrx.kernel.base.cci.ModifySecureObjectResult removeOwningGroup( 420 org.opencrx.kernel.base.cci.ModifyOwningGroupParams params 421 ) throws javax.jmi.reflect.RefException { 422 java.util.List args = new java.util.ArrayList (); 423 args.add(params); 424 return (org.opencrx.kernel.base.cci.ModifySecureObjectResult)refInvokeOperation( 425 "org:opencrx:kernel:base:SecureObject:removeOwningGroup", 426 args 427 ); 428 } 429 430 public org.opencrx.kernel.base.cci.ModifySecureObjectResult removeOwningGroup( 431 org.opencrx.security.realm1.cci.PrincipalGroup group 432 , short mode 433 ) throws javax.jmi.reflect.RefException { 434 return removeOwningGroup( 435 ((org.opencrx.kernel.base.cci.basePackage)refOutermostPackage().refPackage("org:opencrx:kernel:base")).createModifyOwningGroupParams( 436 group 437 , mode 438 ) 439 ); 440 } 441 442 public org.opencrx.kernel.base.cci.ModifySecureObjectResult setAccessLevel( 446 org.opencrx.kernel.base.cci.SetAccessLevelParams params 447 ) throws javax.jmi.reflect.RefException { 448 java.util.List args = new java.util.ArrayList (); 449 args.add(params); 450 return (org.opencrx.kernel.base.cci.ModifySecureObjectResult)refInvokeOperation( 451 "org:opencrx:kernel:base:SecureObject:setAccessLevel", 452 args 453 ); 454 } 455 456 public org.opencrx.kernel.base.cci.ModifySecureObjectResult setAccessLevel( 457 short accessLevelBrowse 458 , short accessLevelDelete 459 , short accessLevelUpdate 460 , short mode 461 ) throws javax.jmi.reflect.RefException { 462 return setAccessLevel( 463 ((org.opencrx.kernel.base.cci.basePackage)refOutermostPackage().refPackage("org:opencrx:kernel:base")).createSetAccessLevelParams( 464 accessLevelBrowse 465 , accessLevelDelete 466 , accessLevelUpdate 467 , mode 468 ) 469 ); 470 } 471 472 public org.opencrx.kernel.base.cci.ModifySecureObjectResult setOwningUser( 476 org.opencrx.kernel.base.cci.SetOwningUserParams params 477 ) throws javax.jmi.reflect.RefException { 478 java.util.List args = new java.util.ArrayList (); 479 args.add(params); 480 return (org.opencrx.kernel.base.cci.ModifySecureObjectResult)refInvokeOperation( 481 "org:opencrx:kernel:base:SecureObject:setOwningUser", 482 args 483 ); 484 } 485 486 public org.opencrx.kernel.base.cci.ModifySecureObjectResult setOwningUser( 487 short mode 488 , org.opencrx.security.realm1.cci.User user 489 ) throws javax.jmi.reflect.RefException { 490 return setOwningUser( 491 ((org.opencrx.kernel.base.cci.basePackage)refOutermostPackage().refPackage("org:opencrx:kernel:base")).createSetOwningUserParams( 492 mode 493 , user 494 ) 495 ); 496 } 497 498 public java.util.List getProductType ( 502 ) { 503 return (java.util.List )this.refGetValue("productType"); 504 } 505 public short getProductType( 506 int index 507 ) { 508 return ((java.lang.Number )this.refGetValue("org:opencrx:kernel:product1:ProductTypeFilterProperty:productType", index)).shortValue(); 509 } 510 511 public void setProductType( 515 java.util.List newValue 516 ) { 517 refSetValue("org:opencrx:kernel:product1:ProductTypeFilterProperty:productType", newValue); 518 } 519 520 public void setProductType( 521 short[] newValue 522 ) { 523 refSetValue("org:opencrx:kernel:product1:ProductTypeFilterProperty:productType", newValue); 524 } 525 526 public java.util.Date getCreatedAt( 530 ) { 531 return getCreatedAt(0); 532 } 533 534 protected java.util.Date getCreatedAt( 535 int index 536 ) { 537 return (java.util.Date )this.refGetValue("org:openmdx:base:BasicObject:createdAt", index); 538 } 539 540 protected void setCreatedAt( 544 java.util.Date newValue 545 ) { 546 setCreatedAt(0, newValue); 547 } 548 549 protected void setCreatedAt( 550 int index, 551 java.util.Date newValue 552 ) { 553 refSetValue("org:openmdx:base:BasicObject:createdAt", index, newValue); 554 } 555 public java.util.Set getCreatedBy ( 559 ) { 560 return (java.util.Set )this.refGetValue("createdBy"); 561 } 562 protected void setCreatedBy( 566 java.util.Set newValue 567 ) { 568 refSetValue("org:openmdx:base:BasicObject:createdBy", newValue); 569 } 570 571 protected void setCreatedBy( 572 String [] newValue 573 ) { 574 refSetValue("org:openmdx:base:BasicObject:createdBy", newValue); 575 } 576 577 public java.util.Date getModifiedAt( 581 ) { 582 return getModifiedAt(0); 583 } 584 585 protected java.util.Date getModifiedAt( 586 int index 587 ) { 588 return (java.util.Date )this.refGetValue("org:openmdx:base:BasicObject:modifiedAt", index); 589 } 590 591 protected void setModifiedAt( 595 java.util.Date newValue 596 ) { 597 setModifiedAt(0, newValue); 598 } 599 600 protected void setModifiedAt( 601 int index, 602 java.util.Date newValue 603 ) { 604 refSetValue("org:openmdx:base:BasicObject:modifiedAt", index, newValue); 605 } 606 public java.util.Set getModifiedBy ( 610 ) { 611 return (java.util.Set )this.refGetValue("modifiedBy"); 612 } 613 protected void setModifiedBy( 617 java.util.Set newValue 618 ) { 619 refSetValue("org:openmdx:base:BasicObject:modifiedBy", newValue); 620 } 621 622 protected void setModifiedBy( 623 String [] newValue 624 ) { 625 refSetValue("org:openmdx:base:BasicObject:modifiedBy", newValue); 626 } 627 628 protected void setContext( 632 java.util.List newValue 633 ) { 634 refSetValue("org:openmdx:base:ContextCapable:context", newValue); 635 } 636 637 protected void setContext( 638 org.openmdx.base.cci.Context[] newValue 639 ) { 640 refSetValue("org:openmdx:base:ContextCapable:context", newValue); 641 } 642 643 public org.openmdx.base.cci.Context getContext( 647 String id 648 ) { 649 return (org.openmdx.base.cci.Context)refGetValue( 650 "org:openmdx:base:ContextCapable:context", 651 id 652 ); 653 } 654 655 public java.util.Collection getContext( 659 ) { 660 return (java.util.Collection )refGetValue( 661 "org:openmdx:base:ContextCapable:context" 662 ); 663 } 664 665 protected void addContext ( 669 String id, 670 org.openmdx.base.cci.Context newValue 671 ) { 672 refAddValue( 673 "org:openmdx:base:ContextCapable:context", 674 id, 675 newValue 676 ); 677 } 678 679 protected void addContext ( 683 org.openmdx.base.cci.Context newValue 684 ) { 685 refAddValue( 686 "org:openmdx:base:ContextCapable:context", 687 newValue 688 ); 689 } 690 691 protected void removeContext ( 695 String id 696 ) { 697 refRemoveValue( 698 "org:openmdx:base:ContextCapable:context", 699 id 700 ); 701 } 702 703 public String getIdentity( 707 ) { 708 return getIdentity(0); 709 } 710 711 protected String getIdentity( 712 int index 713 ) { 714 return (String )this.refGetValue("org:openmdx:base:ExtentCapable:identity", index); 715 } 716 717 protected void setIdentity( 721 String newValue 722 ) { 723 setIdentity(0, newValue); 724 } 725 726 protected void setIdentity( 727 int index, 728 String newValue 729 ) { 730 refSetValue("org:openmdx:base:ExtentCapable:identity", index, newValue); 731 } 732 protected void setView( 736 java.util.List newValue 737 ) { 738 refSetValue("org:openmdx:compatibility:view1:ViewCapable:view", newValue); 739 } 740 741 protected void setView( 742 org.openmdx.compatibility.view1.cci.View[] newValue 743 ) { 744 refSetValue("org:openmdx:compatibility:view1:ViewCapable:view", newValue); 745 } 746 747 public org.openmdx.compatibility.view1.cci.View getView( 751 String namespace 752 ) { 753 return (org.openmdx.compatibility.view1.cci.View)refGetValue( 754 "org:openmdx:compatibility:view1:ViewCapable:view", 755 namespace 756 ); 757 } 758 759 public java.util.Collection getView( 763 ) { 764 return (java.util.Collection )refGetValue( 765 "org:openmdx:compatibility:view1:ViewCapable:view" 766 ); 767 } 768 769 public java.util.List getView( 770 org.openmdx.compatibility.view1.cci.ViewFilter filter 771 ) { 772 return ((org.openmdx.compatibility.base.collection.Container)refGetValue( 773 "org:openmdx:compatibility:view1:ViewCapable:view" 774 )).toList(filter); 775 } 776 777 protected void addView ( 781 String namespace, 782 org.openmdx.compatibility.view1.cci.View newValue 783 ) { 784 refAddValue( 785 "org:openmdx:compatibility:view1:ViewCapable:view", 786 namespace, 787 newValue 788 ); 789 } 790 791 protected void addView ( 795 org.openmdx.compatibility.view1.cci.View newValue 796 ) { 797 refAddValue( 798 "org:openmdx:compatibility:view1:ViewCapable:view", 799 newValue 800 ); 801 } 802 803 protected void removeView ( 807 String namespace 808 ) { 809 refRemoveValue( 810 "org:openmdx:compatibility:view1:ViewCapable:view", 811 namespace 812 ); 813 } 814 815 } 819 | Popular Tags |