1 package org.opencrx.kernel.activity1.cci; 14 15 public class ActivityWorkRecordImpl 16 extends org.openmdx.base.accessor.jmi.spi.RefObject_1 17 implements ActivityWorkRecord { 18 19 public ActivityWorkRecordImpl( 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 java.math.BigDecimal getBillableAmount ( 30 ) { 31 return (java.math.BigDecimal )this.refGetValue("billableAmount", 0); 32 } 33 protected void setBillableAmount( 37 java.math.BigDecimal newValue 38 ) { 39 refSetValue("org:opencrx:kernel:activity1:AbstractWorkRecord:billableAmount", 0, newValue); 40 } 41 42 public short getBillingCurrency( 46 ) { 47 return getBillingCurrency(0); 48 } 49 50 protected short getBillingCurrency( 51 int index 52 ) { 53 return ((java.lang.Number )this.refGetValue("org:opencrx:kernel:activity1:AbstractWorkRecord:billingCurrency", index)).shortValue(); 54 } 55 56 public void setBillingCurrency( 60 short newValue 61 ) { 62 setBillingCurrency(0, newValue); 63 } 64 65 protected void setBillingCurrency( 66 int index, 67 short newValue 68 ) { 69 refSetValue("org:opencrx:kernel:activity1:AbstractWorkRecord:billingCurrency", index, new Short (newValue)); 70 } 71 public String getDescription ( 75 ) { 76 return (String )this.refGetValue("description", 0); 77 } 78 public void setDescription( 82 String newValue 83 ) { 84 refSetValue("org:opencrx:kernel:activity1:AbstractWorkRecord:description", 0, newValue); 85 } 86 87 public short getDurationCalculationMode( 91 ) { 92 return getDurationCalculationMode(0); 93 } 94 95 protected short getDurationCalculationMode( 96 int index 97 ) { 98 return ((java.lang.Number )this.refGetValue("org:opencrx:kernel:activity1:AbstractWorkRecord:durationCalculationMode", index)).shortValue(); 99 } 100 101 public void setDurationCalculationMode( 105 short newValue 106 ) { 107 setDurationCalculationMode(0, newValue); 108 } 109 110 protected void setDurationCalculationMode( 111 int index, 112 short newValue 113 ) { 114 refSetValue("org:opencrx:kernel:activity1:AbstractWorkRecord:durationCalculationMode", index, new Short (newValue)); 115 } 116 public int getDurationHours( 120 ) { 121 return getDurationHours(0); 122 } 123 124 protected int getDurationHours( 125 int index 126 ) { 127 return ((java.lang.Number )this.refGetValue("org:opencrx:kernel:activity1:AbstractWorkRecord:durationHours", index)).intValue(); 128 } 129 130 public void setDurationHours( 134 int newValue 135 ) { 136 setDurationHours(0, newValue); 137 } 138 139 protected void setDurationHours( 140 int index, 141 int newValue 142 ) { 143 refSetValue("org:opencrx:kernel:activity1:AbstractWorkRecord:durationHours", index, new Integer (newValue)); 144 } 145 public int getDurationMinutes( 149 ) { 150 return getDurationMinutes(0); 151 } 152 153 protected int getDurationMinutes( 154 int index 155 ) { 156 return ((java.lang.Number )this.refGetValue("org:opencrx:kernel:activity1:AbstractWorkRecord:durationMinutes", index)).intValue(); 157 } 158 159 public void setDurationMinutes( 163 int newValue 164 ) { 165 setDurationMinutes(0, newValue); 166 } 167 168 protected void setDurationMinutes( 169 int index, 170 int newValue 171 ) { 172 refSetValue("org:opencrx:kernel:activity1:AbstractWorkRecord:durationMinutes", index, new Integer (newValue)); 173 } 174 public java.util.Date getEndedAt ( 178 ) { 179 return (java.util.Date )this.refGetValue("endedAt", 0); 180 } 181 public void setEndedAt( 185 java.util.Date newValue 186 ) { 187 refSetValue("org:opencrx:kernel:activity1:AbstractWorkRecord:endedAt", 0, newValue); 188 } 189 190 public boolean isBillable( 194 ) { 195 return isBillable(0); 196 } 197 198 protected boolean isBillable( 199 int index 200 ) { 201 return ((Boolean )this.refGetValue("org:opencrx:kernel:activity1:AbstractWorkRecord:isBillable", index)).booleanValue(); 202 } 203 204 public void setBillable( 208 boolean newValue 209 ) { 210 setBillable(0, newValue); 211 } 212 213 protected void setBillable( 214 int index, 215 boolean newValue 216 ) { 217 refSetValue("org:opencrx:kernel:activity1:AbstractWorkRecord:isBillable", index, new Boolean (newValue)); 218 } 219 public String getName( 223 ) { 224 return getName(0); 225 } 226 227 protected String getName( 228 int index 229 ) { 230 return (String )this.refGetValue("org:opencrx:kernel:activity1:AbstractWorkRecord:name", index); 231 } 232 233 public void setName( 237 String newValue 238 ) { 239 setName(0, newValue); 240 } 241 242 protected void setName( 243 int index, 244 String newValue 245 ) { 246 refSetValue("org:opencrx:kernel:activity1:AbstractWorkRecord:name", index, newValue); 247 } 248 public Integer getPauseDurationHours ( 252 ) { 253 return (Integer )this.refGetValue("pauseDurationHours", 0); 254 } 255 public void setPauseDurationHours( 259 Integer newValue 260 ) { 261 refSetValue("org:opencrx:kernel:activity1:AbstractWorkRecord:pauseDurationHours", 0, newValue); 262 } 263 264 public Integer getPauseDurationMinutes ( 268 ) { 269 return (Integer )this.refGetValue("pauseDurationMinutes", 0); 270 } 271 public void setPauseDurationMinutes( 275 Integer newValue 276 ) { 277 refSetValue("org:opencrx:kernel:activity1:AbstractWorkRecord:pauseDurationMinutes", 0, newValue); 278 } 279 280 public java.math.BigDecimal getRate ( 284 ) { 285 return (java.math.BigDecimal )this.refGetValue("rate", 0); 286 } 287 public void setRate( 291 java.math.BigDecimal newValue 292 ) { 293 refSetValue("org:opencrx:kernel:activity1:AbstractWorkRecord:rate", 0, newValue); 294 } 295 296 public short getRateType( 300 ) { 301 return getRateType(0); 302 } 303 304 protected short getRateType( 305 int index 306 ) { 307 return ((java.lang.Number )this.refGetValue("org:opencrx:kernel:activity1:AbstractWorkRecord:rateType", index)).shortValue(); 308 } 309 310 public void setRateType( 314 short newValue 315 ) { 316 setRateType(0, newValue); 317 } 318 319 protected void setRateType( 320 int index, 321 short newValue 322 ) { 323 refSetValue("org:opencrx:kernel:activity1:AbstractWorkRecord:rateType", index, new Short (newValue)); 324 } 325 public java.util.Date getStartedAt ( 329 ) { 330 return (java.util.Date )this.refGetValue("startedAt", 0); 331 } 332 public void setStartedAt( 336 java.util.Date newValue 337 ) { 338 refSetValue("org:opencrx:kernel:activity1:AbstractWorkRecord:startedAt", 0, newValue); 339 } 340 341 public org.opencrx.kernel.depot1.cci.CompoundBooking getWorkCb( 345 ) { 346 return (org.opencrx.kernel.depot1.cci.CompoundBooking)refGetValue( 347 "org:opencrx:kernel:activity1:AbstractWorkRecord:workCb" 348 ); 349 } 350 351 protected void setWorkCb( 355 org.opencrx.kernel.depot1.cci.CompoundBooking newValue 356 ) { 357 refSetValue( 358 "org:opencrx:kernel:activity1:AbstractWorkRecord:workCb", 359 newValue 360 ); 361 } 362 363 protected void removeWorkCb ( 367 ) { 368 refRemoveValue( 369 "org:opencrx:kernel:activity1:AbstractWorkRecord:workCb" 370 ); 371 } 372 public org.openmdx.base.cci.Void assignToMe( 376 org.openmdx.base.cci.Void params 377 ) throws javax.jmi.reflect.RefException { 378 java.util.List args = new java.util.ArrayList (); 379 args.add(params); 380 return (org.openmdx.base.cci.Void)refInvokeOperation( 381 "org:opencrx:kernel:base:Assignable:assignToMe", 382 args 383 ); 384 } 385 386 public org.openmdx.base.cci.Void assignToMe( 387 ) throws javax.jmi.reflect.RefException { 388 return assignToMe( 389 ((org.openmdx.base.cci.basePackage)refOutermostPackage().refPackage("org:openmdx:base")).createVoid( 390 ) 391 ); 392 } 393 394 public short getAccessLevelBrowse( 398 ) { 399 return getAccessLevelBrowse(0); 400 } 401 402 protected short getAccessLevelBrowse( 403 int index 404 ) { 405 return ((java.lang.Number )this.refGetValue("org:opencrx:kernel:base:SecureObject:accessLevelBrowse", index)).shortValue(); 406 } 407 408 public void setAccessLevelBrowse( 412 short newValue 413 ) { 414 setAccessLevelBrowse(0, newValue); 415 } 416 417 protected void setAccessLevelBrowse( 418 int index, 419 short newValue 420 ) { 421 refSetValue("org:opencrx:kernel:base:SecureObject:accessLevelBrowse", index, new Short (newValue)); 422 } 423 public short getAccessLevelDelete( 427 ) { 428 return getAccessLevelDelete(0); 429 } 430 431 protected short getAccessLevelDelete( 432 int index 433 ) { 434 return ((java.lang.Number )this.refGetValue("org:opencrx:kernel:base:SecureObject:accessLevelDelete", index)).shortValue(); 435 } 436 437 public void setAccessLevelDelete( 441 short newValue 442 ) { 443 setAccessLevelDelete(0, newValue); 444 } 445 446 protected void setAccessLevelDelete( 447 int index, 448 short newValue 449 ) { 450 refSetValue("org:opencrx:kernel:base:SecureObject:accessLevelDelete", index, new Short (newValue)); 451 } 452 public short getAccessLevelUpdate( 456 ) { 457 return getAccessLevelUpdate(0); 458 } 459 460 protected short getAccessLevelUpdate( 461 int index 462 ) { 463 return ((java.lang.Number )this.refGetValue("org:opencrx:kernel:base:SecureObject:accessLevelUpdate", index)).shortValue(); 464 } 465 466 public void setAccessLevelUpdate( 470 short newValue 471 ) { 472 setAccessLevelUpdate(0, newValue); 473 } 474 475 protected void setAccessLevelUpdate( 476 int index, 477 short newValue 478 ) { 479 refSetValue("org:opencrx:kernel:base:SecureObject:accessLevelUpdate", index, new Short (newValue)); 480 } 481 public org.opencrx.kernel.base.cci.ModifySecureObjectResult addOwningGroup( 485 org.opencrx.kernel.base.cci.ModifyOwningGroupParams params 486 ) throws javax.jmi.reflect.RefException { 487 java.util.List args = new java.util.ArrayList (); 488 args.add(params); 489 return (org.opencrx.kernel.base.cci.ModifySecureObjectResult)refInvokeOperation( 490 "org:opencrx:kernel:base:SecureObject:addOwningGroup", 491 args 492 ); 493 } 494 495 public org.opencrx.kernel.base.cci.ModifySecureObjectResult addOwningGroup( 496 org.opencrx.security.realm1.cci.PrincipalGroup group 497 , short mode 498 ) throws javax.jmi.reflect.RefException { 499 return addOwningGroup( 500 ((org.opencrx.kernel.base.cci.basePackage)refOutermostPackage().refPackage("org:opencrx:kernel:base")).createModifyOwningGroupParams( 501 group 502 , mode 503 ) 504 ); 505 } 506 507 public java.util.List getOwner ( 511 ) { 512 return (java.util.List )this.refGetValue("owner"); 513 } 514 public String getOwner( 515 int index 516 ) { 517 return (String )this.refGetValue("org:opencrx:kernel:base:SecureObject:owner", index); 518 } 519 520 protected void setOwner( 524 java.util.List newValue 525 ) { 526 refSetValue("org:opencrx:kernel:base:SecureObject:owner", newValue); 527 } 528 529 protected void setOwner( 530 String [] newValue 531 ) { 532 refSetValue("org:opencrx:kernel:base:SecureObject:owner", newValue); 533 } 534 535 public void setOwningGroup( 539 java.util.List newValue 540 ) { 541 refSetValue("org:opencrx:kernel:base:SecureObject:owningGroup", newValue); 542 } 543 544 public void setOwningGroup( 545 org.opencrx.security.realm1.cci.PrincipalGroup[] newValue 546 ) { 547 refSetValue("org:opencrx:kernel:base:SecureObject:owningGroup", newValue); 548 } 549 550 public org.opencrx.security.realm1.cci.PrincipalGroup getOwningGroup( 554 int index 555 ) { 556 return (org.opencrx.security.realm1.cci.PrincipalGroup)refGetValue( 557 "org:opencrx:kernel:base:SecureObject:owningGroup", 558 new Integer (index) 559 ); 560 } 561 562 public java.util.Collection getOwningGroup( 566 ) { 567 return (java.util.Collection )refGetValue( 568 "org:opencrx:kernel:base:SecureObject:owningGroup" 569 ); 570 } 571 572 public void addOwningGroup ( 576 int index, 577 org.opencrx.security.realm1.cci.PrincipalGroup newValue 578 ) { 579 refAddValue( 580 "org:opencrx:kernel:base:SecureObject:owningGroup", 581 new Integer (index), 582 newValue 583 ); 584 } 585 586 public void addOwningGroup ( 590 org.opencrx.security.realm1.cci.PrincipalGroup newValue 591 ) { 592 refAddValue( 593 "org:opencrx:kernel:base:SecureObject:owningGroup", 594 newValue 595 ); 596 } 597 598 public void removeOwningGroup ( 602 int index 603 ) { 604 refRemoveValue( 605 "org:opencrx:kernel:base:SecureObject:owningGroup", 606 new Integer (index) 607 ); 608 } 609 610 public org.opencrx.security.realm1.cci.User getOwningUser( 614 ) { 615 return (org.opencrx.security.realm1.cci.User)refGetValue( 616 "org:opencrx:kernel:base:SecureObject:owningUser" 617 ); 618 } 619 620 public void setOwningUser( 624 org.opencrx.security.realm1.cci.User newValue 625 ) { 626 refSetValue( 627 "org:opencrx:kernel:base:SecureObject:owningUser", 628 newValue 629 ); 630 } 631 632 public void removeOwningUser ( 636 ) { 637 refRemoveValue( 638 "org:opencrx:kernel:base:SecureObject:owningUser" 639 ); 640 } 641 public org.opencrx.kernel.base.cci.ModifySecureObjectResult removeAllOwningGroup( 645 org.opencrx.kernel.base.cci.RemoveAllOwningGroupParams params 646 ) throws javax.jmi.reflect.RefException { 647 java.util.List args = new java.util.ArrayList (); 648 args.add(params); 649 return (org.opencrx.kernel.base.cci.ModifySecureObjectResult)refInvokeOperation( 650 "org:opencrx:kernel:base:SecureObject:removeAllOwningGroup", 651 args 652 ); 653 } 654 655 public org.opencrx.kernel.base.cci.ModifySecureObjectResult removeAllOwningGroup( 656 short mode 657 ) throws javax.jmi.reflect.RefException { 658 return removeAllOwningGroup( 659 ((org.opencrx.kernel.base.cci.basePackage)refOutermostPackage().refPackage("org:opencrx:kernel:base")).createRemoveAllOwningGroupParams( 660 mode 661 ) 662 ); 663 } 664 665 public org.opencrx.kernel.base.cci.ModifySecureObjectResult removeOwningGroup( 669 org.opencrx.kernel.base.cci.ModifyOwningGroupParams params 670 ) throws javax.jmi.reflect.RefException { 671 java.util.List args = new java.util.ArrayList (); 672 args.add(params); 673 return (org.opencrx.kernel.base.cci.ModifySecureObjectResult)refInvokeOperation( 674 "org:opencrx:kernel:base:SecureObject:removeOwningGroup", 675 args 676 ); 677 } 678 679 public org.opencrx.kernel.base.cci.ModifySecureObjectResult removeOwningGroup( 680 org.opencrx.security.realm1.cci.PrincipalGroup group 681 , short mode 682 ) throws javax.jmi.reflect.RefException { 683 return removeOwningGroup( 684 ((org.opencrx.kernel.base.cci.basePackage)refOutermostPackage().refPackage("org:opencrx:kernel:base")).createModifyOwningGroupParams( 685 group 686 , mode 687 ) 688 ); 689 } 690 691 public org.opencrx.kernel.base.cci.ModifySecureObjectResult setAccessLevel( 695 org.opencrx.kernel.base.cci.SetAccessLevelParams params 696 ) throws javax.jmi.reflect.RefException { 697 java.util.List args = new java.util.ArrayList (); 698 args.add(params); 699 return (org.opencrx.kernel.base.cci.ModifySecureObjectResult)refInvokeOperation( 700 "org:opencrx:kernel:base:SecureObject:setAccessLevel", 701 args 702 ); 703 } 704 705 public org.opencrx.kernel.base.cci.ModifySecureObjectResult setAccessLevel( 706 short accessLevelBrowse 707 , short accessLevelDelete 708 , short accessLevelUpdate 709 , short mode 710 ) throws javax.jmi.reflect.RefException { 711 return setAccessLevel( 712 ((org.opencrx.kernel.base.cci.basePackage)refOutermostPackage().refPackage("org:opencrx:kernel:base")).createSetAccessLevelParams( 713 accessLevelBrowse 714 , accessLevelDelete 715 , accessLevelUpdate 716 , mode 717 ) 718 ); 719 } 720 721 public org.opencrx.kernel.base.cci.ModifySecureObjectResult setOwningUser( 725 org.opencrx.kernel.base.cci.SetOwningUserParams params 726 ) throws javax.jmi.reflect.RefException { 727 java.util.List args = new java.util.ArrayList (); 728 args.add(params); 729 return (org.opencrx.kernel.base.cci.ModifySecureObjectResult)refInvokeOperation( 730 "org:opencrx:kernel:base:SecureObject:setOwningUser", 731 args 732 ); 733 } 734 735 public org.opencrx.kernel.base.cci.ModifySecureObjectResult setOwningUser( 736 short mode 737 , org.opencrx.security.realm1.cci.User user 738 ) throws javax.jmi.reflect.RefException { 739 return setOwningUser( 740 ((org.opencrx.kernel.base.cci.basePackage)refOutermostPackage().refPackage("org:opencrx:kernel:base")).createSetOwningUserParams( 741 mode 742 , user 743 ) 744 ); 745 } 746 747 public java.util.Date getCreatedAt( 751 ) { 752 return getCreatedAt(0); 753 } 754 755 protected java.util.Date getCreatedAt( 756 int index 757 ) { 758 return (java.util.Date )this.refGetValue("org:openmdx:base:BasicObject:createdAt", index); 759 } 760 761 protected void setCreatedAt( 765 java.util.Date newValue 766 ) { 767 setCreatedAt(0, newValue); 768 } 769 770 protected void setCreatedAt( 771 int index, 772 java.util.Date newValue 773 ) { 774 refSetValue("org:openmdx:base:BasicObject:createdAt", index, newValue); 775 } 776 public java.util.Set getCreatedBy ( 780 ) { 781 return (java.util.Set )this.refGetValue("createdBy"); 782 } 783 protected void setCreatedBy( 787 java.util.Set newValue 788 ) { 789 refSetValue("org:openmdx:base:BasicObject:createdBy", newValue); 790 } 791 792 protected void setCreatedBy( 793 String [] newValue 794 ) { 795 refSetValue("org:openmdx:base:BasicObject:createdBy", newValue); 796 } 797 798 public java.util.Date getModifiedAt( 802 ) { 803 return getModifiedAt(0); 804 } 805 806 protected java.util.Date getModifiedAt( 807 int index 808 ) { 809 return (java.util.Date )this.refGetValue("org:openmdx:base:BasicObject:modifiedAt", index); 810 } 811 812 protected void setModifiedAt( 816 java.util.Date newValue 817 ) { 818 setModifiedAt(0, newValue); 819 } 820 821 protected void setModifiedAt( 822 int index, 823 java.util.Date newValue 824 ) { 825 refSetValue("org:openmdx:base:BasicObject:modifiedAt", index, newValue); 826 } 827 public java.util.Set getModifiedBy ( 831 ) { 832 return (java.util.Set )this.refGetValue("modifiedBy"); 833 } 834 protected void setModifiedBy( 838 java.util.Set newValue 839 ) { 840 refSetValue("org:openmdx:base:BasicObject:modifiedBy", newValue); 841 } 842 843 protected void setModifiedBy( 844 String [] newValue 845 ) { 846 refSetValue("org:openmdx:base:BasicObject:modifiedBy", newValue); 847 } 848 849 protected void setContext( 853 java.util.List newValue 854 ) { 855 refSetValue("org:openmdx:base:ContextCapable:context", newValue); 856 } 857 858 protected void setContext( 859 org.openmdx.base.cci.Context[] newValue 860 ) { 861 refSetValue("org:openmdx:base:ContextCapable:context", newValue); 862 } 863 864 public org.openmdx.base.cci.Context getContext( 868 String id 869 ) { 870 return (org.openmdx.base.cci.Context)refGetValue( 871 "org:openmdx:base:ContextCapable:context", 872 id 873 ); 874 } 875 876 public java.util.Collection getContext( 880 ) { 881 return (java.util.Collection )refGetValue( 882 "org:openmdx:base:ContextCapable:context" 883 ); 884 } 885 886 protected void addContext ( 890 String id, 891 org.openmdx.base.cci.Context newValue 892 ) { 893 refAddValue( 894 "org:openmdx:base:ContextCapable:context", 895 id, 896 newValue 897 ); 898 } 899 900 protected void addContext ( 904 org.openmdx.base.cci.Context newValue 905 ) { 906 refAddValue( 907 "org:openmdx:base:ContextCapable:context", 908 newValue 909 ); 910 } 911 912 protected void removeContext ( 916 String id 917 ) { 918 refRemoveValue( 919 "org:openmdx:base:ContextCapable:context", 920 id 921 ); 922 } 923 924 public String getIdentity( 928 ) { 929 return getIdentity(0); 930 } 931 932 protected String getIdentity( 933 int index 934 ) { 935 return (String )this.refGetValue("org:openmdx:base:ExtentCapable:identity", index); 936 } 937 938 protected void setIdentity( 942 String newValue 943 ) { 944 setIdentity(0, newValue); 945 } 946 947 protected void setIdentity( 948 int index, 949 String newValue 950 ) { 951 refSetValue("org:openmdx:base:ExtentCapable:identity", index, newValue); 952 } 953 protected void setView( 957 java.util.List newValue 958 ) { 959 refSetValue("org:openmdx:compatibility:view1:ViewCapable:view", newValue); 960 } 961 962 protected void setView( 963 org.openmdx.compatibility.view1.cci.View[] newValue 964 ) { 965 refSetValue("org:openmdx:compatibility:view1:ViewCapable:view", newValue); 966 } 967 968 public org.openmdx.compatibility.view1.cci.View getView( 972 String namespace 973 ) { 974 return (org.openmdx.compatibility.view1.cci.View)refGetValue( 975 "org:openmdx:compatibility:view1:ViewCapable:view", 976 namespace 977 ); 978 } 979 980 public java.util.Collection getView( 984 ) { 985 return (java.util.Collection )refGetValue( 986 "org:openmdx:compatibility:view1:ViewCapable:view" 987 ); 988 } 989 990 public java.util.List getView( 991 org.openmdx.compatibility.view1.cci.ViewFilter filter 992 ) { 993 return ((org.openmdx.compatibility.base.collection.Container)refGetValue( 994 "org:openmdx:compatibility:view1:ViewCapable:view" 995 )).toList(filter); 996 } 997 998 protected void addView ( 1002 String namespace, 1003 org.openmdx.compatibility.view1.cci.View newValue 1004 ) { 1005 refAddValue( 1006 "org:openmdx:compatibility:view1:ViewCapable:view", 1007 namespace, 1008 newValue 1009 ); 1010 } 1011 1012 protected void addView ( 1016 org.openmdx.compatibility.view1.cci.View newValue 1017 ) { 1018 refAddValue( 1019 "org:openmdx:compatibility:view1:ViewCapable:view", 1020 newValue 1021 ); 1022 } 1023 1024 protected void removeView ( 1028 String namespace 1029 ) { 1030 refRemoveValue( 1031 "org:openmdx:compatibility:view1:ViewCapable:view", 1032 namespace 1033 ); 1034 } 1035 1036} 1040 | Popular Tags |