1 package org.openmdx.base.cci; 14 15 public class RoleCapableImpl 16 extends org.openmdx.base.accessor.jmi.spi.RefObject_1 17 implements RoleCapable { 18 19 public RoleCapableImpl( 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 void setRole( 30 java.util.List newValue 31 ) { 32 refSetValue("org:openmdx:base:RoleCapable:role", newValue); 33 } 34 35 public void setRole( 36 org.openmdx.base.cci.RoleCapable[] newValue 37 ) { 38 refSetValue("org:openmdx:base:RoleCapable:role", newValue); 39 } 40 41 public org.openmdx.base.cci.RoleCapable getRole( 45 String roleId 46 ) { 47 return (org.openmdx.base.cci.RoleCapable)refGetValue( 48 "org:openmdx:base:RoleCapable:role", 49 roleId 50 ); 51 } 52 53 public java.util.Collection getRole( 57 ) { 58 return (java.util.Collection )refGetValue( 59 "org:openmdx:base:RoleCapable:role" 60 ); 61 } 62 63 public void addRole ( 67 String roleId, 68 org.openmdx.base.cci.RoleCapable newValue 69 ) { 70 refAddValue( 71 "org:openmdx:base:RoleCapable:role", 72 roleId, 73 newValue 74 ); 75 } 76 77 public void addRole ( 81 org.openmdx.base.cci.RoleCapable newValue 82 ) { 83 refAddValue( 84 "org:openmdx:base:RoleCapable:role", 85 newValue 86 ); 87 } 88 89 public void removeRole ( 93 String roleId 94 ) { 95 refRemoveValue( 96 "org:openmdx:base:RoleCapable:role", 97 roleId 98 ); 99 } 100 101 public String getRoleId ( 105 ) { 106 return (String )this.refGetValue("roleId", 0); 107 } 108 protected void setRoleId( 112 String newValue 113 ) { 114 refSetValue("org:openmdx:base:RoleCapable:roleId", 0, newValue); 115 } 116 117 } 121 | Popular Tags |