1 package org.opencrx.kernel.activity1.cci; 14 15 public class AbsenceClassImpl 16 extends org.openmdx.base.accessor.jmi.spi.RefClass_1 17 implements AbsenceClass { 18 19 public AbsenceClassImpl( 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:Absence"; 28 } 29 30 public Absence getAbsence( 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 Absence target = (Absence)refCreateInstance( 38 args 39 ); 40 return target; 41 } else { 42 return (Absence)((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 Absence createAbsence( 55 ) { 56 Absence target = (Absence)refCreateInstance( 57 null 58 ); 59 return target; 60 } 61 public Absence createAbsence( 65 short activityState 66 , String name 67 , short priority 68 , short accessLevelBrowse 69 , short accessLevelDelete 70 , short accessLevelUpdate 71 , boolean disabled 72 ) { 73 AbsenceImpl _object = (AbsenceImpl)createAbsence(); 74 _object.setActivityState(activityState); 75 _object.setName(name); 76 _object.setPriority(priority); 77 _object.setAccessLevelBrowse(accessLevelBrowse); 78 _object.setAccessLevelDelete(accessLevelDelete); 79 _object.setAccessLevelUpdate(accessLevelUpdate); 80 _object.setDisabled(disabled); 81 return _object; 82 } 83 84 public Absence extendAuditee( 88 org.opencrx.kernel.base.cci.Auditee _base 89 , short activityState 90 , String name 91 , short priority 92 , short accessLevelBrowse 93 , short accessLevelDelete 94 , short accessLevelUpdate 95 , boolean disabled 96 ) { 97 AbsenceImpl _object = (AbsenceImpl)getAbsence(_base); 98 _object.setActivityState(activityState); 99 _object.setName(name); 100 _object.setPriority(priority); 101 _object.setAccessLevelBrowse(accessLevelBrowse); 102 _object.setAccessLevelDelete(accessLevelDelete); 103 _object.setAccessLevelUpdate(accessLevelUpdate); 104 _object.setDisabled(disabled); 105 return _object; 106 } 107 108 public Absence extendBookmarkable( 112 org.opencrx.kernel.base.cci.Bookmarkable _base 113 , short activityState 114 , String name 115 , short priority 116 , short accessLevelBrowse 117 , short accessLevelDelete 118 , short accessLevelUpdate 119 , boolean disabled 120 ) { 121 AbsenceImpl _object = (AbsenceImpl)getAbsence(_base); 122 _object.setActivityState(activityState); 123 _object.setName(name); 124 _object.setPriority(priority); 125 _object.setAccessLevelBrowse(accessLevelBrowse); 126 _object.setAccessLevelDelete(accessLevelDelete); 127 _object.setAccessLevelUpdate(accessLevelUpdate); 128 _object.setDisabled(disabled); 129 return _object; 130 } 131 132 public Absence extendCloneable( 136 org.opencrx.kernel.base.cci.Cloneable _base 137 , short activityState 138 , String name 139 , short priority 140 , short accessLevelBrowse 141 , short accessLevelDelete 142 , short accessLevelUpdate 143 , boolean disabled 144 ) { 145 AbsenceImpl _object = (AbsenceImpl)getAbsence(_base); 146 _object.setActivityState(activityState); 147 _object.setName(name); 148 _object.setPriority(priority); 149 _object.setAccessLevelBrowse(accessLevelBrowse); 150 _object.setAccessLevelDelete(accessLevelDelete); 151 _object.setAccessLevelUpdate(accessLevelUpdate); 152 _object.setDisabled(disabled); 153 return _object; 154 } 155 156 public Absence extendImporter( 160 org.opencrx.kernel.base.cci.Importer _base 161 , short activityState 162 , String name 163 , short priority 164 , short accessLevelBrowse 165 , short accessLevelDelete 166 , short accessLevelUpdate 167 , boolean disabled 168 ) { 169 AbsenceImpl _object = (AbsenceImpl)getAbsence(_base); 170 _object.setActivityState(activityState); 171 _object.setName(name); 172 _object.setPriority(priority); 173 _object.setAccessLevelBrowse(accessLevelBrowse); 174 _object.setAccessLevelDelete(accessLevelDelete); 175 _object.setAccessLevelUpdate(accessLevelUpdate); 176 _object.setDisabled(disabled); 177 return _object; 178 } 179 180 public Absence extendSecureObject( 184 org.opencrx.kernel.base.cci.SecureObject _base 185 , short activityState 186 , String name 187 , short priority 188 , boolean disabled 189 ) { 190 AbsenceImpl _object = (AbsenceImpl)getAbsence(_base); 191 _object.setActivityState(activityState); 192 _object.setName(name); 193 _object.setPriority(priority); 194 _object.setDisabled(disabled); 195 return _object; 196 } 197 198 public Absence extendSubscriptionTarget( 202 org.opencrx.kernel.base.cci.SubscriptionTarget _base 203 , short activityState 204 , String name 205 , short priority 206 , short accessLevelBrowse 207 , short accessLevelDelete 208 , short accessLevelUpdate 209 , boolean disabled 210 ) { 211 AbsenceImpl _object = (AbsenceImpl)getAbsence(_base); 212 _object.setActivityState(activityState); 213 _object.setName(name); 214 _object.setPriority(priority); 215 _object.setAccessLevelBrowse(accessLevelBrowse); 216 _object.setAccessLevelDelete(accessLevelDelete); 217 _object.setAccessLevelUpdate(accessLevelUpdate); 218 _object.setDisabled(disabled); 219 return _object; 220 } 221 222 public Absence extendXmlExporter( 226 org.opencrx.kernel.base.cci.XmlExporter _base 227 , short activityState 228 , String name 229 , short priority 230 , short accessLevelBrowse 231 , short accessLevelDelete 232 , short accessLevelUpdate 233 , boolean disabled 234 ) { 235 AbsenceImpl _object = (AbsenceImpl)getAbsence(_base); 236 _object.setActivityState(activityState); 237 _object.setName(name); 238 _object.setPriority(priority); 239 _object.setAccessLevelBrowse(accessLevelBrowse); 240 _object.setAccessLevelDelete(accessLevelDelete); 241 _object.setAccessLevelUpdate(accessLevelUpdate); 242 _object.setDisabled(disabled); 243 return _object; 244 } 245 246 public Absence extendDepotReferenceHolder( 250 org.opencrx.kernel.depot1.cci.DepotReferenceHolder _base 251 , short activityState 252 , String name 253 , short priority 254 , short accessLevelBrowse 255 , short accessLevelDelete 256 , short accessLevelUpdate 257 , boolean disabled 258 ) { 259 AbsenceImpl _object = (AbsenceImpl)getAbsence(_base); 260 _object.setActivityState(activityState); 261 _object.setName(name); 262 _object.setPriority(priority); 263 _object.setAccessLevelBrowse(accessLevelBrowse); 264 _object.setAccessLevelDelete(accessLevelDelete); 265 _object.setAccessLevelUpdate(accessLevelUpdate); 266 _object.setDisabled(disabled); 267 return _object; 268 } 269 270 public Absence extendCrxObject( 274 org.opencrx.kernel.generic.cci.CrxObject _base 275 , short activityState 276 , String name 277 , short priority 278 ) { 279 AbsenceImpl _object = (AbsenceImpl)getAbsence(_base); 280 _object.setActivityState(activityState); 281 _object.setName(name); 282 _object.setPriority(priority); 283 return _object; 284 } 285 286 public Absence extendBasicObject( 290 org.openmdx.base.cci.BasicObject _base 291 , short activityState 292 , String name 293 , short priority 294 , short accessLevelBrowse 295 , short accessLevelDelete 296 , short accessLevelUpdate 297 , boolean disabled 298 ) { 299 AbsenceImpl _object = (AbsenceImpl)getAbsence(_base); 300 _object.setActivityState(activityState); 301 _object.setName(name); 302 _object.setPriority(priority); 303 _object.setAccessLevelBrowse(accessLevelBrowse); 304 _object.setAccessLevelDelete(accessLevelDelete); 305 _object.setAccessLevelUpdate(accessLevelUpdate); 306 _object.setDisabled(disabled); 307 return _object; 308 } 309 310 public Absence extendContextCapable( 314 org.openmdx.base.cci.ContextCapable _base 315 , short activityState 316 , String name 317 , short priority 318 , short accessLevelBrowse 319 , short accessLevelDelete 320 , short accessLevelUpdate 321 , boolean disabled 322 ) { 323 AbsenceImpl _object = (AbsenceImpl)getAbsence(_base); 324 _object.setActivityState(activityState); 325 _object.setName(name); 326 _object.setPriority(priority); 327 _object.setAccessLevelBrowse(accessLevelBrowse); 328 _object.setAccessLevelDelete(accessLevelDelete); 329 _object.setAccessLevelUpdate(accessLevelUpdate); 330 _object.setDisabled(disabled); 331 return _object; 332 } 333 334 public Absence extendExtentCapable( 338 org.openmdx.base.cci.ExtentCapable _base 339 , short activityState 340 , String name 341 , short priority 342 , short accessLevelBrowse 343 , short accessLevelDelete 344 , short accessLevelUpdate 345 , boolean disabled 346 ) { 347 AbsenceImpl _object = (AbsenceImpl)getAbsence(_base); 348 _object.setActivityState(activityState); 349 _object.setName(name); 350 _object.setPriority(priority); 351 _object.setAccessLevelBrowse(accessLevelBrowse); 352 _object.setAccessLevelDelete(accessLevelDelete); 353 _object.setAccessLevelUpdate(accessLevelUpdate); 354 _object.setDisabled(disabled); 355 return _object; 356 } 357 358 public Absence extendViewCapable( 362 org.openmdx.compatibility.view1.cci.ViewCapable _base 363 , short activityState 364 , String name 365 , short priority 366 , short accessLevelBrowse 367 , short accessLevelDelete 368 , short accessLevelUpdate 369 , boolean disabled 370 ) { 371 AbsenceImpl _object = (AbsenceImpl)getAbsence(_base); 372 _object.setActivityState(activityState); 373 _object.setName(name); 374 _object.setPriority(priority); 375 _object.setAccessLevelBrowse(accessLevelBrowse); 376 _object.setAccessLevelDelete(accessLevelDelete); 377 _object.setAccessLevelUpdate(accessLevelUpdate); 378 _object.setDisabled(disabled); 379 return _object; 380 } 381 382 } 386 | Popular Tags |