1 package org.opencrx.kernel.account1.cci; 14 15 public class LegalEntityClassImpl 16 extends org.openmdx.base.accessor.jmi.spi.RefClass_1 17 implements LegalEntityClass { 18 19 public LegalEntityClassImpl( 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:account1:LegalEntity"; 28 } 29 30 public LegalEntity getLegalEntity( 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 LegalEntity target = (LegalEntity)refCreateInstance( 38 args 39 ); 40 return target; 41 } else { 42 return (LegalEntity)((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 LegalEntity createLegalEntity( 55 ) { 56 LegalEntity target = (LegalEntity)refCreateInstance( 57 null 58 ); 59 return target; 60 } 61 public LegalEntity createLegalEntity( 65 short accountRating 66 , short accountState 67 , short accountType 68 , short industry 69 , String name 70 , short numberOfEmployeesCategory 71 , short accessLevelBrowse 72 , short accessLevelDelete 73 , short accessLevelUpdate 74 , boolean disabled 75 ) { 76 LegalEntityImpl _object = (LegalEntityImpl)createLegalEntity(); 77 _object.setAccountRating(accountRating); 78 _object.setAccountState(accountState); 79 _object.setAccountType(accountType); 80 _object.setIndustry(industry); 81 _object.setName(name); 82 _object.setNumberOfEmployeesCategory(numberOfEmployeesCategory); 83 _object.setAccessLevelBrowse(accessLevelBrowse); 84 _object.setAccessLevelDelete(accessLevelDelete); 85 _object.setAccessLevelUpdate(accessLevelUpdate); 86 _object.setDisabled(disabled); 87 return _object; 88 } 89 90 public LegalEntity extendAbstractAccount( 94 org.opencrx.kernel.account1.cci.AbstractAccount _base 95 , short industry 96 , String name 97 , short numberOfEmployeesCategory 98 , short accessLevelBrowse 99 , short accessLevelDelete 100 , short accessLevelUpdate 101 , boolean disabled 102 ) { 103 LegalEntityImpl _object = (LegalEntityImpl)getLegalEntity(_base); 104 _object.setIndustry(industry); 105 _object.setName(name); 106 _object.setNumberOfEmployeesCategory(numberOfEmployeesCategory); 107 _object.setAccessLevelBrowse(accessLevelBrowse); 108 _object.setAccessLevelDelete(accessLevelDelete); 109 _object.setAccessLevelUpdate(accessLevelUpdate); 110 _object.setDisabled(disabled); 111 return _object; 112 } 113 114 public LegalEntity extendAccount( 118 org.opencrx.kernel.account1.cci.Account _base 119 , short industry 120 , String name 121 , short numberOfEmployeesCategory 122 ) { 123 LegalEntityImpl _object = (LegalEntityImpl)getLegalEntity(_base); 124 _object.setIndustry(industry); 125 _object.setName(name); 126 _object.setNumberOfEmployeesCategory(numberOfEmployeesCategory); 127 return _object; 128 } 129 130 public LegalEntity extendAuditee( 134 org.opencrx.kernel.base.cci.Auditee _base 135 , short accountRating 136 , short accountState 137 , short accountType 138 , short industry 139 , String name 140 , short numberOfEmployeesCategory 141 , short accessLevelBrowse 142 , short accessLevelDelete 143 , short accessLevelUpdate 144 , boolean disabled 145 ) { 146 LegalEntityImpl _object = (LegalEntityImpl)getLegalEntity(_base); 147 _object.setAccountRating(accountRating); 148 _object.setAccountState(accountState); 149 _object.setAccountType(accountType); 150 _object.setIndustry(industry); 151 _object.setName(name); 152 _object.setNumberOfEmployeesCategory(numberOfEmployeesCategory); 153 _object.setAccessLevelBrowse(accessLevelBrowse); 154 _object.setAccessLevelDelete(accessLevelDelete); 155 _object.setAccessLevelUpdate(accessLevelUpdate); 156 _object.setDisabled(disabled); 157 return _object; 158 } 159 160 public LegalEntity extendBookmarkable( 164 org.opencrx.kernel.base.cci.Bookmarkable _base 165 , short accountRating 166 , short accountState 167 , short accountType 168 , short industry 169 , String name 170 , short numberOfEmployeesCategory 171 , short accessLevelBrowse 172 , short accessLevelDelete 173 , short accessLevelUpdate 174 , boolean disabled 175 ) { 176 LegalEntityImpl _object = (LegalEntityImpl)getLegalEntity(_base); 177 _object.setAccountRating(accountRating); 178 _object.setAccountState(accountState); 179 _object.setAccountType(accountType); 180 _object.setIndustry(industry); 181 _object.setName(name); 182 _object.setNumberOfEmployeesCategory(numberOfEmployeesCategory); 183 _object.setAccessLevelBrowse(accessLevelBrowse); 184 _object.setAccessLevelDelete(accessLevelDelete); 185 _object.setAccessLevelUpdate(accessLevelUpdate); 186 _object.setDisabled(disabled); 187 return _object; 188 } 189 190 public LegalEntity extendCloneable( 194 org.opencrx.kernel.base.cci.Cloneable _base 195 , short accountRating 196 , short accountState 197 , short accountType 198 , short industry 199 , String name 200 , short numberOfEmployeesCategory 201 , short accessLevelBrowse 202 , short accessLevelDelete 203 , short accessLevelUpdate 204 , boolean disabled 205 ) { 206 LegalEntityImpl _object = (LegalEntityImpl)getLegalEntity(_base); 207 _object.setAccountRating(accountRating); 208 _object.setAccountState(accountState); 209 _object.setAccountType(accountType); 210 _object.setIndustry(industry); 211 _object.setName(name); 212 _object.setNumberOfEmployeesCategory(numberOfEmployeesCategory); 213 _object.setAccessLevelBrowse(accessLevelBrowse); 214 _object.setAccessLevelDelete(accessLevelDelete); 215 _object.setAccessLevelUpdate(accessLevelUpdate); 216 _object.setDisabled(disabled); 217 return _object; 218 } 219 220 public LegalEntity extendImporter( 224 org.opencrx.kernel.base.cci.Importer _base 225 , short accountRating 226 , short accountState 227 , short accountType 228 , short industry 229 , String name 230 , short numberOfEmployeesCategory 231 , short accessLevelBrowse 232 , short accessLevelDelete 233 , short accessLevelUpdate 234 , boolean disabled 235 ) { 236 LegalEntityImpl _object = (LegalEntityImpl)getLegalEntity(_base); 237 _object.setAccountRating(accountRating); 238 _object.setAccountState(accountState); 239 _object.setAccountType(accountType); 240 _object.setIndustry(industry); 241 _object.setName(name); 242 _object.setNumberOfEmployeesCategory(numberOfEmployeesCategory); 243 _object.setAccessLevelBrowse(accessLevelBrowse); 244 _object.setAccessLevelDelete(accessLevelDelete); 245 _object.setAccessLevelUpdate(accessLevelUpdate); 246 _object.setDisabled(disabled); 247 return _object; 248 } 249 250 public LegalEntity extendSecureObject( 254 org.opencrx.kernel.base.cci.SecureObject _base 255 , short accountRating 256 , short accountState 257 , short accountType 258 , short industry 259 , String name 260 , short numberOfEmployeesCategory 261 , boolean disabled 262 ) { 263 LegalEntityImpl _object = (LegalEntityImpl)getLegalEntity(_base); 264 _object.setAccountRating(accountRating); 265 _object.setAccountState(accountState); 266 _object.setAccountType(accountType); 267 _object.setIndustry(industry); 268 _object.setName(name); 269 _object.setNumberOfEmployeesCategory(numberOfEmployeesCategory); 270 _object.setDisabled(disabled); 271 return _object; 272 } 273 274 public LegalEntity extendSubscriptionTarget( 278 org.opencrx.kernel.base.cci.SubscriptionTarget _base 279 , short accountRating 280 , short accountState 281 , short accountType 282 , short industry 283 , String name 284 , short numberOfEmployeesCategory 285 , short accessLevelBrowse 286 , short accessLevelDelete 287 , short accessLevelUpdate 288 , boolean disabled 289 ) { 290 LegalEntityImpl _object = (LegalEntityImpl)getLegalEntity(_base); 291 _object.setAccountRating(accountRating); 292 _object.setAccountState(accountState); 293 _object.setAccountType(accountType); 294 _object.setIndustry(industry); 295 _object.setName(name); 296 _object.setNumberOfEmployeesCategory(numberOfEmployeesCategory); 297 _object.setAccessLevelBrowse(accessLevelBrowse); 298 _object.setAccessLevelDelete(accessLevelDelete); 299 _object.setAccessLevelUpdate(accessLevelUpdate); 300 _object.setDisabled(disabled); 301 return _object; 302 } 303 304 public LegalEntity extendXmlExporter( 308 org.opencrx.kernel.base.cci.XmlExporter _base 309 , short accountRating 310 , short accountState 311 , short accountType 312 , short industry 313 , String name 314 , short numberOfEmployeesCategory 315 , short accessLevelBrowse 316 , short accessLevelDelete 317 , short accessLevelUpdate 318 , boolean disabled 319 ) { 320 LegalEntityImpl _object = (LegalEntityImpl)getLegalEntity(_base); 321 _object.setAccountRating(accountRating); 322 _object.setAccountState(accountState); 323 _object.setAccountType(accountType); 324 _object.setIndustry(industry); 325 _object.setName(name); 326 _object.setNumberOfEmployeesCategory(numberOfEmployeesCategory); 327 _object.setAccessLevelBrowse(accessLevelBrowse); 328 _object.setAccessLevelDelete(accessLevelDelete); 329 _object.setAccessLevelUpdate(accessLevelUpdate); 330 _object.setDisabled(disabled); 331 return _object; 332 } 333 334 public LegalEntity extendCrxObject( 338 org.opencrx.kernel.generic.cci.CrxObject _base 339 , short accountRating 340 , short accountState 341 , short accountType 342 , short industry 343 , String name 344 , short numberOfEmployeesCategory 345 ) { 346 LegalEntityImpl _object = (LegalEntityImpl)getLegalEntity(_base); 347 _object.setAccountRating(accountRating); 348 _object.setAccountState(accountState); 349 _object.setAccountType(accountType); 350 _object.setIndustry(industry); 351 _object.setName(name); 352 _object.setNumberOfEmployeesCategory(numberOfEmployeesCategory); 353 return _object; 354 } 355 356 public LegalEntity extendGenericAccount( 360 org.opencrx.kernel.generic.cci.GenericAccount _base 361 , short accountRating 362 , short accountState 363 , short accountType 364 , short industry 365 , String name 366 , short numberOfEmployeesCategory 367 , short accessLevelBrowse 368 , short accessLevelDelete 369 , short accessLevelUpdate 370 , boolean disabled 371 ) { 372 LegalEntityImpl _object = (LegalEntityImpl)getLegalEntity(_base); 373 _object.setAccountRating(accountRating); 374 _object.setAccountState(accountState); 375 _object.setAccountType(accountType); 376 _object.setIndustry(industry); 377 _object.setName(name); 378 _object.setNumberOfEmployeesCategory(numberOfEmployeesCategory); 379 _object.setAccessLevelBrowse(accessLevelBrowse); 380 _object.setAccessLevelDelete(accessLevelDelete); 381 _object.setAccessLevelUpdate(accessLevelUpdate); 382 _object.setDisabled(disabled); 383 return _object; 384 } 385 386 public LegalEntity extendBasicObject( 390 org.openmdx.base.cci.BasicObject _base 391 , short accountRating 392 , short accountState 393 , short accountType 394 , short industry 395 , String name 396 , short numberOfEmployeesCategory 397 , short accessLevelBrowse 398 , short accessLevelDelete 399 , short accessLevelUpdate 400 , boolean disabled 401 ) { 402 LegalEntityImpl _object = (LegalEntityImpl)getLegalEntity(_base); 403 _object.setAccountRating(accountRating); 404 _object.setAccountState(accountState); 405 _object.setAccountType(accountType); 406 _object.setIndustry(industry); 407 _object.setName(name); 408 _object.setNumberOfEmployeesCategory(numberOfEmployeesCategory); 409 _object.setAccessLevelBrowse(accessLevelBrowse); 410 _object.setAccessLevelDelete(accessLevelDelete); 411 _object.setAccessLevelUpdate(accessLevelUpdate); 412 _object.setDisabled(disabled); 413 return _object; 414 } 415 416 public LegalEntity extendContextCapable( 420 org.openmdx.base.cci.ContextCapable _base 421 , short accountRating 422 , short accountState 423 , short accountType 424 , short industry 425 , String name 426 , short numberOfEmployeesCategory 427 , short accessLevelBrowse 428 , short accessLevelDelete 429 , short accessLevelUpdate 430 , boolean disabled 431 ) { 432 LegalEntityImpl _object = (LegalEntityImpl)getLegalEntity(_base); 433 _object.setAccountRating(accountRating); 434 _object.setAccountState(accountState); 435 _object.setAccountType(accountType); 436 _object.setIndustry(industry); 437 _object.setName(name); 438 _object.setNumberOfEmployeesCategory(numberOfEmployeesCategory); 439 _object.setAccessLevelBrowse(accessLevelBrowse); 440 _object.setAccessLevelDelete(accessLevelDelete); 441 _object.setAccessLevelUpdate(accessLevelUpdate); 442 _object.setDisabled(disabled); 443 return _object; 444 } 445 446 public LegalEntity extendExtentCapable( 450 org.openmdx.base.cci.ExtentCapable _base 451 , short accountRating 452 , short accountState 453 , short accountType 454 , short industry 455 , String name 456 , short numberOfEmployeesCategory 457 , short accessLevelBrowse 458 , short accessLevelDelete 459 , short accessLevelUpdate 460 , boolean disabled 461 ) { 462 LegalEntityImpl _object = (LegalEntityImpl)getLegalEntity(_base); 463 _object.setAccountRating(accountRating); 464 _object.setAccountState(accountState); 465 _object.setAccountType(accountType); 466 _object.setIndustry(industry); 467 _object.setName(name); 468 _object.setNumberOfEmployeesCategory(numberOfEmployeesCategory); 469 _object.setAccessLevelBrowse(accessLevelBrowse); 470 _object.setAccessLevelDelete(accessLevelDelete); 471 _object.setAccessLevelUpdate(accessLevelUpdate); 472 _object.setDisabled(disabled); 473 return _object; 474 } 475 476 public LegalEntity extendViewCapable( 480 org.openmdx.compatibility.view1.cci.ViewCapable _base 481 , short accountRating 482 , short accountState 483 , short accountType 484 , short industry 485 , String name 486 , short numberOfEmployeesCategory 487 , short accessLevelBrowse 488 , short accessLevelDelete 489 , short accessLevelUpdate 490 , boolean disabled 491 ) { 492 LegalEntityImpl _object = (LegalEntityImpl)getLegalEntity(_base); 493 _object.setAccountRating(accountRating); 494 _object.setAccountState(accountState); 495 _object.setAccountType(accountType); 496 _object.setIndustry(industry); 497 _object.setName(name); 498 _object.setNumberOfEmployeesCategory(numberOfEmployeesCategory); 499 _object.setAccessLevelBrowse(accessLevelBrowse); 500 _object.setAccessLevelDelete(accessLevelDelete); 501 _object.setAccessLevelUpdate(accessLevelUpdate); 502 _object.setDisabled(disabled); 503 return _object; 504 } 505 506 } 510 | Popular Tags |