1 package org.opencrx.kernel.depot1.cci; 14 15 public class DepotClassImpl 16 extends org.openmdx.base.accessor.jmi.spi.RefClass_1 17 implements DepotClass { 18 19 public DepotClassImpl( 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:depot1:Depot"; 28 } 29 30 public Depot getDepot( 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 Depot target = (Depot)refCreateInstance( 38 args 39 ); 40 return target; 41 } else { 42 return (Depot)((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 Depot createDepot( 55 ) { 56 Depot target = (Depot)refCreateInstance( 57 null 58 ); 59 return target; 60 } 61 public Depot createDepot( 65 short accessLevelBrowse 66 , short accessLevelDelete 67 , short accessLevelUpdate 68 , boolean allowPositionAutoCreate 69 , String depotNumber 70 , boolean isDefault 71 , boolean isLocked 72 , String name 73 , java.util.Date openingDate 74 , boolean disabled 75 ) { 76 DepotImpl _object = (DepotImpl)createDepot(); 77 _object.setAccessLevelBrowse(accessLevelBrowse); 78 _object.setAccessLevelDelete(accessLevelDelete); 79 _object.setAccessLevelUpdate(accessLevelUpdate); 80 _object.setAllowPositionAutoCreate(allowPositionAutoCreate); 81 _object.setDepotNumber(depotNumber); 82 _object.setDefault_(isDefault); 83 _object.setLocked(isLocked); 84 _object.setName(name); 85 _object.setOpeningDate(openingDate); 86 _object.setDisabled(disabled); 87 return _object; 88 } 89 90 public Depot extendAuditee( 94 org.opencrx.kernel.base.cci.Auditee _base 95 , short accessLevelBrowse 96 , short accessLevelDelete 97 , short accessLevelUpdate 98 , boolean allowPositionAutoCreate 99 , String depotNumber 100 , boolean isDefault 101 , boolean isLocked 102 , String name 103 , java.util.Date openingDate 104 , boolean disabled 105 ) { 106 DepotImpl _object = (DepotImpl)getDepot(_base); 107 _object.setAccessLevelBrowse(accessLevelBrowse); 108 _object.setAccessLevelDelete(accessLevelDelete); 109 _object.setAccessLevelUpdate(accessLevelUpdate); 110 _object.setAllowPositionAutoCreate(allowPositionAutoCreate); 111 _object.setDepotNumber(depotNumber); 112 _object.setDefault_(isDefault); 113 _object.setLocked(isLocked); 114 _object.setName(name); 115 _object.setOpeningDate(openingDate); 116 _object.setDisabled(disabled); 117 return _object; 118 } 119 120 public Depot extendBookmarkable( 124 org.opencrx.kernel.base.cci.Bookmarkable _base 125 , short accessLevelBrowse 126 , short accessLevelDelete 127 , short accessLevelUpdate 128 , boolean allowPositionAutoCreate 129 , String depotNumber 130 , boolean isDefault 131 , boolean isLocked 132 , String name 133 , java.util.Date openingDate 134 , boolean disabled 135 ) { 136 DepotImpl _object = (DepotImpl)getDepot(_base); 137 _object.setAccessLevelBrowse(accessLevelBrowse); 138 _object.setAccessLevelDelete(accessLevelDelete); 139 _object.setAccessLevelUpdate(accessLevelUpdate); 140 _object.setAllowPositionAutoCreate(allowPositionAutoCreate); 141 _object.setDepotNumber(depotNumber); 142 _object.setDefault_(isDefault); 143 _object.setLocked(isLocked); 144 _object.setName(name); 145 _object.setOpeningDate(openingDate); 146 _object.setDisabled(disabled); 147 return _object; 148 } 149 150 public Depot extendCloneable( 154 org.opencrx.kernel.base.cci.Cloneable _base 155 , short accessLevelBrowse 156 , short accessLevelDelete 157 , short accessLevelUpdate 158 , boolean allowPositionAutoCreate 159 , String depotNumber 160 , boolean isDefault 161 , boolean isLocked 162 , String name 163 , java.util.Date openingDate 164 , boolean disabled 165 ) { 166 DepotImpl _object = (DepotImpl)getDepot(_base); 167 _object.setAccessLevelBrowse(accessLevelBrowse); 168 _object.setAccessLevelDelete(accessLevelDelete); 169 _object.setAccessLevelUpdate(accessLevelUpdate); 170 _object.setAllowPositionAutoCreate(allowPositionAutoCreate); 171 _object.setDepotNumber(depotNumber); 172 _object.setDefault_(isDefault); 173 _object.setLocked(isLocked); 174 _object.setName(name); 175 _object.setOpeningDate(openingDate); 176 _object.setDisabled(disabled); 177 return _object; 178 } 179 180 public Depot extendImporter( 184 org.opencrx.kernel.base.cci.Importer _base 185 , short accessLevelBrowse 186 , short accessLevelDelete 187 , short accessLevelUpdate 188 , boolean allowPositionAutoCreate 189 , String depotNumber 190 , boolean isDefault 191 , boolean isLocked 192 , String name 193 , java.util.Date openingDate 194 , boolean disabled 195 ) { 196 DepotImpl _object = (DepotImpl)getDepot(_base); 197 _object.setAccessLevelBrowse(accessLevelBrowse); 198 _object.setAccessLevelDelete(accessLevelDelete); 199 _object.setAccessLevelUpdate(accessLevelUpdate); 200 _object.setAllowPositionAutoCreate(allowPositionAutoCreate); 201 _object.setDepotNumber(depotNumber); 202 _object.setDefault_(isDefault); 203 _object.setLocked(isLocked); 204 _object.setName(name); 205 _object.setOpeningDate(openingDate); 206 _object.setDisabled(disabled); 207 return _object; 208 } 209 210 public Depot extendPropertySet( 214 org.opencrx.kernel.base.cci.PropertySet _base 215 , short accessLevelBrowse 216 , short accessLevelDelete 217 , short accessLevelUpdate 218 , boolean allowPositionAutoCreate 219 , String depotNumber 220 , boolean isDefault 221 , boolean isLocked 222 , String name 223 , java.util.Date openingDate 224 , boolean disabled 225 ) { 226 DepotImpl _object = (DepotImpl)getDepot(_base); 227 _object.setAccessLevelBrowse(accessLevelBrowse); 228 _object.setAccessLevelDelete(accessLevelDelete); 229 _object.setAccessLevelUpdate(accessLevelUpdate); 230 _object.setAllowPositionAutoCreate(allowPositionAutoCreate); 231 _object.setDepotNumber(depotNumber); 232 _object.setDefault_(isDefault); 233 _object.setLocked(isLocked); 234 _object.setName(name); 235 _object.setOpeningDate(openingDate); 236 _object.setDisabled(disabled); 237 return _object; 238 } 239 240 public Depot extendSecureObject( 244 org.opencrx.kernel.base.cci.SecureObject _base 245 , boolean allowPositionAutoCreate 246 , String depotNumber 247 , boolean isDefault 248 , boolean isLocked 249 , String name 250 , java.util.Date openingDate 251 , boolean disabled 252 ) { 253 DepotImpl _object = (DepotImpl)getDepot(_base); 254 _object.setAllowPositionAutoCreate(allowPositionAutoCreate); 255 _object.setDepotNumber(depotNumber); 256 _object.setDefault_(isDefault); 257 _object.setLocked(isLocked); 258 _object.setName(name); 259 _object.setOpeningDate(openingDate); 260 _object.setDisabled(disabled); 261 return _object; 262 } 263 264 public Depot extendSubscriptionTarget( 268 org.opencrx.kernel.base.cci.SubscriptionTarget _base 269 , short accessLevelBrowse 270 , short accessLevelDelete 271 , short accessLevelUpdate 272 , boolean allowPositionAutoCreate 273 , String depotNumber 274 , boolean isDefault 275 , boolean isLocked 276 , String name 277 , java.util.Date openingDate 278 , boolean disabled 279 ) { 280 DepotImpl _object = (DepotImpl)getDepot(_base); 281 _object.setAccessLevelBrowse(accessLevelBrowse); 282 _object.setAccessLevelDelete(accessLevelDelete); 283 _object.setAccessLevelUpdate(accessLevelUpdate); 284 _object.setAllowPositionAutoCreate(allowPositionAutoCreate); 285 _object.setDepotNumber(depotNumber); 286 _object.setDefault_(isDefault); 287 _object.setLocked(isLocked); 288 _object.setName(name); 289 _object.setOpeningDate(openingDate); 290 _object.setDisabled(disabled); 291 return _object; 292 } 293 294 public Depot extendXmlExporter( 298 org.opencrx.kernel.base.cci.XmlExporter _base 299 , short accessLevelBrowse 300 , short accessLevelDelete 301 , short accessLevelUpdate 302 , boolean allowPositionAutoCreate 303 , String depotNumber 304 , boolean isDefault 305 , boolean isLocked 306 , String name 307 , java.util.Date openingDate 308 , boolean disabled 309 ) { 310 DepotImpl _object = (DepotImpl)getDepot(_base); 311 _object.setAccessLevelBrowse(accessLevelBrowse); 312 _object.setAccessLevelDelete(accessLevelDelete); 313 _object.setAccessLevelUpdate(accessLevelUpdate); 314 _object.setAllowPositionAutoCreate(allowPositionAutoCreate); 315 _object.setDepotNumber(depotNumber); 316 _object.setDefault_(isDefault); 317 _object.setLocked(isLocked); 318 _object.setName(name); 319 _object.setOpeningDate(openingDate); 320 _object.setDisabled(disabled); 321 return _object; 322 } 323 324 public Depot extendContractReferenceHolder( 328 org.opencrx.kernel.contract1.cci.ContractReferenceHolder _base 329 , short accessLevelBrowse 330 , short accessLevelDelete 331 , short accessLevelUpdate 332 , boolean allowPositionAutoCreate 333 , String depotNumber 334 , boolean isDefault 335 , boolean isLocked 336 , String name 337 , java.util.Date openingDate 338 , boolean disabled 339 ) { 340 DepotImpl _object = (DepotImpl)getDepot(_base); 341 _object.setAccessLevelBrowse(accessLevelBrowse); 342 _object.setAccessLevelDelete(accessLevelDelete); 343 _object.setAccessLevelUpdate(accessLevelUpdate); 344 _object.setAllowPositionAutoCreate(allowPositionAutoCreate); 345 _object.setDepotNumber(depotNumber); 346 _object.setDefault_(isDefault); 347 _object.setLocked(isLocked); 348 _object.setName(name); 349 _object.setOpeningDate(openingDate); 350 _object.setDisabled(disabled); 351 return _object; 352 } 353 354 public Depot extendCrxObject( 358 org.opencrx.kernel.generic.cci.CrxObject _base 359 , boolean allowPositionAutoCreate 360 , String depotNumber 361 , boolean isDefault 362 , boolean isLocked 363 , String name 364 , java.util.Date openingDate 365 ) { 366 DepotImpl _object = (DepotImpl)getDepot(_base); 367 _object.setAllowPositionAutoCreate(allowPositionAutoCreate); 368 _object.setDepotNumber(depotNumber); 369 _object.setDefault_(isDefault); 370 _object.setLocked(isLocked); 371 _object.setName(name); 372 _object.setOpeningDate(openingDate); 373 return _object; 374 } 375 376 public Depot extendDescriptionContainer( 380 org.opencrx.kernel.generic.cci.DescriptionContainer _base 381 , short accessLevelBrowse 382 , short accessLevelDelete 383 , short accessLevelUpdate 384 , boolean allowPositionAutoCreate 385 , String depotNumber 386 , boolean isDefault 387 , boolean isLocked 388 , String name 389 , java.util.Date openingDate 390 , boolean disabled 391 ) { 392 DepotImpl _object = (DepotImpl)getDepot(_base); 393 _object.setAccessLevelBrowse(accessLevelBrowse); 394 _object.setAccessLevelDelete(accessLevelDelete); 395 _object.setAccessLevelUpdate(accessLevelUpdate); 396 _object.setAllowPositionAutoCreate(allowPositionAutoCreate); 397 _object.setDepotNumber(depotNumber); 398 _object.setDefault_(isDefault); 399 _object.setLocked(isLocked); 400 _object.setName(name); 401 _object.setOpeningDate(openingDate); 402 _object.setDisabled(disabled); 403 return _object; 404 } 405 406 public Depot extendBasicObject( 410 org.openmdx.base.cci.BasicObject _base 411 , short accessLevelBrowse 412 , short accessLevelDelete 413 , short accessLevelUpdate 414 , boolean allowPositionAutoCreate 415 , String depotNumber 416 , boolean isDefault 417 , boolean isLocked 418 , String name 419 , java.util.Date openingDate 420 , boolean disabled 421 ) { 422 DepotImpl _object = (DepotImpl)getDepot(_base); 423 _object.setAccessLevelBrowse(accessLevelBrowse); 424 _object.setAccessLevelDelete(accessLevelDelete); 425 _object.setAccessLevelUpdate(accessLevelUpdate); 426 _object.setAllowPositionAutoCreate(allowPositionAutoCreate); 427 _object.setDepotNumber(depotNumber); 428 _object.setDefault_(isDefault); 429 _object.setLocked(isLocked); 430 _object.setName(name); 431 _object.setOpeningDate(openingDate); 432 _object.setDisabled(disabled); 433 return _object; 434 } 435 436 public Depot extendContextCapable( 440 org.openmdx.base.cci.ContextCapable _base 441 , short accessLevelBrowse 442 , short accessLevelDelete 443 , short accessLevelUpdate 444 , boolean allowPositionAutoCreate 445 , String depotNumber 446 , boolean isDefault 447 , boolean isLocked 448 , String name 449 , java.util.Date openingDate 450 , boolean disabled 451 ) { 452 DepotImpl _object = (DepotImpl)getDepot(_base); 453 _object.setAccessLevelBrowse(accessLevelBrowse); 454 _object.setAccessLevelDelete(accessLevelDelete); 455 _object.setAccessLevelUpdate(accessLevelUpdate); 456 _object.setAllowPositionAutoCreate(allowPositionAutoCreate); 457 _object.setDepotNumber(depotNumber); 458 _object.setDefault_(isDefault); 459 _object.setLocked(isLocked); 460 _object.setName(name); 461 _object.setOpeningDate(openingDate); 462 _object.setDisabled(disabled); 463 return _object; 464 } 465 466 public Depot extendExtentCapable( 470 org.openmdx.base.cci.ExtentCapable _base 471 , short accessLevelBrowse 472 , short accessLevelDelete 473 , short accessLevelUpdate 474 , boolean allowPositionAutoCreate 475 , String depotNumber 476 , boolean isDefault 477 , boolean isLocked 478 , String name 479 , java.util.Date openingDate 480 , boolean disabled 481 ) { 482 DepotImpl _object = (DepotImpl)getDepot(_base); 483 _object.setAccessLevelBrowse(accessLevelBrowse); 484 _object.setAccessLevelDelete(accessLevelDelete); 485 _object.setAccessLevelUpdate(accessLevelUpdate); 486 _object.setAllowPositionAutoCreate(allowPositionAutoCreate); 487 _object.setDepotNumber(depotNumber); 488 _object.setDefault_(isDefault); 489 _object.setLocked(isLocked); 490 _object.setName(name); 491 _object.setOpeningDate(openingDate); 492 _object.setDisabled(disabled); 493 return _object; 494 } 495 496 public Depot extendViewCapable( 500 org.openmdx.compatibility.view1.cci.ViewCapable _base 501 , short accessLevelBrowse 502 , short accessLevelDelete 503 , short accessLevelUpdate 504 , boolean allowPositionAutoCreate 505 , String depotNumber 506 , boolean isDefault 507 , boolean isLocked 508 , String name 509 , java.util.Date openingDate 510 , boolean disabled 511 ) { 512 DepotImpl _object = (DepotImpl)getDepot(_base); 513 _object.setAccessLevelBrowse(accessLevelBrowse); 514 _object.setAccessLevelDelete(accessLevelDelete); 515 _object.setAccessLevelUpdate(accessLevelUpdate); 516 _object.setAllowPositionAutoCreate(allowPositionAutoCreate); 517 _object.setDepotNumber(depotNumber); 518 _object.setDefault_(isDefault); 519 _object.setLocked(isLocked); 520 _object.setName(name); 521 _object.setOpeningDate(openingDate); 522 _object.setDisabled(disabled); 523 return _object; 524 } 525 526 } 530 | Popular Tags |