1 package org.opencrx.kernel.activity1.cci; 14 15 public class WeekDayImpl 16 extends org.openmdx.base.accessor.jmi.spi.RefObject_1 17 implements WeekDay { 18 19 public WeekDayImpl( 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 getDayOfWeek( 30 ) { 31 return getDayOfWeek(0); 32 } 33 34 protected short getDayOfWeek( 35 int index 36 ) { 37 return ((java.lang.Number )this.refGetValue("org:opencrx:kernel:activity1:WeekDay:dayOfWeek", index)).shortValue(); 38 } 39 40 public void setDayOfWeek( 44 short newValue 45 ) { 46 setDayOfWeek(0, newValue); 47 } 48 49 protected void setDayOfWeek( 50 int index, 51 short newValue 52 ) { 53 refSetValue("org:opencrx:kernel:activity1:WeekDay:dayOfWeek", index, new Short (newValue)); 54 } 55 public Boolean isWorkingDay ( 59 ) { 60 return (Boolean )this.refGetValue("isWorkingDay", 0); 61 } 62 public void setWorkingDay( 66 Boolean newValue 67 ) { 68 refSetValue("org:opencrx:kernel:activity1:WorkingDay:isWorkingDay", 0, newValue); 69 } 70 71 public Short getWorkDurationHours ( 75 ) { 76 return (Short )this.refGetValue("workDurationHours", 0); 77 } 78 public void setWorkDurationHours( 82 Short newValue 83 ) { 84 refSetValue("org:opencrx:kernel:activity1:WorkingDay:workDurationHours", 0, newValue); 85 } 86 87 public Short getWorkDurationMinutes ( 91 ) { 92 return (Short )this.refGetValue("workDurationMinutes", 0); 93 } 94 public void setWorkDurationMinutes( 98 Short newValue 99 ) { 100 refSetValue("org:opencrx:kernel:activity1:WorkingDay:workDurationMinutes", 0, newValue); 101 } 102 103 public short getAccessLevelBrowse( 107 ) { 108 return getAccessLevelBrowse(0); 109 } 110 111 protected short getAccessLevelBrowse( 112 int index 113 ) { 114 return ((java.lang.Number )this.refGetValue("org:opencrx:kernel:base:SecureObject:accessLevelBrowse", index)).shortValue(); 115 } 116 117 public void setAccessLevelBrowse( 121 short newValue 122 ) { 123 setAccessLevelBrowse(0, newValue); 124 } 125 126 protected void setAccessLevelBrowse( 127 int index, 128 short newValue 129 ) { 130 refSetValue("org:opencrx:kernel:base:SecureObject:accessLevelBrowse", index, new Short (newValue)); 131 } 132 public short getAccessLevelDelete( 136 ) { 137 return getAccessLevelDelete(0); 138 } 139 140 protected short getAccessLevelDelete( 141 int index 142 ) { 143 return ((java.lang.Number )this.refGetValue("org:opencrx:kernel:base:SecureObject:accessLevelDelete", index)).shortValue(); 144 } 145 146 public void setAccessLevelDelete( 150 short newValue 151 ) { 152 setAccessLevelDelete(0, newValue); 153 } 154 155 protected void setAccessLevelDelete( 156 int index, 157 short newValue 158 ) { 159 refSetValue("org:opencrx:kernel:base:SecureObject:accessLevelDelete", index, new Short (newValue)); 160 } 161 public short getAccessLevelUpdate( 165 ) { 166 return getAccessLevelUpdate(0); 167 } 168 169 protected short getAccessLevelUpdate( 170 int index 171 ) { 172 return ((java.lang.Number )this.refGetValue("org:opencrx:kernel:base:SecureObject:accessLevelUpdate", index)).shortValue(); 173 } 174 175 public void setAccessLevelUpdate( 179 short newValue 180 ) { 181 setAccessLevelUpdate(0, newValue); 182 } 183 184 protected void setAccessLevelUpdate( 185 int index, 186 short newValue 187 ) { 188 refSetValue("org:opencrx:kernel:base:SecureObject:accessLevelUpdate", index, new Short (newValue)); 189 } 190 public org.opencrx.kernel.base.cci.ModifySecureObjectResult addOwningGroup( 194 org.opencrx.kernel.base.cci.ModifyOwningGroupParams params 195 ) throws javax.jmi.reflect.RefException { 196 java.util.List args = new java.util.ArrayList (); 197 args.add(params); 198 return (org.opencrx.kernel.base.cci.ModifySecureObjectResult)refInvokeOperation( 199 "org:opencrx:kernel:base:SecureObject:addOwningGroup", 200 args 201 ); 202 } 203 204 public org.opencrx.kernel.base.cci.ModifySecureObjectResult addOwningGroup( 205 org.opencrx.security.realm1.cci.PrincipalGroup group 206 , short mode 207 ) throws javax.jmi.reflect.RefException { 208 return addOwningGroup( 209 ((org.opencrx.kernel.base.cci.basePackage)refOutermostPackage().refPackage("org:opencrx:kernel:base")).createModifyOwningGroupParams( 210 group 211 , mode 212 ) 213 ); 214 } 215 216 public java.util.List getOwner ( 220 ) { 221 return (java.util.List )this.refGetValue("owner"); 222 } 223 public String getOwner( 224 int index 225 ) { 226 return (String )this.refGetValue("org:opencrx:kernel:base:SecureObject:owner", index); 227 } 228 229 protected void setOwner( 233 java.util.List newValue 234 ) { 235 refSetValue("org:opencrx:kernel:base:SecureObject:owner", newValue); 236 } 237 238 protected void setOwner( 239 String [] newValue 240 ) { 241 refSetValue("org:opencrx:kernel:base:SecureObject:owner", newValue); 242 } 243 244 public void setOwningGroup( 248 java.util.List newValue 249 ) { 250 refSetValue("org:opencrx:kernel:base:SecureObject:owningGroup", newValue); 251 } 252 253 public void setOwningGroup( 254 org.opencrx.security.realm1.cci.PrincipalGroup[] newValue 255 ) { 256 refSetValue("org:opencrx:kernel:base:SecureObject:owningGroup", newValue); 257 } 258 259 public org.opencrx.security.realm1.cci.PrincipalGroup getOwningGroup( 263 int index 264 ) { 265 return (org.opencrx.security.realm1.cci.PrincipalGroup)refGetValue( 266 "org:opencrx:kernel:base:SecureObject:owningGroup", 267 new Integer (index) 268 ); 269 } 270 271 public java.util.Collection getOwningGroup( 275 ) { 276 return (java.util.Collection )refGetValue( 277 "org:opencrx:kernel:base:SecureObject:owningGroup" 278 ); 279 } 280 281 public void addOwningGroup ( 285 int index, 286 org.opencrx.security.realm1.cci.PrincipalGroup newValue 287 ) { 288 refAddValue( 289 "org:opencrx:kernel:base:SecureObject:owningGroup", 290 new Integer (index), 291 newValue 292 ); 293 } 294 295 public void addOwningGroup ( 299 org.opencrx.security.realm1.cci.PrincipalGroup newValue 300 ) { 301 refAddValue( 302 "org:opencrx:kernel:base:SecureObject:owningGroup", 303 newValue 304 ); 305 } 306 307 public void removeOwningGroup ( 311 int index 312 ) { 313 refRemoveValue( 314 "org:opencrx:kernel:base:SecureObject:owningGroup", 315 new Integer (index) 316 ); 317 } 318 319 public org.opencrx.security.realm1.cci.User getOwningUser( 323 ) { 324 return (org.opencrx.security.realm1.cci.User)refGetValue( 325 "org:opencrx:kernel:base:SecureObject:owningUser" 326 ); 327 } 328 329 public void setOwningUser( 333 org.opencrx.security.realm1.cci.User newValue 334 ) { 335 refSetValue( 336 "org:opencrx:kernel:base:SecureObject:owningUser", 337 newValue 338 ); 339 } 340 341 public void removeOwningUser ( 345 ) { 346 refRemoveValue( 347 "org:opencrx:kernel:base:SecureObject:owningUser" 348 ); 349 } 350 public org.opencrx.kernel.base.cci.ModifySecureObjectResult removeAllOwningGroup( 354 org.opencrx.kernel.base.cci.RemoveAllOwningGroupParams params 355 ) throws javax.jmi.reflect.RefException { 356 java.util.List args = new java.util.ArrayList (); 357 args.add(params); 358 return (org.opencrx.kernel.base.cci.ModifySecureObjectResult)refInvokeOperation( 359 "org:opencrx:kernel:base:SecureObject:removeAllOwningGroup", 360 args 361 ); 362 } 363 364 public org.opencrx.kernel.base.cci.ModifySecureObjectResult removeAllOwningGroup( 365 short mode 366 ) throws javax.jmi.reflect.RefException { 367 return removeAllOwningGroup( 368 ((org.opencrx.kernel.base.cci.basePackage)refOutermostPackage().refPackage("org:opencrx:kernel:base")).createRemoveAllOwningGroupParams( 369 mode 370 ) 371 ); 372 } 373 374 public org.opencrx.kernel.base.cci.ModifySecureObjectResult removeOwningGroup( 378 org.opencrx.kernel.base.cci.ModifyOwningGroupParams params 379 ) throws javax.jmi.reflect.RefException { 380 java.util.List args = new java.util.ArrayList (); 381 args.add(params); 382 return (org.opencrx.kernel.base.cci.ModifySecureObjectResult)refInvokeOperation( 383 "org:opencrx:kernel:base:SecureObject:removeOwningGroup", 384 args 385 ); 386 } 387 388 public org.opencrx.kernel.base.cci.ModifySecureObjectResult removeOwningGroup( 389 org.opencrx.security.realm1.cci.PrincipalGroup group 390 , short mode 391 ) throws javax.jmi.reflect.RefException { 392 return removeOwningGroup( 393 ((org.opencrx.kernel.base.cci.basePackage)refOutermostPackage().refPackage("org:opencrx:kernel:base")).createModifyOwningGroupParams( 394 group 395 , mode 396 ) 397 ); 398 } 399 400 public org.opencrx.kernel.base.cci.ModifySecureObjectResult setAccessLevel( 404 org.opencrx.kernel.base.cci.SetAccessLevelParams params 405 ) throws javax.jmi.reflect.RefException { 406 java.util.List args = new java.util.ArrayList (); 407 args.add(params); 408 return (org.opencrx.kernel.base.cci.ModifySecureObjectResult)refInvokeOperation( 409 "org:opencrx:kernel:base:SecureObject:setAccessLevel", 410 args 411 ); 412 } 413 414 public org.opencrx.kernel.base.cci.ModifySecureObjectResult setAccessLevel( 415 short accessLevelBrowse 416 , short accessLevelDelete 417 , short accessLevelUpdate 418 , short mode 419 ) throws javax.jmi.reflect.RefException { 420 return setAccessLevel( 421 ((org.opencrx.kernel.base.cci.basePackage)refOutermostPackage().refPackage("org:opencrx:kernel:base")).createSetAccessLevelParams( 422 accessLevelBrowse 423 , accessLevelDelete 424 , accessLevelUpdate 425 , mode 426 ) 427 ); 428 } 429 430 public org.opencrx.kernel.base.cci.ModifySecureObjectResult setOwningUser( 434 org.opencrx.kernel.base.cci.SetOwningUserParams params 435 ) throws javax.jmi.reflect.RefException { 436 java.util.List args = new java.util.ArrayList (); 437 args.add(params); 438 return (org.opencrx.kernel.base.cci.ModifySecureObjectResult)refInvokeOperation( 439 "org:opencrx:kernel:base:SecureObject:setOwningUser", 440 args 441 ); 442 } 443 444 public org.opencrx.kernel.base.cci.ModifySecureObjectResult setOwningUser( 445 short mode 446 , org.opencrx.security.realm1.cci.User user 447 ) throws javax.jmi.reflect.RefException { 448 return setOwningUser( 449 ((org.opencrx.kernel.base.cci.basePackage)refOutermostPackage().refPackage("org:opencrx:kernel:base")).createSetOwningUserParams( 450 mode 451 , user 452 ) 453 ); 454 } 455 456 public java.util.Date getCreatedAt( 460 ) { 461 return getCreatedAt(0); 462 } 463 464 protected java.util.Date getCreatedAt( 465 int index 466 ) { 467 return (java.util.Date )this.refGetValue("org:openmdx:base:BasicObject:createdAt", index); 468 } 469 470 protected void setCreatedAt( 474 java.util.Date newValue 475 ) { 476 setCreatedAt(0, newValue); 477 } 478 479 protected void setCreatedAt( 480 int index, 481 java.util.Date newValue 482 ) { 483 refSetValue("org:openmdx:base:BasicObject:createdAt", index, newValue); 484 } 485 public java.util.Set getCreatedBy ( 489 ) { 490 return (java.util.Set )this.refGetValue("createdBy"); 491 } 492 protected void setCreatedBy( 496 java.util.Set newValue 497 ) { 498 refSetValue("org:openmdx:base:BasicObject:createdBy", newValue); 499 } 500 501 protected void setCreatedBy( 502 String [] newValue 503 ) { 504 refSetValue("org:openmdx:base:BasicObject:createdBy", newValue); 505 } 506 507 public java.util.Date getModifiedAt( 511 ) { 512 return getModifiedAt(0); 513 } 514 515 protected java.util.Date getModifiedAt( 516 int index 517 ) { 518 return (java.util.Date )this.refGetValue("org:openmdx:base:BasicObject:modifiedAt", index); 519 } 520 521 protected void setModifiedAt( 525 java.util.Date newValue 526 ) { 527 setModifiedAt(0, newValue); 528 } 529 530 protected void setModifiedAt( 531 int index, 532 java.util.Date newValue 533 ) { 534 refSetValue("org:openmdx:base:BasicObject:modifiedAt", index, newValue); 535 } 536 public java.util.Set getModifiedBy ( 540 ) { 541 return (java.util.Set )this.refGetValue("modifiedBy"); 542 } 543 protected void setModifiedBy( 547 java.util.Set newValue 548 ) { 549 refSetValue("org:openmdx:base:BasicObject:modifiedBy", newValue); 550 } 551 552 protected void setModifiedBy( 553 String [] newValue 554 ) { 555 refSetValue("org:openmdx:base:BasicObject:modifiedBy", newValue); 556 } 557 558 protected void setContext( 562 java.util.List newValue 563 ) { 564 refSetValue("org:openmdx:base:ContextCapable:context", newValue); 565 } 566 567 protected void setContext( 568 org.openmdx.base.cci.Context[] newValue 569 ) { 570 refSetValue("org:openmdx:base:ContextCapable:context", newValue); 571 } 572 573 public org.openmdx.base.cci.Context getContext( 577 String id 578 ) { 579 return (org.openmdx.base.cci.Context)refGetValue( 580 "org:openmdx:base:ContextCapable:context", 581 id 582 ); 583 } 584 585 public java.util.Collection getContext( 589 ) { 590 return (java.util.Collection )refGetValue( 591 "org:openmdx:base:ContextCapable:context" 592 ); 593 } 594 595 protected void addContext ( 599 String id, 600 org.openmdx.base.cci.Context newValue 601 ) { 602 refAddValue( 603 "org:openmdx:base:ContextCapable:context", 604 id, 605 newValue 606 ); 607 } 608 609 protected void addContext ( 613 org.openmdx.base.cci.Context newValue 614 ) { 615 refAddValue( 616 "org:openmdx:base:ContextCapable:context", 617 newValue 618 ); 619 } 620 621 protected void removeContext ( 625 String id 626 ) { 627 refRemoveValue( 628 "org:openmdx:base:ContextCapable:context", 629 id 630 ); 631 } 632 633 public String getIdentity( 637 ) { 638 return getIdentity(0); 639 } 640 641 protected String getIdentity( 642 int index 643 ) { 644 return (String )this.refGetValue("org:openmdx:base:ExtentCapable:identity", index); 645 } 646 647 protected void setIdentity( 651 String newValue 652 ) { 653 setIdentity(0, newValue); 654 } 655 656 protected void setIdentity( 657 int index, 658 String newValue 659 ) { 660 refSetValue("org:openmdx:base:ExtentCapable:identity", index, newValue); 661 } 662 protected void setView( 666 java.util.List newValue 667 ) { 668 refSetValue("org:openmdx:compatibility:view1:ViewCapable:view", newValue); 669 } 670 671 protected void setView( 672 org.openmdx.compatibility.view1.cci.View[] newValue 673 ) { 674 refSetValue("org:openmdx:compatibility:view1:ViewCapable:view", newValue); 675 } 676 677 public org.openmdx.compatibility.view1.cci.View getView( 681 String namespace 682 ) { 683 return (org.openmdx.compatibility.view1.cci.View)refGetValue( 684 "org:openmdx:compatibility:view1:ViewCapable:view", 685 namespace 686 ); 687 } 688 689 public java.util.Collection getView( 693 ) { 694 return (java.util.Collection )refGetValue( 695 "org:openmdx:compatibility:view1:ViewCapable:view" 696 ); 697 } 698 699 public java.util.List getView( 700 org.openmdx.compatibility.view1.cci.ViewFilter filter 701 ) { 702 return ((org.openmdx.compatibility.base.collection.Container)refGetValue( 703 "org:openmdx:compatibility:view1:ViewCapable:view" 704 )).toList(filter); 705 } 706 707 protected void addView ( 711 String namespace, 712 org.openmdx.compatibility.view1.cci.View newValue 713 ) { 714 refAddValue( 715 "org:openmdx:compatibility:view1:ViewCapable:view", 716 namespace, 717 newValue 718 ); 719 } 720 721 protected void addView ( 725 org.openmdx.compatibility.view1.cci.View newValue 726 ) { 727 refAddValue( 728 "org:openmdx:compatibility:view1:ViewCapable:view", 729 newValue 730 ); 731 } 732 733 protected void removeView ( 737 String namespace 738 ) { 739 refRemoveValue( 740 "org:openmdx:compatibility:view1:ViewCapable:view", 741 namespace 742 ); 743 } 744 745 } 749 | Popular Tags |