1 package org.opencrx.kernel.model1.cci; 14 15 public class PrimitiveTypeClassImpl 16 extends org.openmdx.base.accessor.jmi.spi.RefClass_1 17 implements PrimitiveTypeClass { 18 19 public PrimitiveTypeClassImpl( 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:model1:PrimitiveType"; 28 } 29 30 public PrimitiveType getPrimitiveType( 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 PrimitiveType target = (PrimitiveType)refCreateInstance( 38 args 39 ); 40 return target; 41 } else { 42 return (PrimitiveType)((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 PrimitiveType createPrimitiveType( 55 ) { 56 PrimitiveType target = (PrimitiveType)refCreateInstance( 57 null 58 ); 59 return target; 60 } 61 public PrimitiveType createPrimitiveType( 65 short accessLevelBrowse 66 , short accessLevelDelete 67 , short accessLevelUpdate 68 , boolean disabled 69 , String name 70 , String qualifiedName 71 , boolean isAbstract 72 , short visibility 73 ) { 74 PrimitiveTypeImpl _object = (PrimitiveTypeImpl)createPrimitiveType(); 75 _object.setAccessLevelBrowse(accessLevelBrowse); 76 _object.setAccessLevelDelete(accessLevelDelete); 77 _object.setAccessLevelUpdate(accessLevelUpdate); 78 _object.setDisabled(disabled); 79 _object.setName(name); 80 _object.setQualifiedName(qualifiedName); 81 _object.setAbstract_(isAbstract); 82 _object.setVisibility(visibility); 83 return _object; 84 } 85 86 public PrimitiveType extendAuditee( 90 org.opencrx.kernel.base.cci.Auditee _base 91 , short accessLevelBrowse 92 , short accessLevelDelete 93 , short accessLevelUpdate 94 , boolean disabled 95 , String name 96 , String qualifiedName 97 , boolean isAbstract 98 , short visibility 99 ) { 100 PrimitiveTypeImpl _object = (PrimitiveTypeImpl)getPrimitiveType(_base); 101 _object.setAccessLevelBrowse(accessLevelBrowse); 102 _object.setAccessLevelDelete(accessLevelDelete); 103 _object.setAccessLevelUpdate(accessLevelUpdate); 104 _object.setDisabled(disabled); 105 _object.setName(name); 106 _object.setQualifiedName(qualifiedName); 107 _object.setAbstract_(isAbstract); 108 _object.setVisibility(visibility); 109 return _object; 110 } 111 112 public PrimitiveType extendBookmarkable( 116 org.opencrx.kernel.base.cci.Bookmarkable _base 117 , short accessLevelBrowse 118 , short accessLevelDelete 119 , short accessLevelUpdate 120 , boolean disabled 121 , String name 122 , String qualifiedName 123 , boolean isAbstract 124 , short visibility 125 ) { 126 PrimitiveTypeImpl _object = (PrimitiveTypeImpl)getPrimitiveType(_base); 127 _object.setAccessLevelBrowse(accessLevelBrowse); 128 _object.setAccessLevelDelete(accessLevelDelete); 129 _object.setAccessLevelUpdate(accessLevelUpdate); 130 _object.setDisabled(disabled); 131 _object.setName(name); 132 _object.setQualifiedName(qualifiedName); 133 _object.setAbstract_(isAbstract); 134 _object.setVisibility(visibility); 135 return _object; 136 } 137 138 public PrimitiveType extendCloneable( 142 org.opencrx.kernel.base.cci.Cloneable _base 143 , short accessLevelBrowse 144 , short accessLevelDelete 145 , short accessLevelUpdate 146 , boolean disabled 147 , String name 148 , String qualifiedName 149 , boolean isAbstract 150 , short visibility 151 ) { 152 PrimitiveTypeImpl _object = (PrimitiveTypeImpl)getPrimitiveType(_base); 153 _object.setAccessLevelBrowse(accessLevelBrowse); 154 _object.setAccessLevelDelete(accessLevelDelete); 155 _object.setAccessLevelUpdate(accessLevelUpdate); 156 _object.setDisabled(disabled); 157 _object.setName(name); 158 _object.setQualifiedName(qualifiedName); 159 _object.setAbstract_(isAbstract); 160 _object.setVisibility(visibility); 161 return _object; 162 } 163 164 public PrimitiveType extendImporter( 168 org.opencrx.kernel.base.cci.Importer _base 169 , short accessLevelBrowse 170 , short accessLevelDelete 171 , short accessLevelUpdate 172 , boolean disabled 173 , String name 174 , String qualifiedName 175 , boolean isAbstract 176 , short visibility 177 ) { 178 PrimitiveTypeImpl _object = (PrimitiveTypeImpl)getPrimitiveType(_base); 179 _object.setAccessLevelBrowse(accessLevelBrowse); 180 _object.setAccessLevelDelete(accessLevelDelete); 181 _object.setAccessLevelUpdate(accessLevelUpdate); 182 _object.setDisabled(disabled); 183 _object.setName(name); 184 _object.setQualifiedName(qualifiedName); 185 _object.setAbstract_(isAbstract); 186 _object.setVisibility(visibility); 187 return _object; 188 } 189 190 public PrimitiveType extendSecureObject( 194 org.opencrx.kernel.base.cci.SecureObject _base 195 , boolean disabled 196 , String name 197 , String qualifiedName 198 , boolean isAbstract 199 , short visibility 200 ) { 201 PrimitiveTypeImpl _object = (PrimitiveTypeImpl)getPrimitiveType(_base); 202 _object.setDisabled(disabled); 203 _object.setName(name); 204 _object.setQualifiedName(qualifiedName); 205 _object.setAbstract_(isAbstract); 206 _object.setVisibility(visibility); 207 return _object; 208 } 209 210 public PrimitiveType extendSubscriptionTarget( 214 org.opencrx.kernel.base.cci.SubscriptionTarget _base 215 , short accessLevelBrowse 216 , short accessLevelDelete 217 , short accessLevelUpdate 218 , boolean disabled 219 , String name 220 , String qualifiedName 221 , boolean isAbstract 222 , short visibility 223 ) { 224 PrimitiveTypeImpl _object = (PrimitiveTypeImpl)getPrimitiveType(_base); 225 _object.setAccessLevelBrowse(accessLevelBrowse); 226 _object.setAccessLevelDelete(accessLevelDelete); 227 _object.setAccessLevelUpdate(accessLevelUpdate); 228 _object.setDisabled(disabled); 229 _object.setName(name); 230 _object.setQualifiedName(qualifiedName); 231 _object.setAbstract_(isAbstract); 232 _object.setVisibility(visibility); 233 return _object; 234 } 235 236 public PrimitiveType extendXmlExporter( 240 org.opencrx.kernel.base.cci.XmlExporter _base 241 , short accessLevelBrowse 242 , short accessLevelDelete 243 , short accessLevelUpdate 244 , boolean disabled 245 , String name 246 , String qualifiedName 247 , boolean isAbstract 248 , short visibility 249 ) { 250 PrimitiveTypeImpl _object = (PrimitiveTypeImpl)getPrimitiveType(_base); 251 _object.setAccessLevelBrowse(accessLevelBrowse); 252 _object.setAccessLevelDelete(accessLevelDelete); 253 _object.setAccessLevelUpdate(accessLevelUpdate); 254 _object.setDisabled(disabled); 255 _object.setName(name); 256 _object.setQualifiedName(qualifiedName); 257 _object.setAbstract_(isAbstract); 258 _object.setVisibility(visibility); 259 return _object; 260 } 261 262 public PrimitiveType extendCrxObject( 266 org.opencrx.kernel.generic.cci.CrxObject _base 267 , String name 268 , String qualifiedName 269 , boolean isAbstract 270 , short visibility 271 ) { 272 PrimitiveTypeImpl _object = (PrimitiveTypeImpl)getPrimitiveType(_base); 273 _object.setName(name); 274 _object.setQualifiedName(qualifiedName); 275 _object.setAbstract_(isAbstract); 276 _object.setVisibility(visibility); 277 return _object; 278 } 279 280 public PrimitiveType extendElement( 284 org.opencrx.kernel.model1.cci.Element _base 285 , boolean isAbstract 286 , short visibility 287 ) { 288 PrimitiveTypeImpl _object = (PrimitiveTypeImpl)getPrimitiveType(_base); 289 _object.setAbstract_(isAbstract); 290 _object.setVisibility(visibility); 291 return _object; 292 } 293 294 public PrimitiveType extendNamespace( 298 org.opencrx.kernel.model1.cci.Namespace _base 299 , boolean isAbstract 300 , short visibility 301 ) { 302 PrimitiveTypeImpl _object = (PrimitiveTypeImpl)getPrimitiveType(_base); 303 _object.setAbstract_(isAbstract); 304 _object.setVisibility(visibility); 305 return _object; 306 } 307 308 public PrimitiveType extendBasicObject( 312 org.openmdx.base.cci.BasicObject _base 313 , short accessLevelBrowse 314 , short accessLevelDelete 315 , short accessLevelUpdate 316 , boolean disabled 317 , String name 318 , String qualifiedName 319 , boolean isAbstract 320 , short visibility 321 ) { 322 PrimitiveTypeImpl _object = (PrimitiveTypeImpl)getPrimitiveType(_base); 323 _object.setAccessLevelBrowse(accessLevelBrowse); 324 _object.setAccessLevelDelete(accessLevelDelete); 325 _object.setAccessLevelUpdate(accessLevelUpdate); 326 _object.setDisabled(disabled); 327 _object.setName(name); 328 _object.setQualifiedName(qualifiedName); 329 _object.setAbstract_(isAbstract); 330 _object.setVisibility(visibility); 331 return _object; 332 } 333 334 public PrimitiveType extendContextCapable( 338 org.openmdx.base.cci.ContextCapable _base 339 , short accessLevelBrowse 340 , short accessLevelDelete 341 , short accessLevelUpdate 342 , boolean disabled 343 , String name 344 , String qualifiedName 345 , boolean isAbstract 346 , short visibility 347 ) { 348 PrimitiveTypeImpl _object = (PrimitiveTypeImpl)getPrimitiveType(_base); 349 _object.setAccessLevelBrowse(accessLevelBrowse); 350 _object.setAccessLevelDelete(accessLevelDelete); 351 _object.setAccessLevelUpdate(accessLevelUpdate); 352 _object.setDisabled(disabled); 353 _object.setName(name); 354 _object.setQualifiedName(qualifiedName); 355 _object.setAbstract_(isAbstract); 356 _object.setVisibility(visibility); 357 return _object; 358 } 359 360 public PrimitiveType extendExtentCapable( 364 org.openmdx.base.cci.ExtentCapable _base 365 , short accessLevelBrowse 366 , short accessLevelDelete 367 , short accessLevelUpdate 368 , boolean disabled 369 , String name 370 , String qualifiedName 371 , boolean isAbstract 372 , short visibility 373 ) { 374 PrimitiveTypeImpl _object = (PrimitiveTypeImpl)getPrimitiveType(_base); 375 _object.setAccessLevelBrowse(accessLevelBrowse); 376 _object.setAccessLevelDelete(accessLevelDelete); 377 _object.setAccessLevelUpdate(accessLevelUpdate); 378 _object.setDisabled(disabled); 379 _object.setName(name); 380 _object.setQualifiedName(qualifiedName); 381 _object.setAbstract_(isAbstract); 382 _object.setVisibility(visibility); 383 return _object; 384 } 385 386 public PrimitiveType extendViewCapable( 390 org.openmdx.compatibility.view1.cci.ViewCapable _base 391 , short accessLevelBrowse 392 , short accessLevelDelete 393 , short accessLevelUpdate 394 , boolean disabled 395 , String name 396 , String qualifiedName 397 , boolean isAbstract 398 , short visibility 399 ) { 400 PrimitiveTypeImpl _object = (PrimitiveTypeImpl)getPrimitiveType(_base); 401 _object.setAccessLevelBrowse(accessLevelBrowse); 402 _object.setAccessLevelDelete(accessLevelDelete); 403 _object.setAccessLevelUpdate(accessLevelUpdate); 404 _object.setDisabled(disabled); 405 _object.setName(name); 406 _object.setQualifiedName(qualifiedName); 407 _object.setAbstract_(isAbstract); 408 _object.setVisibility(visibility); 409 return _object; 410 } 411 412 } 416 | Popular Tags |