1 package org.opencrx.kernel.product1.cci; 14 15 public class PriceUomFilterPropertyImpl 16 extends org.openmdx.base.accessor.jmi.spi.RefObject_1 17 implements PriceUomFilterProperty { 18 19 public PriceUomFilterPropertyImpl( 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 void setPriceUom( 502 java.util.List newValue 503 ) { 504 refSetValue("org:opencrx:kernel:product1:PriceUomFilterProperty:priceUom", newValue); 505 } 506 507 public void setPriceUom( 508 org.opencrx.kernel.uom1.cci.Uom[] newValue 509 ) { 510 refSetValue("org:opencrx:kernel:product1:PriceUomFilterProperty:priceUom", newValue); 511 } 512 513 public org.opencrx.kernel.uom1.cci.Uom getPriceUom( 517 int index 518 ) { 519 return (org.opencrx.kernel.uom1.cci.Uom)refGetValue( 520 "org:opencrx:kernel:product1:PriceUomFilterProperty:priceUom", 521 new Integer (index) 522 ); 523 } 524 525 public java.util.Collection getPriceUom( 529 ) { 530 return (java.util.Collection )refGetValue( 531 "org:opencrx:kernel:product1:PriceUomFilterProperty:priceUom" 532 ); 533 } 534 535 public void addPriceUom ( 539 int index, 540 org.opencrx.kernel.uom1.cci.Uom newValue 541 ) { 542 refAddValue( 543 "org:opencrx:kernel:product1:PriceUomFilterProperty:priceUom", 544 new Integer (index), 545 newValue 546 ); 547 } 548 549 public void addPriceUom ( 553 org.opencrx.kernel.uom1.cci.Uom newValue 554 ) { 555 refAddValue( 556 "org:opencrx:kernel:product1:PriceUomFilterProperty:priceUom", 557 newValue 558 ); 559 } 560 561 public void removePriceUom ( 565 int index 566 ) { 567 refRemoveValue( 568 "org:opencrx:kernel:product1:PriceUomFilterProperty:priceUom", 569 new Integer (index) 570 ); 571 } 572 573 public java.util.Date getCreatedAt( 577 ) { 578 return getCreatedAt(0); 579 } 580 581 protected java.util.Date getCreatedAt( 582 int index 583 ) { 584 return (java.util.Date )this.refGetValue("org:openmdx:base:BasicObject:createdAt", index); 585 } 586 587 protected void setCreatedAt( 591 java.util.Date newValue 592 ) { 593 setCreatedAt(0, newValue); 594 } 595 596 protected void setCreatedAt( 597 int index, 598 java.util.Date newValue 599 ) { 600 refSetValue("org:openmdx:base:BasicObject:createdAt", index, newValue); 601 } 602 public java.util.Set getCreatedBy ( 606 ) { 607 return (java.util.Set )this.refGetValue("createdBy"); 608 } 609 protected void setCreatedBy( 613 java.util.Set newValue 614 ) { 615 refSetValue("org:openmdx:base:BasicObject:createdBy", newValue); 616 } 617 618 protected void setCreatedBy( 619 String [] newValue 620 ) { 621 refSetValue("org:openmdx:base:BasicObject:createdBy", newValue); 622 } 623 624 public java.util.Date getModifiedAt( 628 ) { 629 return getModifiedAt(0); 630 } 631 632 protected java.util.Date getModifiedAt( 633 int index 634 ) { 635 return (java.util.Date )this.refGetValue("org:openmdx:base:BasicObject:modifiedAt", index); 636 } 637 638 protected void setModifiedAt( 642 java.util.Date newValue 643 ) { 644 setModifiedAt(0, newValue); 645 } 646 647 protected void setModifiedAt( 648 int index, 649 java.util.Date newValue 650 ) { 651 refSetValue("org:openmdx:base:BasicObject:modifiedAt", index, newValue); 652 } 653 public java.util.Set getModifiedBy ( 657 ) { 658 return (java.util.Set )this.refGetValue("modifiedBy"); 659 } 660 protected void setModifiedBy( 664 java.util.Set newValue 665 ) { 666 refSetValue("org:openmdx:base:BasicObject:modifiedBy", newValue); 667 } 668 669 protected void setModifiedBy( 670 String [] newValue 671 ) { 672 refSetValue("org:openmdx:base:BasicObject:modifiedBy", newValue); 673 } 674 675 protected void setContext( 679 java.util.List newValue 680 ) { 681 refSetValue("org:openmdx:base:ContextCapable:context", newValue); 682 } 683 684 protected void setContext( 685 org.openmdx.base.cci.Context[] newValue 686 ) { 687 refSetValue("org:openmdx:base:ContextCapable:context", newValue); 688 } 689 690 public org.openmdx.base.cci.Context getContext( 694 String id 695 ) { 696 return (org.openmdx.base.cci.Context)refGetValue( 697 "org:openmdx:base:ContextCapable:context", 698 id 699 ); 700 } 701 702 public java.util.Collection getContext( 706 ) { 707 return (java.util.Collection )refGetValue( 708 "org:openmdx:base:ContextCapable:context" 709 ); 710 } 711 712 protected void addContext ( 716 String id, 717 org.openmdx.base.cci.Context newValue 718 ) { 719 refAddValue( 720 "org:openmdx:base:ContextCapable:context", 721 id, 722 newValue 723 ); 724 } 725 726 protected void addContext ( 730 org.openmdx.base.cci.Context newValue 731 ) { 732 refAddValue( 733 "org:openmdx:base:ContextCapable:context", 734 newValue 735 ); 736 } 737 738 protected void removeContext ( 742 String id 743 ) { 744 refRemoveValue( 745 "org:openmdx:base:ContextCapable:context", 746 id 747 ); 748 } 749 750 public String getIdentity( 754 ) { 755 return getIdentity(0); 756 } 757 758 protected String getIdentity( 759 int index 760 ) { 761 return (String )this.refGetValue("org:openmdx:base:ExtentCapable:identity", index); 762 } 763 764 protected void setIdentity( 768 String newValue 769 ) { 770 setIdentity(0, newValue); 771 } 772 773 protected void setIdentity( 774 int index, 775 String newValue 776 ) { 777 refSetValue("org:openmdx:base:ExtentCapable:identity", index, newValue); 778 } 779 protected void setView( 783 java.util.List newValue 784 ) { 785 refSetValue("org:openmdx:compatibility:view1:ViewCapable:view", newValue); 786 } 787 788 protected void setView( 789 org.openmdx.compatibility.view1.cci.View[] newValue 790 ) { 791 refSetValue("org:openmdx:compatibility:view1:ViewCapable:view", newValue); 792 } 793 794 public org.openmdx.compatibility.view1.cci.View getView( 798 String namespace 799 ) { 800 return (org.openmdx.compatibility.view1.cci.View)refGetValue( 801 "org:openmdx:compatibility:view1:ViewCapable:view", 802 namespace 803 ); 804 } 805 806 public java.util.Collection getView( 810 ) { 811 return (java.util.Collection )refGetValue( 812 "org:openmdx:compatibility:view1:ViewCapable:view" 813 ); 814 } 815 816 public java.util.List getView( 817 org.openmdx.compatibility.view1.cci.ViewFilter filter 818 ) { 819 return ((org.openmdx.compatibility.base.collection.Container)refGetValue( 820 "org:openmdx:compatibility:view1:ViewCapable:view" 821 )).toList(filter); 822 } 823 824 protected void addView ( 828 String namespace, 829 org.openmdx.compatibility.view1.cci.View newValue 830 ) { 831 refAddValue( 832 "org:openmdx:compatibility:view1:ViewCapable:view", 833 namespace, 834 newValue 835 ); 836 } 837 838 protected void addView ( 842 org.openmdx.compatibility.view1.cci.View newValue 843 ) { 844 refAddValue( 845 "org:openmdx:compatibility:view1:ViewCapable:view", 846 newValue 847 ); 848 } 849 850 protected void removeView ( 854 String namespace 855 ) { 856 refRemoveValue( 857 "org:openmdx:compatibility:view1:ViewCapable:view", 858 namespace 859 ); 860 } 861 862 } 866 | Popular Tags |