1 package org.opencrx.kernel.activity1.cci; 14 15 public class ActivityTypeClassImpl 16 extends org.openmdx.base.accessor.jmi.spi.RefClass_1 17 implements ActivityTypeClass { 18 19 public ActivityTypeClassImpl( 20 org.openmdx.base.accessor.jmi.cci.RefPackage_1_0 refPackage 21 ) { 22 super(refPackage); 23 } 24 25 public String refMofId( 26 ) { 27 return "org:opencrx:kernel:activity1:ActivityType"; 28 } 29 30 public ActivityType getActivityType( 31 Object object 32 ) { 33 try { 34 if(object instanceof org.openmdx.base.accessor.jmi.cci.RefObject_1_0) { 35 java.util.List args = new java.util.ArrayList (); 36 args.add(object); 37 ActivityType target = (ActivityType)refCreateInstance( 38 args 39 ); 40 return target; 41 } else { 42 return (ActivityType)((org.openmdx.base.accessor.jmi.cci.RefPackage_1_0)this.refOutermostPackage()).refObject( 43 object instanceof org.openmdx.compatibility.base.naming.Path 44 ? ((org.openmdx.compatibility.base.naming.Path)object).toXri() 45 : ((org.openmdx.base.accessor.generic.cci.Object_1_0)object).objGetPath().toXri() 46 ); 47 } 48 } 49 catch(org.openmdx.base.exception.ServiceException e) { 50 throw new org.openmdx.base.accessor.jmi.cci.JmiServiceException(e); 51 } 52 } 53 54 public ActivityType createActivityType( 55 ) { 56 ActivityType target = (ActivityType)refCreateInstance( 57 null 58 ); 59 return target; 60 } 61 public ActivityType createActivityType( 65 short activityClass 66 , String name 67 , short accessLevelBrowse 68 , short accessLevelDelete 69 , short accessLevelUpdate 70 , boolean disabled 71 ) { 72 ActivityTypeImpl _object = (ActivityTypeImpl)createActivityType(); 73 _object.setActivityClass(activityClass); 74 _object.setName(name); 75 _object.setAccessLevelBrowse(accessLevelBrowse); 76 _object.setAccessLevelDelete(accessLevelDelete); 77 _object.setAccessLevelUpdate(accessLevelUpdate); 78 _object.setDisabled(disabled); 79 return _object; 80 } 81 82 public ActivityType extendAuditee( 86 org.opencrx.kernel.base.cci.Auditee _base 87 , short activityClass 88 , String name 89 , short accessLevelBrowse 90 , short accessLevelDelete 91 , short accessLevelUpdate 92 , boolean disabled 93 ) { 94 ActivityTypeImpl _object = (ActivityTypeImpl)getActivityType(_base); 95 _object.setActivityClass(activityClass); 96 _object.setName(name); 97 _object.setAccessLevelBrowse(accessLevelBrowse); 98 _object.setAccessLevelDelete(accessLevelDelete); 99 _object.setAccessLevelUpdate(accessLevelUpdate); 100 _object.setDisabled(disabled); 101 return _object; 102 } 103 104 public ActivityType extendBookmarkable( 108 org.opencrx.kernel.base.cci.Bookmarkable _base 109 , short activityClass 110 , String name 111 , short accessLevelBrowse 112 , short accessLevelDelete 113 , short accessLevelUpdate 114 , boolean disabled 115 ) { 116 ActivityTypeImpl _object = (ActivityTypeImpl)getActivityType(_base); 117 _object.setActivityClass(activityClass); 118 _object.setName(name); 119 _object.setAccessLevelBrowse(accessLevelBrowse); 120 _object.setAccessLevelDelete(accessLevelDelete); 121 _object.setAccessLevelUpdate(accessLevelUpdate); 122 _object.setDisabled(disabled); 123 return _object; 124 } 125 126 public ActivityType extendCloneable( 130 org.opencrx.kernel.base.cci.Cloneable _base 131 , short activityClass 132 , String name 133 , short accessLevelBrowse 134 , short accessLevelDelete 135 , short accessLevelUpdate 136 , boolean disabled 137 ) { 138 ActivityTypeImpl _object = (ActivityTypeImpl)getActivityType(_base); 139 _object.setActivityClass(activityClass); 140 _object.setName(name); 141 _object.setAccessLevelBrowse(accessLevelBrowse); 142 _object.setAccessLevelDelete(accessLevelDelete); 143 _object.setAccessLevelUpdate(accessLevelUpdate); 144 _object.setDisabled(disabled); 145 return _object; 146 } 147 148 public ActivityType extendImporter( 152 org.opencrx.kernel.base.cci.Importer _base 153 , short activityClass 154 , String name 155 , short accessLevelBrowse 156 , short accessLevelDelete 157 , short accessLevelUpdate 158 , boolean disabled 159 ) { 160 ActivityTypeImpl _object = (ActivityTypeImpl)getActivityType(_base); 161 _object.setActivityClass(activityClass); 162 _object.setName(name); 163 _object.setAccessLevelBrowse(accessLevelBrowse); 164 _object.setAccessLevelDelete(accessLevelDelete); 165 _object.setAccessLevelUpdate(accessLevelUpdate); 166 _object.setDisabled(disabled); 167 return _object; 168 } 169 170 public ActivityType extendSecureObject( 174 org.opencrx.kernel.base.cci.SecureObject _base 175 , short activityClass 176 , String name 177 , boolean disabled 178 ) { 179 ActivityTypeImpl _object = (ActivityTypeImpl)getActivityType(_base); 180 _object.setActivityClass(activityClass); 181 _object.setName(name); 182 _object.setDisabled(disabled); 183 return _object; 184 } 185 186 public ActivityType extendSubscriptionTarget( 190 org.opencrx.kernel.base.cci.SubscriptionTarget _base 191 , short activityClass 192 , String name 193 , short accessLevelBrowse 194 , short accessLevelDelete 195 , short accessLevelUpdate 196 , boolean disabled 197 ) { 198 ActivityTypeImpl _object = (ActivityTypeImpl)getActivityType(_base); 199 _object.setActivityClass(activityClass); 200 _object.setName(name); 201 _object.setAccessLevelBrowse(accessLevelBrowse); 202 _object.setAccessLevelDelete(accessLevelDelete); 203 _object.setAccessLevelUpdate(accessLevelUpdate); 204 _object.setDisabled(disabled); 205 return _object; 206 } 207 208 public ActivityType extendXmlExporter( 212 org.opencrx.kernel.base.cci.XmlExporter _base 213 , short activityClass 214 , String name 215 , short accessLevelBrowse 216 , short accessLevelDelete 217 , short accessLevelUpdate 218 , boolean disabled 219 ) { 220 ActivityTypeImpl _object = (ActivityTypeImpl)getActivityType(_base); 221 _object.setActivityClass(activityClass); 222 _object.setName(name); 223 _object.setAccessLevelBrowse(accessLevelBrowse); 224 _object.setAccessLevelDelete(accessLevelDelete); 225 _object.setAccessLevelUpdate(accessLevelUpdate); 226 _object.setDisabled(disabled); 227 return _object; 228 } 229 230 public ActivityType extendCrxObject( 234 org.opencrx.kernel.generic.cci.CrxObject _base 235 , short activityClass 236 , String name 237 ) { 238 ActivityTypeImpl _object = (ActivityTypeImpl)getActivityType(_base); 239 _object.setActivityClass(activityClass); 240 _object.setName(name); 241 return _object; 242 } 243 244 public ActivityType extendBasicObject( 248 org.openmdx.base.cci.BasicObject _base 249 , short activityClass 250 , String name 251 , short accessLevelBrowse 252 , short accessLevelDelete 253 , short accessLevelUpdate 254 , boolean disabled 255 ) { 256 ActivityTypeImpl _object = (ActivityTypeImpl)getActivityType(_base); 257 _object.setActivityClass(activityClass); 258 _object.setName(name); 259 _object.setAccessLevelBrowse(accessLevelBrowse); 260 _object.setAccessLevelDelete(accessLevelDelete); 261 _object.setAccessLevelUpdate(accessLevelUpdate); 262 _object.setDisabled(disabled); 263 return _object; 264 } 265 266 public ActivityType extendContextCapable( 270 org.openmdx.base.cci.ContextCapable _base 271 , short activityClass 272 , String name 273 , short accessLevelBrowse 274 , short accessLevelDelete 275 , short accessLevelUpdate 276 , boolean disabled 277 ) { 278 ActivityTypeImpl _object = (ActivityTypeImpl)getActivityType(_base); 279 _object.setActivityClass(activityClass); 280 _object.setName(name); 281 _object.setAccessLevelBrowse(accessLevelBrowse); 282 _object.setAccessLevelDelete(accessLevelDelete); 283 _object.setAccessLevelUpdate(accessLevelUpdate); 284 _object.setDisabled(disabled); 285 return _object; 286 } 287 288 public ActivityType extendExtentCapable( 292 org.openmdx.base.cci.ExtentCapable _base 293 , short activityClass 294 , String name 295 , short accessLevelBrowse 296 , short accessLevelDelete 297 , short accessLevelUpdate 298 , boolean disabled 299 ) { 300 ActivityTypeImpl _object = (ActivityTypeImpl)getActivityType(_base); 301 _object.setActivityClass(activityClass); 302 _object.setName(name); 303 _object.setAccessLevelBrowse(accessLevelBrowse); 304 _object.setAccessLevelDelete(accessLevelDelete); 305 _object.setAccessLevelUpdate(accessLevelUpdate); 306 _object.setDisabled(disabled); 307 return _object; 308 } 309 310 public ActivityType extendViewCapable( 314 org.openmdx.compatibility.view1.cci.ViewCapable _base 315 , short activityClass 316 , String name 317 , short accessLevelBrowse 318 , short accessLevelDelete 319 , short accessLevelUpdate 320 , boolean disabled 321 ) { 322 ActivityTypeImpl _object = (ActivityTypeImpl)getActivityType(_base); 323 _object.setActivityClass(activityClass); 324 _object.setName(name); 325 _object.setAccessLevelBrowse(accessLevelBrowse); 326 _object.setAccessLevelDelete(accessLevelDelete); 327 _object.setAccessLevelUpdate(accessLevelUpdate); 328 _object.setDisabled(disabled); 329 return _object; 330 } 331 332 } 336 | Popular Tags |