1 package org.opencrx.kernel.activity1.cci; 14 15 public class CalendarDayImpl 16 extends org.openmdx.base.accessor.jmi.spi.RefObject_1 17 implements CalendarDay { 18 19 public CalendarDayImpl( 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 org.openmdx.uses.javax.xml.datatype.XMLGregorianCalendar getDateOfDay( 30 ) { 31 return getDateOfDay(0); 32 } 33 34 protected org.openmdx.uses.javax.xml.datatype.XMLGregorianCalendar getDateOfDay( 35 int index 36 ) { 37 return (org.openmdx.uses.javax.xml.datatype.XMLGregorianCalendar)this.refGetValue("org:opencrx:kernel:activity1:CalendarDay:dateOfDay", index); 38 } 39 40 public void setDateOfDay( 44 org.openmdx.uses.javax.xml.datatype.XMLGregorianCalendar newValue 45 ) { 46 setDateOfDay(0, newValue); 47 } 48 49 protected void setDateOfDay( 50 int index, 51 org.openmdx.uses.javax.xml.datatype.XMLGregorianCalendar newValue 52 ) { 53 refSetValue("org:opencrx:kernel:activity1:CalendarDay:dateOfDay", index, newValue); 54 } 55 public String getName ( 59 ) { 60 return (String )this.refGetValue("name", 0); 61 } 62 public void setName( 66 String newValue 67 ) { 68 refSetValue("org:opencrx:kernel:activity1:CalendarDay:name", 0, newValue); 69 } 70 71 public Boolean isWorkingDay ( 75 ) { 76 return (Boolean )this.refGetValue("isWorkingDay", 0); 77 } 78 public void setWorkingDay( 82 Boolean newValue 83 ) { 84 refSetValue("org:opencrx:kernel:activity1:WorkingDay:isWorkingDay", 0, newValue); 85 } 86 87 public Short getWorkDurationHours ( 91 ) { 92 return (Short )this.refGetValue("workDurationHours", 0); 93 } 94 public void setWorkDurationHours( 98 Short newValue 99 ) { 100 refSetValue("org:opencrx:kernel:activity1:WorkingDay:workDurationHours", 0, newValue); 101 } 102 103 public Short getWorkDurationMinutes ( 107 ) { 108 return (Short )this.refGetValue("workDurationMinutes", 0); 109 } 110 public void setWorkDurationMinutes( 114 Short newValue 115 ) { 116 refSetValue("org:opencrx:kernel:activity1:WorkingDay:workDurationMinutes", 0, newValue); 117 } 118 119 public short getAccessLevelBrowse( 123 ) { 124 return getAccessLevelBrowse(0); 125 } 126 127 protected short getAccessLevelBrowse( 128 int index 129 ) { 130 return ((java.lang.Number )this.refGetValue("org:opencrx:kernel:base:SecureObject:accessLevelBrowse", index)).shortValue(); 131 } 132 133 public void setAccessLevelBrowse( 137 short newValue 138 ) { 139 setAccessLevelBrowse(0, newValue); 140 } 141 142 protected void setAccessLevelBrowse( 143 int index, 144 short newValue 145 ) { 146 refSetValue("org:opencrx:kernel:base:SecureObject:accessLevelBrowse", index, new Short (newValue)); 147 } 148 public short getAccessLevelDelete( 152 ) { 153 return getAccessLevelDelete(0); 154 } 155 156 protected short getAccessLevelDelete( 157 int index 158 ) { 159 return ((java.lang.Number )this.refGetValue("org:opencrx:kernel:base:SecureObject:accessLevelDelete", index)).shortValue(); 160 } 161 162 public void setAccessLevelDelete( 166 short newValue 167 ) { 168 setAccessLevelDelete(0, newValue); 169 } 170 171 protected void setAccessLevelDelete( 172 int index, 173 short newValue 174 ) { 175 refSetValue("org:opencrx:kernel:base:SecureObject:accessLevelDelete", index, new Short (newValue)); 176 } 177 public short getAccessLevelUpdate( 181 ) { 182 return getAccessLevelUpdate(0); 183 } 184 185 protected short getAccessLevelUpdate( 186 int index 187 ) { 188 return ((java.lang.Number )this.refGetValue("org:opencrx:kernel:base:SecureObject:accessLevelUpdate", index)).shortValue(); 189 } 190 191 public void setAccessLevelUpdate( 195 short newValue 196 ) { 197 setAccessLevelUpdate(0, newValue); 198 } 199 200 protected void setAccessLevelUpdate( 201 int index, 202 short newValue 203 ) { 204 refSetValue("org:opencrx:kernel:base:SecureObject:accessLevelUpdate", index, new Short (newValue)); 205 } 206 public org.opencrx.kernel.base.cci.ModifySecureObjectResult addOwningGroup( 210 org.opencrx.kernel.base.cci.ModifyOwningGroupParams params 211 ) throws javax.jmi.reflect.RefException { 212 java.util.List args = new java.util.ArrayList (); 213 args.add(params); 214 return (org.opencrx.kernel.base.cci.ModifySecureObjectResult)refInvokeOperation( 215 "org:opencrx:kernel:base:SecureObject:addOwningGroup", 216 args 217 ); 218 } 219 220 public org.opencrx.kernel.base.cci.ModifySecureObjectResult addOwningGroup( 221 org.opencrx.security.realm1.cci.PrincipalGroup group 222 , short mode 223 ) throws javax.jmi.reflect.RefException { 224 return addOwningGroup( 225 ((org.opencrx.kernel.base.cci.basePackage)refOutermostPackage().refPackage("org:opencrx:kernel:base")).createModifyOwningGroupParams( 226 group 227 , mode 228 ) 229 ); 230 } 231 232 public java.util.List getOwner ( 236 ) { 237 return (java.util.List )this.refGetValue("owner"); 238 } 239 public String getOwner( 240 int index 241 ) { 242 return (String )this.refGetValue("org:opencrx:kernel:base:SecureObject:owner", index); 243 } 244 245 protected void setOwner( 249 java.util.List newValue 250 ) { 251 refSetValue("org:opencrx:kernel:base:SecureObject:owner", newValue); 252 } 253 254 protected void setOwner( 255 String [] newValue 256 ) { 257 refSetValue("org:opencrx:kernel:base:SecureObject:owner", newValue); 258 } 259 260 public void setOwningGroup( 264 java.util.List newValue 265 ) { 266 refSetValue("org:opencrx:kernel:base:SecureObject:owningGroup", newValue); 267 } 268 269 public void setOwningGroup( 270 org.opencrx.security.realm1.cci.PrincipalGroup[] newValue 271 ) { 272 refSetValue("org:opencrx:kernel:base:SecureObject:owningGroup", newValue); 273 } 274 275 public org.opencrx.security.realm1.cci.PrincipalGroup getOwningGroup( 279 int index 280 ) { 281 return (org.opencrx.security.realm1.cci.PrincipalGroup)refGetValue( 282 "org:opencrx:kernel:base:SecureObject:owningGroup", 283 new Integer (index) 284 ); 285 } 286 287 public java.util.Collection getOwningGroup( 291 ) { 292 return (java.util.Collection )refGetValue( 293 "org:opencrx:kernel:base:SecureObject:owningGroup" 294 ); 295 } 296 297 public void addOwningGroup ( 301 int index, 302 org.opencrx.security.realm1.cci.PrincipalGroup newValue 303 ) { 304 refAddValue( 305 "org:opencrx:kernel:base:SecureObject:owningGroup", 306 new Integer (index), 307 newValue 308 ); 309 } 310 311 public void addOwningGroup ( 315 org.opencrx.security.realm1.cci.PrincipalGroup newValue 316 ) { 317 refAddValue( 318 "org:opencrx:kernel:base:SecureObject:owningGroup", 319 newValue 320 ); 321 } 322 323 public void removeOwningGroup ( 327 int index 328 ) { 329 refRemoveValue( 330 "org:opencrx:kernel:base:SecureObject:owningGroup", 331 new Integer (index) 332 ); 333 } 334 335 public org.opencrx.security.realm1.cci.User getOwningUser( 339 ) { 340 return (org.opencrx.security.realm1.cci.User)refGetValue( 341 "org:opencrx:kernel:base:SecureObject:owningUser" 342 ); 343 } 344 345 public void setOwningUser( 349 org.opencrx.security.realm1.cci.User newValue 350 ) { 351 refSetValue( 352 "org:opencrx:kernel:base:SecureObject:owningUser", 353 newValue 354 ); 355 } 356 357 public void removeOwningUser ( 361 ) { 362 refRemoveValue( 363 "org:opencrx:kernel:base:SecureObject:owningUser" 364 ); 365 } 366 public org.opencrx.kernel.base.cci.ModifySecureObjectResult removeAllOwningGroup( 370 org.opencrx.kernel.base.cci.RemoveAllOwningGroupParams params 371 ) throws javax.jmi.reflect.RefException { 372 java.util.List args = new java.util.ArrayList (); 373 args.add(params); 374 return (org.opencrx.kernel.base.cci.ModifySecureObjectResult)refInvokeOperation( 375 "org:opencrx:kernel:base:SecureObject:removeAllOwningGroup", 376 args 377 ); 378 } 379 380 public org.opencrx.kernel.base.cci.ModifySecureObjectResult removeAllOwningGroup( 381 short mode 382 ) throws javax.jmi.reflect.RefException { 383 return removeAllOwningGroup( 384 ((org.opencrx.kernel.base.cci.basePackage)refOutermostPackage().refPackage("org:opencrx:kernel:base")).createRemoveAllOwningGroupParams( 385 mode 386 ) 387 ); 388 } 389 390 public org.opencrx.kernel.base.cci.ModifySecureObjectResult removeOwningGroup( 394 org.opencrx.kernel.base.cci.ModifyOwningGroupParams params 395 ) throws javax.jmi.reflect.RefException { 396 java.util.List args = new java.util.ArrayList (); 397 args.add(params); 398 return (org.opencrx.kernel.base.cci.ModifySecureObjectResult)refInvokeOperation( 399 "org:opencrx:kernel:base:SecureObject:removeOwningGroup", 400 args 401 ); 402 } 403 404 public org.opencrx.kernel.base.cci.ModifySecureObjectResult removeOwningGroup( 405 org.opencrx.security.realm1.cci.PrincipalGroup group 406 , short mode 407 ) throws javax.jmi.reflect.RefException { 408 return removeOwningGroup( 409 ((org.opencrx.kernel.base.cci.basePackage)refOutermostPackage().refPackage("org:opencrx:kernel:base")).createModifyOwningGroupParams( 410 group 411 , mode 412 ) 413 ); 414 } 415 416 public org.opencrx.kernel.base.cci.ModifySecureObjectResult setAccessLevel( 420 org.opencrx.kernel.base.cci.SetAccessLevelParams 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:setAccessLevel", 426 args 427 ); 428 } 429 430 public org.opencrx.kernel.base.cci.ModifySecureObjectResult setAccessLevel( 431 short accessLevelBrowse 432 , short accessLevelDelete 433 , short accessLevelUpdate 434 , short mode 435 ) throws javax.jmi.reflect.RefException { 436 return setAccessLevel( 437 ((org.opencrx.kernel.base.cci.basePackage)refOutermostPackage().refPackage("org:opencrx:kernel:base")).createSetAccessLevelParams( 438 accessLevelBrowse 439 , accessLevelDelete 440 , accessLevelUpdate 441 , mode 442 ) 443 ); 444 } 445 446 public org.opencrx.kernel.base.cci.ModifySecureObjectResult setOwningUser( 450 org.opencrx.kernel.base.cci.SetOwningUserParams params 451 ) throws javax.jmi.reflect.RefException { 452 java.util.List args = new java.util.ArrayList (); 453 args.add(params); 454 return (org.opencrx.kernel.base.cci.ModifySecureObjectResult)refInvokeOperation( 455 "org:opencrx:kernel:base:SecureObject:setOwningUser", 456 args 457 ); 458 } 459 460 public org.opencrx.kernel.base.cci.ModifySecureObjectResult setOwningUser( 461 short mode 462 , org.opencrx.security.realm1.cci.User user 463 ) throws javax.jmi.reflect.RefException { 464 return setOwningUser( 465 ((org.opencrx.kernel.base.cci.basePackage)refOutermostPackage().refPackage("org:opencrx:kernel:base")).createSetOwningUserParams( 466 mode 467 , user 468 ) 469 ); 470 } 471 472 public java.util.Date getCreatedAt( 476 ) { 477 return getCreatedAt(0); 478 } 479 480 protected java.util.Date getCreatedAt( 481 int index 482 ) { 483 return (java.util.Date )this.refGetValue("org:openmdx:base:BasicObject:createdAt", index); 484 } 485 486 protected void setCreatedAt( 490 java.util.Date newValue 491 ) { 492 setCreatedAt(0, newValue); 493 } 494 495 protected void setCreatedAt( 496 int index, 497 java.util.Date newValue 498 ) { 499 refSetValue("org:openmdx:base:BasicObject:createdAt", index, newValue); 500 } 501 public java.util.Set getCreatedBy ( 505 ) { 506 return (java.util.Set )this.refGetValue("createdBy"); 507 } 508 protected void setCreatedBy( 512 java.util.Set newValue 513 ) { 514 refSetValue("org:openmdx:base:BasicObject:createdBy", newValue); 515 } 516 517 protected void setCreatedBy( 518 String [] newValue 519 ) { 520 refSetValue("org:openmdx:base:BasicObject:createdBy", newValue); 521 } 522 523 public java.util.Date getModifiedAt( 527 ) { 528 return getModifiedAt(0); 529 } 530 531 protected java.util.Date getModifiedAt( 532 int index 533 ) { 534 return (java.util.Date )this.refGetValue("org:openmdx:base:BasicObject:modifiedAt", index); 535 } 536 537 protected void setModifiedAt( 541 java.util.Date newValue 542 ) { 543 setModifiedAt(0, newValue); 544 } 545 546 protected void setModifiedAt( 547 int index, 548 java.util.Date newValue 549 ) { 550 refSetValue("org:openmdx:base:BasicObject:modifiedAt", index, newValue); 551 } 552 public java.util.Set getModifiedBy ( 556 ) { 557 return (java.util.Set )this.refGetValue("modifiedBy"); 558 } 559 protected void setModifiedBy( 563 java.util.Set newValue 564 ) { 565 refSetValue("org:openmdx:base:BasicObject:modifiedBy", newValue); 566 } 567 568 protected void setModifiedBy( 569 String [] newValue 570 ) { 571 refSetValue("org:openmdx:base:BasicObject:modifiedBy", newValue); 572 } 573 574 protected void setContext( 578 java.util.List newValue 579 ) { 580 refSetValue("org:openmdx:base:ContextCapable:context", newValue); 581 } 582 583 protected void setContext( 584 org.openmdx.base.cci.Context[] newValue 585 ) { 586 refSetValue("org:openmdx:base:ContextCapable:context", newValue); 587 } 588 589 public org.openmdx.base.cci.Context getContext( 593 String id 594 ) { 595 return (org.openmdx.base.cci.Context)refGetValue( 596 "org:openmdx:base:ContextCapable:context", 597 id 598 ); 599 } 600 601 public java.util.Collection getContext( 605 ) { 606 return (java.util.Collection )refGetValue( 607 "org:openmdx:base:ContextCapable:context" 608 ); 609 } 610 611 protected void addContext ( 615 String id, 616 org.openmdx.base.cci.Context newValue 617 ) { 618 refAddValue( 619 "org:openmdx:base:ContextCapable:context", 620 id, 621 newValue 622 ); 623 } 624 625 protected void addContext ( 629 org.openmdx.base.cci.Context newValue 630 ) { 631 refAddValue( 632 "org:openmdx:base:ContextCapable:context", 633 newValue 634 ); 635 } 636 637 protected void removeContext ( 641 String id 642 ) { 643 refRemoveValue( 644 "org:openmdx:base:ContextCapable:context", 645 id 646 ); 647 } 648 649 public String getIdentity( 653 ) { 654 return getIdentity(0); 655 } 656 657 protected String getIdentity( 658 int index 659 ) { 660 return (String )this.refGetValue("org:openmdx:base:ExtentCapable:identity", index); 661 } 662 663 protected void setIdentity( 667 String newValue 668 ) { 669 setIdentity(0, newValue); 670 } 671 672 protected void setIdentity( 673 int index, 674 String newValue 675 ) { 676 refSetValue("org:openmdx:base:ExtentCapable:identity", index, newValue); 677 } 678 protected void setView( 682 java.util.List newValue 683 ) { 684 refSetValue("org:openmdx:compatibility:view1:ViewCapable:view", newValue); 685 } 686 687 protected void setView( 688 org.openmdx.compatibility.view1.cci.View[] newValue 689 ) { 690 refSetValue("org:openmdx:compatibility:view1:ViewCapable:view", newValue); 691 } 692 693 public org.openmdx.compatibility.view1.cci.View getView( 697 String namespace 698 ) { 699 return (org.openmdx.compatibility.view1.cci.View)refGetValue( 700 "org:openmdx:compatibility:view1:ViewCapable:view", 701 namespace 702 ); 703 } 704 705 public java.util.Collection getView( 709 ) { 710 return (java.util.Collection )refGetValue( 711 "org:openmdx:compatibility:view1:ViewCapable:view" 712 ); 713 } 714 715 public java.util.List getView( 716 org.openmdx.compatibility.view1.cci.ViewFilter filter 717 ) { 718 return ((org.openmdx.compatibility.base.collection.Container)refGetValue( 719 "org:openmdx:compatibility:view1:ViewCapable:view" 720 )).toList(filter); 721 } 722 723 protected void addView ( 727 String namespace, 728 org.openmdx.compatibility.view1.cci.View newValue 729 ) { 730 refAddValue( 731 "org:openmdx:compatibility:view1:ViewCapable:view", 732 namespace, 733 newValue 734 ); 735 } 736 737 protected void addView ( 741 org.openmdx.compatibility.view1.cci.View newValue 742 ) { 743 refAddValue( 744 "org:openmdx:compatibility:view1:ViewCapable:view", 745 newValue 746 ); 747 } 748 749 protected void removeView ( 753 String namespace 754 ) { 755 refRemoveValue( 756 "org:openmdx:compatibility:view1:ViewCapable:view", 757 namespace 758 ); 759 } 760 761 } 765 | Popular Tags |