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