1 package org.opencrx.kernel.activity1.cci; 14 15 public class EffortEstimateImpl 16 extends org.openmdx.base.accessor.jmi.spi.RefObject_1 17 implements EffortEstimate { 18 19 public EffortEstimateImpl( 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:activity1:EffortEstimate:description", 0, newValue); 40 } 41 42 public Integer getEstimateEffortHours ( 46 ) { 47 return (Integer )this.refGetValue("estimateEffortHours", 0); 48 } 49 public void setEstimateEffortHours( 53 Integer newValue 54 ) { 55 refSetValue("org:opencrx:kernel:activity1:EffortEstimate:estimateEffortHours", 0, newValue); 56 } 57 58 public Integer getEstimateEffortMinutes ( 62 ) { 63 return (Integer )this.refGetValue("estimateEffortMinutes", 0); 64 } 65 public void setEstimateEffortMinutes( 69 Integer newValue 70 ) { 71 refSetValue("org:opencrx:kernel:activity1:EffortEstimate:estimateEffortMinutes", 0, newValue); 72 } 73 74 public Integer getEstimateMaxDeviation ( 78 ) { 79 return (Integer )this.refGetValue("estimateMaxDeviation", 0); 80 } 81 public void setEstimateMaxDeviation( 85 Integer newValue 86 ) { 87 refSetValue("org:opencrx:kernel:activity1:EffortEstimate:estimateMaxDeviation", 0, newValue); 88 } 89 90 public Boolean isMain ( 94 ) { 95 return (Boolean )this.refGetValue("isMain", 0); 96 } 97 public void setMain( 101 Boolean newValue 102 ) { 103 refSetValue("org:opencrx:kernel:activity1:EffortEstimate:isMain", 0, newValue); 104 } 105 106 public String getName( 110 ) { 111 return getName(0); 112 } 113 114 protected String getName( 115 int index 116 ) { 117 return (String )this.refGetValue("org:opencrx:kernel:activity1:EffortEstimate:name", index); 118 } 119 120 public void setName( 124 String newValue 125 ) { 126 setName(0, newValue); 127 } 128 129 protected void setName( 130 int index, 131 String newValue 132 ) { 133 refSetValue("org:opencrx:kernel:activity1:EffortEstimate:name", index, newValue); 134 } 135 public java.util.List getSelector ( 139 ) { 140 return (java.util.List )this.refGetValue("selector"); 141 } 142 public String getSelector( 143 int index 144 ) { 145 return (String )this.refGetValue("org:opencrx:kernel:activity1:EffortEstimate:selector", index); 146 } 147 148 public void setSelector( 152 java.util.List newValue 153 ) { 154 refSetValue("org:opencrx:kernel:activity1:EffortEstimate:selector", newValue); 155 } 156 157 public void setSelector( 158 String [] newValue 159 ) { 160 refSetValue("org:opencrx:kernel:activity1:EffortEstimate:selector", newValue); 161 } 162 163 public short getAccessLevelBrowse( 167 ) { 168 return getAccessLevelBrowse(0); 169 } 170 171 protected short getAccessLevelBrowse( 172 int index 173 ) { 174 return ((java.lang.Number )this.refGetValue("org:opencrx:kernel:base:SecureObject:accessLevelBrowse", index)).shortValue(); 175 } 176 177 public void setAccessLevelBrowse( 181 short newValue 182 ) { 183 setAccessLevelBrowse(0, newValue); 184 } 185 186 protected void setAccessLevelBrowse( 187 int index, 188 short newValue 189 ) { 190 refSetValue("org:opencrx:kernel:base:SecureObject:accessLevelBrowse", index, new Short (newValue)); 191 } 192 public short getAccessLevelDelete( 196 ) { 197 return getAccessLevelDelete(0); 198 } 199 200 protected short getAccessLevelDelete( 201 int index 202 ) { 203 return ((java.lang.Number )this.refGetValue("org:opencrx:kernel:base:SecureObject:accessLevelDelete", index)).shortValue(); 204 } 205 206 public void setAccessLevelDelete( 210 short newValue 211 ) { 212 setAccessLevelDelete(0, newValue); 213 } 214 215 protected void setAccessLevelDelete( 216 int index, 217 short newValue 218 ) { 219 refSetValue("org:opencrx:kernel:base:SecureObject:accessLevelDelete", index, new Short (newValue)); 220 } 221 public short getAccessLevelUpdate( 225 ) { 226 return getAccessLevelUpdate(0); 227 } 228 229 protected short getAccessLevelUpdate( 230 int index 231 ) { 232 return ((java.lang.Number )this.refGetValue("org:opencrx:kernel:base:SecureObject:accessLevelUpdate", index)).shortValue(); 233 } 234 235 public void setAccessLevelUpdate( 239 short newValue 240 ) { 241 setAccessLevelUpdate(0, newValue); 242 } 243 244 protected void setAccessLevelUpdate( 245 int index, 246 short newValue 247 ) { 248 refSetValue("org:opencrx:kernel:base:SecureObject:accessLevelUpdate", index, new Short (newValue)); 249 } 250 public org.opencrx.kernel.base.cci.ModifySecureObjectResult addOwningGroup( 254 org.opencrx.kernel.base.cci.ModifyOwningGroupParams params 255 ) throws javax.jmi.reflect.RefException { 256 java.util.List args = new java.util.ArrayList (); 257 args.add(params); 258 return (org.opencrx.kernel.base.cci.ModifySecureObjectResult)refInvokeOperation( 259 "org:opencrx:kernel:base:SecureObject:addOwningGroup", 260 args 261 ); 262 } 263 264 public org.opencrx.kernel.base.cci.ModifySecureObjectResult addOwningGroup( 265 org.opencrx.security.realm1.cci.PrincipalGroup group 266 , short mode 267 ) throws javax.jmi.reflect.RefException { 268 return addOwningGroup( 269 ((org.opencrx.kernel.base.cci.basePackage)refOutermostPackage().refPackage("org:opencrx:kernel:base")).createModifyOwningGroupParams( 270 group 271 , mode 272 ) 273 ); 274 } 275 276 public java.util.List getOwner ( 280 ) { 281 return (java.util.List )this.refGetValue("owner"); 282 } 283 public String getOwner( 284 int index 285 ) { 286 return (String )this.refGetValue("org:opencrx:kernel:base:SecureObject:owner", index); 287 } 288 289 protected void setOwner( 293 java.util.List newValue 294 ) { 295 refSetValue("org:opencrx:kernel:base:SecureObject:owner", newValue); 296 } 297 298 protected void setOwner( 299 String [] newValue 300 ) { 301 refSetValue("org:opencrx:kernel:base:SecureObject:owner", newValue); 302 } 303 304 public void setOwningGroup( 308 java.util.List newValue 309 ) { 310 refSetValue("org:opencrx:kernel:base:SecureObject:owningGroup", newValue); 311 } 312 313 public void setOwningGroup( 314 org.opencrx.security.realm1.cci.PrincipalGroup[] newValue 315 ) { 316 refSetValue("org:opencrx:kernel:base:SecureObject:owningGroup", newValue); 317 } 318 319 public org.opencrx.security.realm1.cci.PrincipalGroup getOwningGroup( 323 int index 324 ) { 325 return (org.opencrx.security.realm1.cci.PrincipalGroup)refGetValue( 326 "org:opencrx:kernel:base:SecureObject:owningGroup", 327 new Integer (index) 328 ); 329 } 330 331 public java.util.Collection getOwningGroup( 335 ) { 336 return (java.util.Collection )refGetValue( 337 "org:opencrx:kernel:base:SecureObject:owningGroup" 338 ); 339 } 340 341 public void addOwningGroup ( 345 int index, 346 org.opencrx.security.realm1.cci.PrincipalGroup newValue 347 ) { 348 refAddValue( 349 "org:opencrx:kernel:base:SecureObject:owningGroup", 350 new Integer (index), 351 newValue 352 ); 353 } 354 355 public void addOwningGroup ( 359 org.opencrx.security.realm1.cci.PrincipalGroup newValue 360 ) { 361 refAddValue( 362 "org:opencrx:kernel:base:SecureObject:owningGroup", 363 newValue 364 ); 365 } 366 367 public void removeOwningGroup ( 371 int index 372 ) { 373 refRemoveValue( 374 "org:opencrx:kernel:base:SecureObject:owningGroup", 375 new Integer (index) 376 ); 377 } 378 379 public org.opencrx.security.realm1.cci.User getOwningUser( 383 ) { 384 return (org.opencrx.security.realm1.cci.User)refGetValue( 385 "org:opencrx:kernel:base:SecureObject:owningUser" 386 ); 387 } 388 389 public void setOwningUser( 393 org.opencrx.security.realm1.cci.User newValue 394 ) { 395 refSetValue( 396 "org:opencrx:kernel:base:SecureObject:owningUser", 397 newValue 398 ); 399 } 400 401 public void removeOwningUser ( 405 ) { 406 refRemoveValue( 407 "org:opencrx:kernel:base:SecureObject:owningUser" 408 ); 409 } 410 public org.opencrx.kernel.base.cci.ModifySecureObjectResult removeAllOwningGroup( 414 org.opencrx.kernel.base.cci.RemoveAllOwningGroupParams params 415 ) throws javax.jmi.reflect.RefException { 416 java.util.List args = new java.util.ArrayList (); 417 args.add(params); 418 return (org.opencrx.kernel.base.cci.ModifySecureObjectResult)refInvokeOperation( 419 "org:opencrx:kernel:base:SecureObject:removeAllOwningGroup", 420 args 421 ); 422 } 423 424 public org.opencrx.kernel.base.cci.ModifySecureObjectResult removeAllOwningGroup( 425 short mode 426 ) throws javax.jmi.reflect.RefException { 427 return removeAllOwningGroup( 428 ((org.opencrx.kernel.base.cci.basePackage)refOutermostPackage().refPackage("org:opencrx:kernel:base")).createRemoveAllOwningGroupParams( 429 mode 430 ) 431 ); 432 } 433 434 public org.opencrx.kernel.base.cci.ModifySecureObjectResult removeOwningGroup( 438 org.opencrx.kernel.base.cci.ModifyOwningGroupParams 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:removeOwningGroup", 444 args 445 ); 446 } 447 448 public org.opencrx.kernel.base.cci.ModifySecureObjectResult removeOwningGroup( 449 org.opencrx.security.realm1.cci.PrincipalGroup group 450 , short mode 451 ) throws javax.jmi.reflect.RefException { 452 return removeOwningGroup( 453 ((org.opencrx.kernel.base.cci.basePackage)refOutermostPackage().refPackage("org:opencrx:kernel:base")).createModifyOwningGroupParams( 454 group 455 , mode 456 ) 457 ); 458 } 459 460 public org.opencrx.kernel.base.cci.ModifySecureObjectResult setAccessLevel( 464 org.opencrx.kernel.base.cci.SetAccessLevelParams params 465 ) throws javax.jmi.reflect.RefException { 466 java.util.List args = new java.util.ArrayList (); 467 args.add(params); 468 return (org.opencrx.kernel.base.cci.ModifySecureObjectResult)refInvokeOperation( 469 "org:opencrx:kernel:base:SecureObject:setAccessLevel", 470 args 471 ); 472 } 473 474 public org.opencrx.kernel.base.cci.ModifySecureObjectResult setAccessLevel( 475 short accessLevelBrowse 476 , short accessLevelDelete 477 , short accessLevelUpdate 478 , short mode 479 ) throws javax.jmi.reflect.RefException { 480 return setAccessLevel( 481 ((org.opencrx.kernel.base.cci.basePackage)refOutermostPackage().refPackage("org:opencrx:kernel:base")).createSetAccessLevelParams( 482 accessLevelBrowse 483 , accessLevelDelete 484 , accessLevelUpdate 485 , mode 486 ) 487 ); 488 } 489 490 public org.opencrx.kernel.base.cci.ModifySecureObjectResult setOwningUser( 494 org.opencrx.kernel.base.cci.SetOwningUserParams params 495 ) throws javax.jmi.reflect.RefException { 496 java.util.List args = new java.util.ArrayList (); 497 args.add(params); 498 return (org.opencrx.kernel.base.cci.ModifySecureObjectResult)refInvokeOperation( 499 "org:opencrx:kernel:base:SecureObject:setOwningUser", 500 args 501 ); 502 } 503 504 public org.opencrx.kernel.base.cci.ModifySecureObjectResult setOwningUser( 505 short mode 506 , org.opencrx.security.realm1.cci.User user 507 ) throws javax.jmi.reflect.RefException { 508 return setOwningUser( 509 ((org.opencrx.kernel.base.cci.basePackage)refOutermostPackage().refPackage("org:opencrx:kernel:base")).createSetOwningUserParams( 510 mode 511 , user 512 ) 513 ); 514 } 515 516 public java.util.Date getCreatedAt( 520 ) { 521 return getCreatedAt(0); 522 } 523 524 protected java.util.Date getCreatedAt( 525 int index 526 ) { 527 return (java.util.Date )this.refGetValue("org:openmdx:base:BasicObject:createdAt", index); 528 } 529 530 protected void setCreatedAt( 534 java.util.Date newValue 535 ) { 536 setCreatedAt(0, newValue); 537 } 538 539 protected void setCreatedAt( 540 int index, 541 java.util.Date newValue 542 ) { 543 refSetValue("org:openmdx:base:BasicObject:createdAt", index, newValue); 544 } 545 public java.util.Set getCreatedBy ( 549 ) { 550 return (java.util.Set )this.refGetValue("createdBy"); 551 } 552 protected void setCreatedBy( 556 java.util.Set newValue 557 ) { 558 refSetValue("org:openmdx:base:BasicObject:createdBy", newValue); 559 } 560 561 protected void setCreatedBy( 562 String [] newValue 563 ) { 564 refSetValue("org:openmdx:base:BasicObject:createdBy", newValue); 565 } 566 567 public java.util.Date getModifiedAt( 571 ) { 572 return getModifiedAt(0); 573 } 574 575 protected java.util.Date getModifiedAt( 576 int index 577 ) { 578 return (java.util.Date )this.refGetValue("org:openmdx:base:BasicObject:modifiedAt", index); 579 } 580 581 protected void setModifiedAt( 585 java.util.Date newValue 586 ) { 587 setModifiedAt(0, newValue); 588 } 589 590 protected void setModifiedAt( 591 int index, 592 java.util.Date newValue 593 ) { 594 refSetValue("org:openmdx:base:BasicObject:modifiedAt", index, newValue); 595 } 596 public java.util.Set getModifiedBy ( 600 ) { 601 return (java.util.Set )this.refGetValue("modifiedBy"); 602 } 603 protected void setModifiedBy( 607 java.util.Set newValue 608 ) { 609 refSetValue("org:openmdx:base:BasicObject:modifiedBy", newValue); 610 } 611 612 protected void setModifiedBy( 613 String [] newValue 614 ) { 615 refSetValue("org:openmdx:base:BasicObject:modifiedBy", newValue); 616 } 617 618 protected void setContext( 622 java.util.List newValue 623 ) { 624 refSetValue("org:openmdx:base:ContextCapable:context", newValue); 625 } 626 627 protected void setContext( 628 org.openmdx.base.cci.Context[] newValue 629 ) { 630 refSetValue("org:openmdx:base:ContextCapable:context", newValue); 631 } 632 633 public org.openmdx.base.cci.Context getContext( 637 String id 638 ) { 639 return (org.openmdx.base.cci.Context)refGetValue( 640 "org:openmdx:base:ContextCapable:context", 641 id 642 ); 643 } 644 645 public java.util.Collection getContext( 649 ) { 650 return (java.util.Collection )refGetValue( 651 "org:openmdx:base:ContextCapable:context" 652 ); 653 } 654 655 protected void addContext ( 659 String id, 660 org.openmdx.base.cci.Context newValue 661 ) { 662 refAddValue( 663 "org:openmdx:base:ContextCapable:context", 664 id, 665 newValue 666 ); 667 } 668 669 protected void addContext ( 673 org.openmdx.base.cci.Context newValue 674 ) { 675 refAddValue( 676 "org:openmdx:base:ContextCapable:context", 677 newValue 678 ); 679 } 680 681 protected void removeContext ( 685 String id 686 ) { 687 refRemoveValue( 688 "org:openmdx:base:ContextCapable:context", 689 id 690 ); 691 } 692 693 public String getIdentity( 697 ) { 698 return getIdentity(0); 699 } 700 701 protected String getIdentity( 702 int index 703 ) { 704 return (String )this.refGetValue("org:openmdx:base:ExtentCapable:identity", index); 705 } 706 707 protected void setIdentity( 711 String newValue 712 ) { 713 setIdentity(0, newValue); 714 } 715 716 protected void setIdentity( 717 int index, 718 String newValue 719 ) { 720 refSetValue("org:openmdx:base:ExtentCapable:identity", index, newValue); 721 } 722 protected void setView( 726 java.util.List newValue 727 ) { 728 refSetValue("org:openmdx:compatibility:view1:ViewCapable:view", newValue); 729 } 730 731 protected void setView( 732 org.openmdx.compatibility.view1.cci.View[] newValue 733 ) { 734 refSetValue("org:openmdx:compatibility:view1:ViewCapable:view", newValue); 735 } 736 737 public org.openmdx.compatibility.view1.cci.View getView( 741 String namespace 742 ) { 743 return (org.openmdx.compatibility.view1.cci.View)refGetValue( 744 "org:openmdx:compatibility:view1:ViewCapable:view", 745 namespace 746 ); 747 } 748 749 public java.util.Collection getView( 753 ) { 754 return (java.util.Collection )refGetValue( 755 "org:openmdx:compatibility:view1:ViewCapable:view" 756 ); 757 } 758 759 public java.util.List getView( 760 org.openmdx.compatibility.view1.cci.ViewFilter filter 761 ) { 762 return ((org.openmdx.compatibility.base.collection.Container)refGetValue( 763 "org:openmdx:compatibility:view1:ViewCapable:view" 764 )).toList(filter); 765 } 766 767 protected void addView ( 771 String namespace, 772 org.openmdx.compatibility.view1.cci.View newValue 773 ) { 774 refAddValue( 775 "org:openmdx:compatibility:view1:ViewCapable:view", 776 namespace, 777 newValue 778 ); 779 } 780 781 protected void addView ( 785 org.openmdx.compatibility.view1.cci.View newValue 786 ) { 787 refAddValue( 788 "org:openmdx:compatibility:view1:ViewCapable:view", 789 newValue 790 ); 791 } 792 793 protected void removeView ( 797 String namespace 798 ) { 799 refRemoveValue( 800 "org:openmdx:compatibility:view1:ViewCapable:view", 801 namespace 802 ); 803 } 804 805 } 809 | Popular Tags |