1 package org.opencrx.kernel.base.cci; 14 15 public class DecimalPropertyImpl 16 extends org.openmdx.base.accessor.jmi.spi.RefObject_1 17 implements DecimalProperty { 18 19 public DecimalPropertyImpl( 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 getDecimalValue( 30 ) { 31 return getDecimalValue(0); 32 } 33 34 protected java.math.BigDecimal getDecimalValue( 35 int index 36 ) { 37 return (java.math.BigDecimal )this.refGetValue("org:opencrx:kernel:base:DecimalProperty:decimalValue", index); 38 } 39 40 public void setDecimalValue( 44 java.math.BigDecimal newValue 45 ) { 46 setDecimalValue(0, newValue); 47 } 48 49 protected void setDecimalValue( 50 int index, 51 java.math.BigDecimal newValue 52 ) { 53 refSetValue("org:opencrx:kernel:base:DecimalProperty:decimalValue", index, newValue); 54 } 55 public String getDescription ( 59 ) { 60 return (String )this.refGetValue("description", 0); 61 } 62 public void setDescription( 66 String newValue 67 ) { 68 refSetValue("org:opencrx:kernel:base:Property:description", 0, newValue); 69 } 70 71 public String getName( 75 ) { 76 return getName(0); 77 } 78 79 protected String getName( 80 int index 81 ) { 82 return (String )this.refGetValue("org:opencrx:kernel:base:Property:name", index); 83 } 84 85 public void setName( 89 String newValue 90 ) { 91 setName(0, newValue); 92 } 93 94 protected void setName( 95 int index, 96 String newValue 97 ) { 98 refSetValue("org:opencrx:kernel:base:Property:name", index, newValue); 99 } 100 public short getAccessLevelBrowse( 104 ) { 105 return getAccessLevelBrowse(0); 106 } 107 108 protected short getAccessLevelBrowse( 109 int index 110 ) { 111 return ((java.lang.Number )this.refGetValue("org:opencrx:kernel:base:SecureObject:accessLevelBrowse", index)).shortValue(); 112 } 113 114 public void setAccessLevelBrowse( 118 short newValue 119 ) { 120 setAccessLevelBrowse(0, newValue); 121 } 122 123 protected void setAccessLevelBrowse( 124 int index, 125 short newValue 126 ) { 127 refSetValue("org:opencrx:kernel:base:SecureObject:accessLevelBrowse", index, new Short (newValue)); 128 } 129 public short getAccessLevelDelete( 133 ) { 134 return getAccessLevelDelete(0); 135 } 136 137 protected short getAccessLevelDelete( 138 int index 139 ) { 140 return ((java.lang.Number )this.refGetValue("org:opencrx:kernel:base:SecureObject:accessLevelDelete", index)).shortValue(); 141 } 142 143 public void setAccessLevelDelete( 147 short newValue 148 ) { 149 setAccessLevelDelete(0, newValue); 150 } 151 152 protected void setAccessLevelDelete( 153 int index, 154 short newValue 155 ) { 156 refSetValue("org:opencrx:kernel:base:SecureObject:accessLevelDelete", index, new Short (newValue)); 157 } 158 public short getAccessLevelUpdate( 162 ) { 163 return getAccessLevelUpdate(0); 164 } 165 166 protected short getAccessLevelUpdate( 167 int index 168 ) { 169 return ((java.lang.Number )this.refGetValue("org:opencrx:kernel:base:SecureObject:accessLevelUpdate", index)).shortValue(); 170 } 171 172 public void setAccessLevelUpdate( 176 short newValue 177 ) { 178 setAccessLevelUpdate(0, newValue); 179 } 180 181 protected void setAccessLevelUpdate( 182 int index, 183 short newValue 184 ) { 185 refSetValue("org:opencrx:kernel:base:SecureObject:accessLevelUpdate", index, new Short (newValue)); 186 } 187 public org.opencrx.kernel.base.cci.ModifySecureObjectResult addOwningGroup( 191 org.opencrx.kernel.base.cci.ModifyOwningGroupParams params 192 ) throws javax.jmi.reflect.RefException { 193 java.util.List args = new java.util.ArrayList (); 194 args.add(params); 195 return (org.opencrx.kernel.base.cci.ModifySecureObjectResult)refInvokeOperation( 196 "org:opencrx:kernel:base:SecureObject:addOwningGroup", 197 args 198 ); 199 } 200 201 public org.opencrx.kernel.base.cci.ModifySecureObjectResult addOwningGroup( 202 org.opencrx.security.realm1.cci.PrincipalGroup group 203 , short mode 204 ) throws javax.jmi.reflect.RefException { 205 return addOwningGroup( 206 ((org.opencrx.kernel.base.cci.basePackage)refOutermostPackage().refPackage("org:opencrx:kernel:base")).createModifyOwningGroupParams( 207 group 208 , mode 209 ) 210 ); 211 } 212 213 public java.util.List getOwner ( 217 ) { 218 return (java.util.List )this.refGetValue("owner"); 219 } 220 public String getOwner( 221 int index 222 ) { 223 return (String )this.refGetValue("org:opencrx:kernel:base:SecureObject:owner", index); 224 } 225 226 protected void setOwner( 230 java.util.List newValue 231 ) { 232 refSetValue("org:opencrx:kernel:base:SecureObject:owner", newValue); 233 } 234 235 protected void setOwner( 236 String [] newValue 237 ) { 238 refSetValue("org:opencrx:kernel:base:SecureObject:owner", newValue); 239 } 240 241 public void setOwningGroup( 245 java.util.List newValue 246 ) { 247 refSetValue("org:opencrx:kernel:base:SecureObject:owningGroup", newValue); 248 } 249 250 public void setOwningGroup( 251 org.opencrx.security.realm1.cci.PrincipalGroup[] newValue 252 ) { 253 refSetValue("org:opencrx:kernel:base:SecureObject:owningGroup", newValue); 254 } 255 256 public org.opencrx.security.realm1.cci.PrincipalGroup getOwningGroup( 260 int index 261 ) { 262 return (org.opencrx.security.realm1.cci.PrincipalGroup)refGetValue( 263 "org:opencrx:kernel:base:SecureObject:owningGroup", 264 new Integer (index) 265 ); 266 } 267 268 public java.util.Collection getOwningGroup( 272 ) { 273 return (java.util.Collection )refGetValue( 274 "org:opencrx:kernel:base:SecureObject:owningGroup" 275 ); 276 } 277 278 public void addOwningGroup ( 282 int index, 283 org.opencrx.security.realm1.cci.PrincipalGroup newValue 284 ) { 285 refAddValue( 286 "org:opencrx:kernel:base:SecureObject:owningGroup", 287 new Integer (index), 288 newValue 289 ); 290 } 291 292 public void addOwningGroup ( 296 org.opencrx.security.realm1.cci.PrincipalGroup newValue 297 ) { 298 refAddValue( 299 "org:opencrx:kernel:base:SecureObject:owningGroup", 300 newValue 301 ); 302 } 303 304 public void removeOwningGroup ( 308 int index 309 ) { 310 refRemoveValue( 311 "org:opencrx:kernel:base:SecureObject:owningGroup", 312 new Integer (index) 313 ); 314 } 315 316 public org.opencrx.security.realm1.cci.User getOwningUser( 320 ) { 321 return (org.opencrx.security.realm1.cci.User)refGetValue( 322 "org:opencrx:kernel:base:SecureObject:owningUser" 323 ); 324 } 325 326 public void setOwningUser( 330 org.opencrx.security.realm1.cci.User newValue 331 ) { 332 refSetValue( 333 "org:opencrx:kernel:base:SecureObject:owningUser", 334 newValue 335 ); 336 } 337 338 public void removeOwningUser ( 342 ) { 343 refRemoveValue( 344 "org:opencrx:kernel:base:SecureObject:owningUser" 345 ); 346 } 347 public org.opencrx.kernel.base.cci.ModifySecureObjectResult removeAllOwningGroup( 351 org.opencrx.kernel.base.cci.RemoveAllOwningGroupParams params 352 ) throws javax.jmi.reflect.RefException { 353 java.util.List args = new java.util.ArrayList (); 354 args.add(params); 355 return (org.opencrx.kernel.base.cci.ModifySecureObjectResult)refInvokeOperation( 356 "org:opencrx:kernel:base:SecureObject:removeAllOwningGroup", 357 args 358 ); 359 } 360 361 public org.opencrx.kernel.base.cci.ModifySecureObjectResult removeAllOwningGroup( 362 short mode 363 ) throws javax.jmi.reflect.RefException { 364 return removeAllOwningGroup( 365 ((org.opencrx.kernel.base.cci.basePackage)refOutermostPackage().refPackage("org:opencrx:kernel:base")).createRemoveAllOwningGroupParams( 366 mode 367 ) 368 ); 369 } 370 371 public org.opencrx.kernel.base.cci.ModifySecureObjectResult removeOwningGroup( 375 org.opencrx.kernel.base.cci.ModifyOwningGroupParams params 376 ) throws javax.jmi.reflect.RefException { 377 java.util.List args = new java.util.ArrayList (); 378 args.add(params); 379 return (org.opencrx.kernel.base.cci.ModifySecureObjectResult)refInvokeOperation( 380 "org:opencrx:kernel:base:SecureObject:removeOwningGroup", 381 args 382 ); 383 } 384 385 public org.opencrx.kernel.base.cci.ModifySecureObjectResult removeOwningGroup( 386 org.opencrx.security.realm1.cci.PrincipalGroup group 387 , short mode 388 ) throws javax.jmi.reflect.RefException { 389 return removeOwningGroup( 390 ((org.opencrx.kernel.base.cci.basePackage)refOutermostPackage().refPackage("org:opencrx:kernel:base")).createModifyOwningGroupParams( 391 group 392 , mode 393 ) 394 ); 395 } 396 397 public org.opencrx.kernel.base.cci.ModifySecureObjectResult setAccessLevel( 401 org.opencrx.kernel.base.cci.SetAccessLevelParams params 402 ) throws javax.jmi.reflect.RefException { 403 java.util.List args = new java.util.ArrayList (); 404 args.add(params); 405 return (org.opencrx.kernel.base.cci.ModifySecureObjectResult)refInvokeOperation( 406 "org:opencrx:kernel:base:SecureObject:setAccessLevel", 407 args 408 ); 409 } 410 411 public org.opencrx.kernel.base.cci.ModifySecureObjectResult setAccessLevel( 412 short accessLevelBrowse 413 , short accessLevelDelete 414 , short accessLevelUpdate 415 , short mode 416 ) throws javax.jmi.reflect.RefException { 417 return setAccessLevel( 418 ((org.opencrx.kernel.base.cci.basePackage)refOutermostPackage().refPackage("org:opencrx:kernel:base")).createSetAccessLevelParams( 419 accessLevelBrowse 420 , accessLevelDelete 421 , accessLevelUpdate 422 , mode 423 ) 424 ); 425 } 426 427 public org.opencrx.kernel.base.cci.ModifySecureObjectResult setOwningUser( 431 org.opencrx.kernel.base.cci.SetOwningUserParams params 432 ) throws javax.jmi.reflect.RefException { 433 java.util.List args = new java.util.ArrayList (); 434 args.add(params); 435 return (org.opencrx.kernel.base.cci.ModifySecureObjectResult)refInvokeOperation( 436 "org:opencrx:kernel:base:SecureObject:setOwningUser", 437 args 438 ); 439 } 440 441 public org.opencrx.kernel.base.cci.ModifySecureObjectResult setOwningUser( 442 short mode 443 , org.opencrx.security.realm1.cci.User user 444 ) throws javax.jmi.reflect.RefException { 445 return setOwningUser( 446 ((org.opencrx.kernel.base.cci.basePackage)refOutermostPackage().refPackage("org:opencrx:kernel:base")).createSetOwningUserParams( 447 mode 448 , user 449 ) 450 ); 451 } 452 453 public java.util.Date getCreatedAt( 457 ) { 458 return getCreatedAt(0); 459 } 460 461 protected java.util.Date getCreatedAt( 462 int index 463 ) { 464 return (java.util.Date )this.refGetValue("org:openmdx:base:BasicObject:createdAt", index); 465 } 466 467 protected void setCreatedAt( 471 java.util.Date newValue 472 ) { 473 setCreatedAt(0, newValue); 474 } 475 476 protected void setCreatedAt( 477 int index, 478 java.util.Date newValue 479 ) { 480 refSetValue("org:openmdx:base:BasicObject:createdAt", index, newValue); 481 } 482 public java.util.Set getCreatedBy ( 486 ) { 487 return (java.util.Set )this.refGetValue("createdBy"); 488 } 489 protected void setCreatedBy( 493 java.util.Set newValue 494 ) { 495 refSetValue("org:openmdx:base:BasicObject:createdBy", newValue); 496 } 497 498 protected void setCreatedBy( 499 String [] newValue 500 ) { 501 refSetValue("org:openmdx:base:BasicObject:createdBy", newValue); 502 } 503 504 public java.util.Date getModifiedAt( 508 ) { 509 return getModifiedAt(0); 510 } 511 512 protected java.util.Date getModifiedAt( 513 int index 514 ) { 515 return (java.util.Date )this.refGetValue("org:openmdx:base:BasicObject:modifiedAt", index); 516 } 517 518 protected void setModifiedAt( 522 java.util.Date newValue 523 ) { 524 setModifiedAt(0, newValue); 525 } 526 527 protected void setModifiedAt( 528 int index, 529 java.util.Date newValue 530 ) { 531 refSetValue("org:openmdx:base:BasicObject:modifiedAt", index, newValue); 532 } 533 public java.util.Set getModifiedBy ( 537 ) { 538 return (java.util.Set )this.refGetValue("modifiedBy"); 539 } 540 protected void setModifiedBy( 544 java.util.Set newValue 545 ) { 546 refSetValue("org:openmdx:base:BasicObject:modifiedBy", newValue); 547 } 548 549 protected void setModifiedBy( 550 String [] newValue 551 ) { 552 refSetValue("org:openmdx:base:BasicObject:modifiedBy", newValue); 553 } 554 555 protected void setContext( 559 java.util.List newValue 560 ) { 561 refSetValue("org:openmdx:base:ContextCapable:context", newValue); 562 } 563 564 protected void setContext( 565 org.openmdx.base.cci.Context[] newValue 566 ) { 567 refSetValue("org:openmdx:base:ContextCapable:context", newValue); 568 } 569 570 public org.openmdx.base.cci.Context getContext( 574 String id 575 ) { 576 return (org.openmdx.base.cci.Context)refGetValue( 577 "org:openmdx:base:ContextCapable:context", 578 id 579 ); 580 } 581 582 public java.util.Collection getContext( 586 ) { 587 return (java.util.Collection )refGetValue( 588 "org:openmdx:base:ContextCapable:context" 589 ); 590 } 591 592 protected void addContext ( 596 String id, 597 org.openmdx.base.cci.Context newValue 598 ) { 599 refAddValue( 600 "org:openmdx:base:ContextCapable:context", 601 id, 602 newValue 603 ); 604 } 605 606 protected void addContext ( 610 org.openmdx.base.cci.Context newValue 611 ) { 612 refAddValue( 613 "org:openmdx:base:ContextCapable:context", 614 newValue 615 ); 616 } 617 618 protected void removeContext ( 622 String id 623 ) { 624 refRemoveValue( 625 "org:openmdx:base:ContextCapable:context", 626 id 627 ); 628 } 629 630 public String getIdentity( 634 ) { 635 return getIdentity(0); 636 } 637 638 protected String getIdentity( 639 int index 640 ) { 641 return (String )this.refGetValue("org:openmdx:base:ExtentCapable:identity", index); 642 } 643 644 protected void setIdentity( 648 String newValue 649 ) { 650 setIdentity(0, newValue); 651 } 652 653 protected void setIdentity( 654 int index, 655 String newValue 656 ) { 657 refSetValue("org:openmdx:base:ExtentCapable:identity", index, newValue); 658 } 659 protected void setView( 663 java.util.List newValue 664 ) { 665 refSetValue("org:openmdx:compatibility:view1:ViewCapable:view", newValue); 666 } 667 668 protected void setView( 669 org.openmdx.compatibility.view1.cci.View[] newValue 670 ) { 671 refSetValue("org:openmdx:compatibility:view1:ViewCapable:view", newValue); 672 } 673 674 public org.openmdx.compatibility.view1.cci.View getView( 678 String namespace 679 ) { 680 return (org.openmdx.compatibility.view1.cci.View)refGetValue( 681 "org:openmdx:compatibility:view1:ViewCapable:view", 682 namespace 683 ); 684 } 685 686 public java.util.Collection getView( 690 ) { 691 return (java.util.Collection )refGetValue( 692 "org:openmdx:compatibility:view1:ViewCapable:view" 693 ); 694 } 695 696 public java.util.List getView( 697 org.openmdx.compatibility.view1.cci.ViewFilter filter 698 ) { 699 return ((org.openmdx.compatibility.base.collection.Container)refGetValue( 700 "org:openmdx:compatibility:view1:ViewCapable:view" 701 )).toList(filter); 702 } 703 704 protected void addView ( 708 String namespace, 709 org.openmdx.compatibility.view1.cci.View newValue 710 ) { 711 refAddValue( 712 "org:openmdx:compatibility:view1:ViewCapable:view", 713 namespace, 714 newValue 715 ); 716 } 717 718 protected void addView ( 722 org.openmdx.compatibility.view1.cci.View newValue 723 ) { 724 refAddValue( 725 "org:openmdx:compatibility:view1:ViewCapable:view", 726 newValue 727 ); 728 } 729 730 protected void removeView ( 734 String namespace 735 ) { 736 refRemoveValue( 737 "org:openmdx:compatibility:view1:ViewCapable:view", 738 namespace 739 ); 740 } 741 742 } 746 | Popular Tags |