1 package org.opencrx.kernel.activity1.cci; 14 15 public class ActivityTrackerClassImpl 16 extends org.openmdx.base.accessor.jmi.spi.RefClass_1 17 implements ActivityTrackerClass { 18 19 public ActivityTrackerClassImpl( 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:ActivityTracker"; 28 } 29 30 public ActivityTracker getActivityTracker( 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 ActivityTracker target = (ActivityTracker)refCreateInstance( 38 args 39 ); 40 return target; 41 } else { 42 return (ActivityTracker)((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 ActivityTracker createActivityTracker( 55 ) { 56 ActivityTracker target = (ActivityTracker)refCreateInstance( 57 null 58 ); 59 return target; 60 } 61 public ActivityTracker createActivityTracker( 65 String name 66 , int estimateEffortHours 67 , int estimateEffortMinutes 68 , int estimateMaxDeviation 69 , int sumEstimateEffortHours 70 , int sumEstimateEffortMinutes 71 , short accessLevelBrowse 72 , short accessLevelDelete 73 , short accessLevelUpdate 74 , boolean disabled 75 ) { 76 ActivityTrackerImpl _object = (ActivityTrackerImpl)createActivityTracker(); 77 _object.setName(name); 78 _object.setEstimateEffortHours(estimateEffortHours); 79 _object.setEstimateEffortMinutes(estimateEffortMinutes); 80 _object.setEstimateMaxDeviation(estimateMaxDeviation); 81 _object.setSumEstimateEffortHours(sumEstimateEffortHours); 82 _object.setSumEstimateEffortMinutes(sumEstimateEffortMinutes); 83 _object.setAccessLevelBrowse(accessLevelBrowse); 84 _object.setAccessLevelDelete(accessLevelDelete); 85 _object.setAccessLevelUpdate(accessLevelUpdate); 86 _object.setDisabled(disabled); 87 return _object; 88 } 89 90 public ActivityTracker extendActivityGroup( 94 org.opencrx.kernel.activity1.cci.ActivityGroup _base 95 , int estimateEffortHours 96 , int estimateEffortMinutes 97 , int estimateMaxDeviation 98 , int sumEstimateEffortHours 99 , int sumEstimateEffortMinutes 100 , short accessLevelBrowse 101 , short accessLevelDelete 102 , short accessLevelUpdate 103 , boolean disabled 104 ) { 105 ActivityTrackerImpl _object = (ActivityTrackerImpl)getActivityTracker(_base); 106 _object.setEstimateEffortHours(estimateEffortHours); 107 _object.setEstimateEffortMinutes(estimateEffortMinutes); 108 _object.setEstimateMaxDeviation(estimateMaxDeviation); 109 _object.setSumEstimateEffortHours(sumEstimateEffortHours); 110 _object.setSumEstimateEffortMinutes(sumEstimateEffortMinutes); 111 _object.setAccessLevelBrowse(accessLevelBrowse); 112 _object.setAccessLevelDelete(accessLevelDelete); 113 _object.setAccessLevelUpdate(accessLevelUpdate); 114 _object.setDisabled(disabled); 115 return _object; 116 } 117 118 public ActivityTracker extendAuditee( 122 org.opencrx.kernel.base.cci.Auditee _base 123 , String name 124 , int estimateEffortHours 125 , int estimateEffortMinutes 126 , int estimateMaxDeviation 127 , int sumEstimateEffortHours 128 , int sumEstimateEffortMinutes 129 , short accessLevelBrowse 130 , short accessLevelDelete 131 , short accessLevelUpdate 132 , boolean disabled 133 ) { 134 ActivityTrackerImpl _object = (ActivityTrackerImpl)getActivityTracker(_base); 135 _object.setName(name); 136 _object.setEstimateEffortHours(estimateEffortHours); 137 _object.setEstimateEffortMinutes(estimateEffortMinutes); 138 _object.setEstimateMaxDeviation(estimateMaxDeviation); 139 _object.setSumEstimateEffortHours(sumEstimateEffortHours); 140 _object.setSumEstimateEffortMinutes(sumEstimateEffortMinutes); 141 _object.setAccessLevelBrowse(accessLevelBrowse); 142 _object.setAccessLevelDelete(accessLevelDelete); 143 _object.setAccessLevelUpdate(accessLevelUpdate); 144 _object.setDisabled(disabled); 145 return _object; 146 } 147 148 public ActivityTracker extendBookmarkable( 152 org.opencrx.kernel.base.cci.Bookmarkable _base 153 , String name 154 , int estimateEffortHours 155 , int estimateEffortMinutes 156 , int estimateMaxDeviation 157 , int sumEstimateEffortHours 158 , int sumEstimateEffortMinutes 159 , short accessLevelBrowse 160 , short accessLevelDelete 161 , short accessLevelUpdate 162 , boolean disabled 163 ) { 164 ActivityTrackerImpl _object = (ActivityTrackerImpl)getActivityTracker(_base); 165 _object.setName(name); 166 _object.setEstimateEffortHours(estimateEffortHours); 167 _object.setEstimateEffortMinutes(estimateEffortMinutes); 168 _object.setEstimateMaxDeviation(estimateMaxDeviation); 169 _object.setSumEstimateEffortHours(sumEstimateEffortHours); 170 _object.setSumEstimateEffortMinutes(sumEstimateEffortMinutes); 171 _object.setAccessLevelBrowse(accessLevelBrowse); 172 _object.setAccessLevelDelete(accessLevelDelete); 173 _object.setAccessLevelUpdate(accessLevelUpdate); 174 _object.setDisabled(disabled); 175 return _object; 176 } 177 178 public ActivityTracker extendCloneable( 182 org.opencrx.kernel.base.cci.Cloneable _base 183 , String name 184 , int estimateEffortHours 185 , int estimateEffortMinutes 186 , int estimateMaxDeviation 187 , int sumEstimateEffortHours 188 , int sumEstimateEffortMinutes 189 , short accessLevelBrowse 190 , short accessLevelDelete 191 , short accessLevelUpdate 192 , boolean disabled 193 ) { 194 ActivityTrackerImpl _object = (ActivityTrackerImpl)getActivityTracker(_base); 195 _object.setName(name); 196 _object.setEstimateEffortHours(estimateEffortHours); 197 _object.setEstimateEffortMinutes(estimateEffortMinutes); 198 _object.setEstimateMaxDeviation(estimateMaxDeviation); 199 _object.setSumEstimateEffortHours(sumEstimateEffortHours); 200 _object.setSumEstimateEffortMinutes(sumEstimateEffortMinutes); 201 _object.setAccessLevelBrowse(accessLevelBrowse); 202 _object.setAccessLevelDelete(accessLevelDelete); 203 _object.setAccessLevelUpdate(accessLevelUpdate); 204 _object.setDisabled(disabled); 205 return _object; 206 } 207 208 public ActivityTracker extendImporter( 212 org.opencrx.kernel.base.cci.Importer _base 213 , String name 214 , int estimateEffortHours 215 , int estimateEffortMinutes 216 , int estimateMaxDeviation 217 , int sumEstimateEffortHours 218 , int sumEstimateEffortMinutes 219 , short accessLevelBrowse 220 , short accessLevelDelete 221 , short accessLevelUpdate 222 , boolean disabled 223 ) { 224 ActivityTrackerImpl _object = (ActivityTrackerImpl)getActivityTracker(_base); 225 _object.setName(name); 226 _object.setEstimateEffortHours(estimateEffortHours); 227 _object.setEstimateEffortMinutes(estimateEffortMinutes); 228 _object.setEstimateMaxDeviation(estimateMaxDeviation); 229 _object.setSumEstimateEffortHours(sumEstimateEffortHours); 230 _object.setSumEstimateEffortMinutes(sumEstimateEffortMinutes); 231 _object.setAccessLevelBrowse(accessLevelBrowse); 232 _object.setAccessLevelDelete(accessLevelDelete); 233 _object.setAccessLevelUpdate(accessLevelUpdate); 234 _object.setDisabled(disabled); 235 return _object; 236 } 237 238 public ActivityTracker extendSecureObject( 242 org.opencrx.kernel.base.cci.SecureObject _base 243 , String name 244 , int estimateEffortHours 245 , int estimateEffortMinutes 246 , int estimateMaxDeviation 247 , int sumEstimateEffortHours 248 , int sumEstimateEffortMinutes 249 , boolean disabled 250 ) { 251 ActivityTrackerImpl _object = (ActivityTrackerImpl)getActivityTracker(_base); 252 _object.setName(name); 253 _object.setEstimateEffortHours(estimateEffortHours); 254 _object.setEstimateEffortMinutes(estimateEffortMinutes); 255 _object.setEstimateMaxDeviation(estimateMaxDeviation); 256 _object.setSumEstimateEffortHours(sumEstimateEffortHours); 257 _object.setSumEstimateEffortMinutes(sumEstimateEffortMinutes); 258 _object.setDisabled(disabled); 259 return _object; 260 } 261 262 public ActivityTracker extendSubscriptionTarget( 266 org.opencrx.kernel.base.cci.SubscriptionTarget _base 267 , String name 268 , int estimateEffortHours 269 , int estimateEffortMinutes 270 , int estimateMaxDeviation 271 , int sumEstimateEffortHours 272 , int sumEstimateEffortMinutes 273 , short accessLevelBrowse 274 , short accessLevelDelete 275 , short accessLevelUpdate 276 , boolean disabled 277 ) { 278 ActivityTrackerImpl _object = (ActivityTrackerImpl)getActivityTracker(_base); 279 _object.setName(name); 280 _object.setEstimateEffortHours(estimateEffortHours); 281 _object.setEstimateEffortMinutes(estimateEffortMinutes); 282 _object.setEstimateMaxDeviation(estimateMaxDeviation); 283 _object.setSumEstimateEffortHours(sumEstimateEffortHours); 284 _object.setSumEstimateEffortMinutes(sumEstimateEffortMinutes); 285 _object.setAccessLevelBrowse(accessLevelBrowse); 286 _object.setAccessLevelDelete(accessLevelDelete); 287 _object.setAccessLevelUpdate(accessLevelUpdate); 288 _object.setDisabled(disabled); 289 return _object; 290 } 291 292 public ActivityTracker extendXmlExporter( 296 org.opencrx.kernel.base.cci.XmlExporter _base 297 , String name 298 , int estimateEffortHours 299 , int estimateEffortMinutes 300 , int estimateMaxDeviation 301 , int sumEstimateEffortHours 302 , int sumEstimateEffortMinutes 303 , short accessLevelBrowse 304 , short accessLevelDelete 305 , short accessLevelUpdate 306 , boolean disabled 307 ) { 308 ActivityTrackerImpl _object = (ActivityTrackerImpl)getActivityTracker(_base); 309 _object.setName(name); 310 _object.setEstimateEffortHours(estimateEffortHours); 311 _object.setEstimateEffortMinutes(estimateEffortMinutes); 312 _object.setEstimateMaxDeviation(estimateMaxDeviation); 313 _object.setSumEstimateEffortHours(sumEstimateEffortHours); 314 _object.setSumEstimateEffortMinutes(sumEstimateEffortMinutes); 315 _object.setAccessLevelBrowse(accessLevelBrowse); 316 _object.setAccessLevelDelete(accessLevelDelete); 317 _object.setAccessLevelUpdate(accessLevelUpdate); 318 _object.setDisabled(disabled); 319 return _object; 320 } 321 322 public ActivityTracker extendCrxObject( 326 org.opencrx.kernel.generic.cci.CrxObject _base 327 , String name 328 , int estimateEffortHours 329 , int estimateEffortMinutes 330 , int estimateMaxDeviation 331 , int sumEstimateEffortHours 332 , int sumEstimateEffortMinutes 333 ) { 334 ActivityTrackerImpl _object = (ActivityTrackerImpl)getActivityTracker(_base); 335 _object.setName(name); 336 _object.setEstimateEffortHours(estimateEffortHours); 337 _object.setEstimateEffortMinutes(estimateEffortMinutes); 338 _object.setEstimateMaxDeviation(estimateMaxDeviation); 339 _object.setSumEstimateEffortHours(sumEstimateEffortHours); 340 _object.setSumEstimateEffortMinutes(sumEstimateEffortMinutes); 341 return _object; 342 } 343 344 public ActivityTracker extendBasicObject( 348 org.openmdx.base.cci.BasicObject _base 349 , String name 350 , int estimateEffortHours 351 , int estimateEffortMinutes 352 , int estimateMaxDeviation 353 , int sumEstimateEffortHours 354 , int sumEstimateEffortMinutes 355 , short accessLevelBrowse 356 , short accessLevelDelete 357 , short accessLevelUpdate 358 , boolean disabled 359 ) { 360 ActivityTrackerImpl _object = (ActivityTrackerImpl)getActivityTracker(_base); 361 _object.setName(name); 362 _object.setEstimateEffortHours(estimateEffortHours); 363 _object.setEstimateEffortMinutes(estimateEffortMinutes); 364 _object.setEstimateMaxDeviation(estimateMaxDeviation); 365 _object.setSumEstimateEffortHours(sumEstimateEffortHours); 366 _object.setSumEstimateEffortMinutes(sumEstimateEffortMinutes); 367 _object.setAccessLevelBrowse(accessLevelBrowse); 368 _object.setAccessLevelDelete(accessLevelDelete); 369 _object.setAccessLevelUpdate(accessLevelUpdate); 370 _object.setDisabled(disabled); 371 return _object; 372 } 373 374 public ActivityTracker extendContextCapable( 378 org.openmdx.base.cci.ContextCapable _base 379 , String name 380 , int estimateEffortHours 381 , int estimateEffortMinutes 382 , int estimateMaxDeviation 383 , int sumEstimateEffortHours 384 , int sumEstimateEffortMinutes 385 , short accessLevelBrowse 386 , short accessLevelDelete 387 , short accessLevelUpdate 388 , boolean disabled 389 ) { 390 ActivityTrackerImpl _object = (ActivityTrackerImpl)getActivityTracker(_base); 391 _object.setName(name); 392 _object.setEstimateEffortHours(estimateEffortHours); 393 _object.setEstimateEffortMinutes(estimateEffortMinutes); 394 _object.setEstimateMaxDeviation(estimateMaxDeviation); 395 _object.setSumEstimateEffortHours(sumEstimateEffortHours); 396 _object.setSumEstimateEffortMinutes(sumEstimateEffortMinutes); 397 _object.setAccessLevelBrowse(accessLevelBrowse); 398 _object.setAccessLevelDelete(accessLevelDelete); 399 _object.setAccessLevelUpdate(accessLevelUpdate); 400 _object.setDisabled(disabled); 401 return _object; 402 } 403 404 public ActivityTracker extendExtentCapable( 408 org.openmdx.base.cci.ExtentCapable _base 409 , String name 410 , int estimateEffortHours 411 , int estimateEffortMinutes 412 , int estimateMaxDeviation 413 , int sumEstimateEffortHours 414 , int sumEstimateEffortMinutes 415 , short accessLevelBrowse 416 , short accessLevelDelete 417 , short accessLevelUpdate 418 , boolean disabled 419 ) { 420 ActivityTrackerImpl _object = (ActivityTrackerImpl)getActivityTracker(_base); 421 _object.setName(name); 422 _object.setEstimateEffortHours(estimateEffortHours); 423 _object.setEstimateEffortMinutes(estimateEffortMinutes); 424 _object.setEstimateMaxDeviation(estimateMaxDeviation); 425 _object.setSumEstimateEffortHours(sumEstimateEffortHours); 426 _object.setSumEstimateEffortMinutes(sumEstimateEffortMinutes); 427 _object.setAccessLevelBrowse(accessLevelBrowse); 428 _object.setAccessLevelDelete(accessLevelDelete); 429 _object.setAccessLevelUpdate(accessLevelUpdate); 430 _object.setDisabled(disabled); 431 return _object; 432 } 433 434 public ActivityTracker extendViewCapable( 438 org.openmdx.compatibility.view1.cci.ViewCapable _base 439 , String name 440 , int estimateEffortHours 441 , int estimateEffortMinutes 442 , int estimateMaxDeviation 443 , int sumEstimateEffortHours 444 , int sumEstimateEffortMinutes 445 , short accessLevelBrowse 446 , short accessLevelDelete 447 , short accessLevelUpdate 448 , boolean disabled 449 ) { 450 ActivityTrackerImpl _object = (ActivityTrackerImpl)getActivityTracker(_base); 451 _object.setName(name); 452 _object.setEstimateEffortHours(estimateEffortHours); 453 _object.setEstimateEffortMinutes(estimateEffortMinutes); 454 _object.setEstimateMaxDeviation(estimateMaxDeviation); 455 _object.setSumEstimateEffortHours(sumEstimateEffortHours); 456 _object.setSumEstimateEffortMinutes(sumEstimateEffortMinutes); 457 _object.setAccessLevelBrowse(accessLevelBrowse); 458 _object.setAccessLevelDelete(accessLevelDelete); 459 _object.setAccessLevelUpdate(accessLevelUpdate); 460 _object.setDisabled(disabled); 461 return _object; 462 } 463 464 } 468 | Popular Tags |