1 package org.opencrx.kernel.model1.cci; 14 15 public class ConstraintClassImpl 16 extends org.openmdx.base.accessor.jmi.spi.RefClass_1 17 implements ConstraintClass { 18 19 public ConstraintClassImpl( 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:Constraint"; 28 } 29 30 public Constraint getConstraint( 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 Constraint target = (Constraint)refCreateInstance( 38 args 39 ); 40 return target; 41 } else { 42 return (Constraint)((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 Constraint createConstraint( 55 ) { 56 Constraint target = (Constraint)refCreateInstance( 57 null 58 ); 59 return target; 60 } 61 public Constraint createConstraint( 65 short accessLevelBrowse 66 , short accessLevelDelete 67 , short accessLevelUpdate 68 , boolean disabled 69 , short evaluationPolicy 70 , String expression 71 , String language 72 , String name 73 , String qualifiedName 74 ) { 75 ConstraintImpl _object = (ConstraintImpl)createConstraint(); 76 _object.setAccessLevelBrowse(accessLevelBrowse); 77 _object.setAccessLevelDelete(accessLevelDelete); 78 _object.setAccessLevelUpdate(accessLevelUpdate); 79 _object.setDisabled(disabled); 80 _object.setEvaluationPolicy(evaluationPolicy); 81 _object.setExpression(expression); 82 _object.setLanguage(language); 83 _object.setName(name); 84 _object.setQualifiedName(qualifiedName); 85 return _object; 86 } 87 88 public Constraint extendAuditee( 92 org.opencrx.kernel.base.cci.Auditee _base 93 , short accessLevelBrowse 94 , short accessLevelDelete 95 , short accessLevelUpdate 96 , boolean disabled 97 , short evaluationPolicy 98 , String expression 99 , String language 100 , String name 101 , String qualifiedName 102 ) { 103 ConstraintImpl _object = (ConstraintImpl)getConstraint(_base); 104 _object.setAccessLevelBrowse(accessLevelBrowse); 105 _object.setAccessLevelDelete(accessLevelDelete); 106 _object.setAccessLevelUpdate(accessLevelUpdate); 107 _object.setDisabled(disabled); 108 _object.setEvaluationPolicy(evaluationPolicy); 109 _object.setExpression(expression); 110 _object.setLanguage(language); 111 _object.setName(name); 112 _object.setQualifiedName(qualifiedName); 113 return _object; 114 } 115 116 public Constraint extendBookmarkable( 120 org.opencrx.kernel.base.cci.Bookmarkable _base 121 , short accessLevelBrowse 122 , short accessLevelDelete 123 , short accessLevelUpdate 124 , boolean disabled 125 , short evaluationPolicy 126 , String expression 127 , String language 128 , String name 129 , String qualifiedName 130 ) { 131 ConstraintImpl _object = (ConstraintImpl)getConstraint(_base); 132 _object.setAccessLevelBrowse(accessLevelBrowse); 133 _object.setAccessLevelDelete(accessLevelDelete); 134 _object.setAccessLevelUpdate(accessLevelUpdate); 135 _object.setDisabled(disabled); 136 _object.setEvaluationPolicy(evaluationPolicy); 137 _object.setExpression(expression); 138 _object.setLanguage(language); 139 _object.setName(name); 140 _object.setQualifiedName(qualifiedName); 141 return _object; 142 } 143 144 public Constraint extendCloneable( 148 org.opencrx.kernel.base.cci.Cloneable _base 149 , short accessLevelBrowse 150 , short accessLevelDelete 151 , short accessLevelUpdate 152 , boolean disabled 153 , short evaluationPolicy 154 , String expression 155 , String language 156 , String name 157 , String qualifiedName 158 ) { 159 ConstraintImpl _object = (ConstraintImpl)getConstraint(_base); 160 _object.setAccessLevelBrowse(accessLevelBrowse); 161 _object.setAccessLevelDelete(accessLevelDelete); 162 _object.setAccessLevelUpdate(accessLevelUpdate); 163 _object.setDisabled(disabled); 164 _object.setEvaluationPolicy(evaluationPolicy); 165 _object.setExpression(expression); 166 _object.setLanguage(language); 167 _object.setName(name); 168 _object.setQualifiedName(qualifiedName); 169 return _object; 170 } 171 172 public Constraint extendImporter( 176 org.opencrx.kernel.base.cci.Importer _base 177 , short accessLevelBrowse 178 , short accessLevelDelete 179 , short accessLevelUpdate 180 , boolean disabled 181 , short evaluationPolicy 182 , String expression 183 , String language 184 , String name 185 , String qualifiedName 186 ) { 187 ConstraintImpl _object = (ConstraintImpl)getConstraint(_base); 188 _object.setAccessLevelBrowse(accessLevelBrowse); 189 _object.setAccessLevelDelete(accessLevelDelete); 190 _object.setAccessLevelUpdate(accessLevelUpdate); 191 _object.setDisabled(disabled); 192 _object.setEvaluationPolicy(evaluationPolicy); 193 _object.setExpression(expression); 194 _object.setLanguage(language); 195 _object.setName(name); 196 _object.setQualifiedName(qualifiedName); 197 return _object; 198 } 199 200 public Constraint extendSecureObject( 204 org.opencrx.kernel.base.cci.SecureObject _base 205 , boolean disabled 206 , short evaluationPolicy 207 , String expression 208 , String language 209 , String name 210 , String qualifiedName 211 ) { 212 ConstraintImpl _object = (ConstraintImpl)getConstraint(_base); 213 _object.setDisabled(disabled); 214 _object.setEvaluationPolicy(evaluationPolicy); 215 _object.setExpression(expression); 216 _object.setLanguage(language); 217 _object.setName(name); 218 _object.setQualifiedName(qualifiedName); 219 return _object; 220 } 221 222 public Constraint extendSubscriptionTarget( 226 org.opencrx.kernel.base.cci.SubscriptionTarget _base 227 , short accessLevelBrowse 228 , short accessLevelDelete 229 , short accessLevelUpdate 230 , boolean disabled 231 , short evaluationPolicy 232 , String expression 233 , String language 234 , String name 235 , String qualifiedName 236 ) { 237 ConstraintImpl _object = (ConstraintImpl)getConstraint(_base); 238 _object.setAccessLevelBrowse(accessLevelBrowse); 239 _object.setAccessLevelDelete(accessLevelDelete); 240 _object.setAccessLevelUpdate(accessLevelUpdate); 241 _object.setDisabled(disabled); 242 _object.setEvaluationPolicy(evaluationPolicy); 243 _object.setExpression(expression); 244 _object.setLanguage(language); 245 _object.setName(name); 246 _object.setQualifiedName(qualifiedName); 247 return _object; 248 } 249 250 public Constraint extendXmlExporter( 254 org.opencrx.kernel.base.cci.XmlExporter _base 255 , short accessLevelBrowse 256 , short accessLevelDelete 257 , short accessLevelUpdate 258 , boolean disabled 259 , short evaluationPolicy 260 , String expression 261 , String language 262 , String name 263 , String qualifiedName 264 ) { 265 ConstraintImpl _object = (ConstraintImpl)getConstraint(_base); 266 _object.setAccessLevelBrowse(accessLevelBrowse); 267 _object.setAccessLevelDelete(accessLevelDelete); 268 _object.setAccessLevelUpdate(accessLevelUpdate); 269 _object.setDisabled(disabled); 270 _object.setEvaluationPolicy(evaluationPolicy); 271 _object.setExpression(expression); 272 _object.setLanguage(language); 273 _object.setName(name); 274 _object.setQualifiedName(qualifiedName); 275 return _object; 276 } 277 278 public Constraint extendCrxObject( 282 org.opencrx.kernel.generic.cci.CrxObject _base 283 , short evaluationPolicy 284 , String expression 285 , String language 286 , String name 287 , String qualifiedName 288 ) { 289 ConstraintImpl _object = (ConstraintImpl)getConstraint(_base); 290 _object.setEvaluationPolicy(evaluationPolicy); 291 _object.setExpression(expression); 292 _object.setLanguage(language); 293 _object.setName(name); 294 _object.setQualifiedName(qualifiedName); 295 return _object; 296 } 297 298 public Constraint extendElement( 302 org.opencrx.kernel.model1.cci.Element _base 303 , short evaluationPolicy 304 , String expression 305 , String language 306 ) { 307 ConstraintImpl _object = (ConstraintImpl)getConstraint(_base); 308 _object.setEvaluationPolicy(evaluationPolicy); 309 _object.setExpression(expression); 310 _object.setLanguage(language); 311 return _object; 312 } 313 314 public Constraint extendBasicObject( 318 org.openmdx.base.cci.BasicObject _base 319 , short accessLevelBrowse 320 , short accessLevelDelete 321 , short accessLevelUpdate 322 , boolean disabled 323 , short evaluationPolicy 324 , String expression 325 , String language 326 , String name 327 , String qualifiedName 328 ) { 329 ConstraintImpl _object = (ConstraintImpl)getConstraint(_base); 330 _object.setAccessLevelBrowse(accessLevelBrowse); 331 _object.setAccessLevelDelete(accessLevelDelete); 332 _object.setAccessLevelUpdate(accessLevelUpdate); 333 _object.setDisabled(disabled); 334 _object.setEvaluationPolicy(evaluationPolicy); 335 _object.setExpression(expression); 336 _object.setLanguage(language); 337 _object.setName(name); 338 _object.setQualifiedName(qualifiedName); 339 return _object; 340 } 341 342 public Constraint extendContextCapable( 346 org.openmdx.base.cci.ContextCapable _base 347 , short accessLevelBrowse 348 , short accessLevelDelete 349 , short accessLevelUpdate 350 , boolean disabled 351 , short evaluationPolicy 352 , String expression 353 , String language 354 , String name 355 , String qualifiedName 356 ) { 357 ConstraintImpl _object = (ConstraintImpl)getConstraint(_base); 358 _object.setAccessLevelBrowse(accessLevelBrowse); 359 _object.setAccessLevelDelete(accessLevelDelete); 360 _object.setAccessLevelUpdate(accessLevelUpdate); 361 _object.setDisabled(disabled); 362 _object.setEvaluationPolicy(evaluationPolicy); 363 _object.setExpression(expression); 364 _object.setLanguage(language); 365 _object.setName(name); 366 _object.setQualifiedName(qualifiedName); 367 return _object; 368 } 369 370 public Constraint extendExtentCapable( 374 org.openmdx.base.cci.ExtentCapable _base 375 , short accessLevelBrowse 376 , short accessLevelDelete 377 , short accessLevelUpdate 378 , boolean disabled 379 , short evaluationPolicy 380 , String expression 381 , String language 382 , String name 383 , String qualifiedName 384 ) { 385 ConstraintImpl _object = (ConstraintImpl)getConstraint(_base); 386 _object.setAccessLevelBrowse(accessLevelBrowse); 387 _object.setAccessLevelDelete(accessLevelDelete); 388 _object.setAccessLevelUpdate(accessLevelUpdate); 389 _object.setDisabled(disabled); 390 _object.setEvaluationPolicy(evaluationPolicy); 391 _object.setExpression(expression); 392 _object.setLanguage(language); 393 _object.setName(name); 394 _object.setQualifiedName(qualifiedName); 395 return _object; 396 } 397 398 public Constraint extendViewCapable( 402 org.openmdx.compatibility.view1.cci.ViewCapable _base 403 , short accessLevelBrowse 404 , short accessLevelDelete 405 , short accessLevelUpdate 406 , boolean disabled 407 , short evaluationPolicy 408 , String expression 409 , String language 410 , String name 411 , String qualifiedName 412 ) { 413 ConstraintImpl _object = (ConstraintImpl)getConstraint(_base); 414 _object.setAccessLevelBrowse(accessLevelBrowse); 415 _object.setAccessLevelDelete(accessLevelDelete); 416 _object.setAccessLevelUpdate(accessLevelUpdate); 417 _object.setDisabled(disabled); 418 _object.setEvaluationPolicy(evaluationPolicy); 419 _object.setExpression(expression); 420 _object.setLanguage(language); 421 _object.setName(name); 422 _object.setQualifiedName(qualifiedName); 423 return _object; 424 } 425 426 } 430 | Popular Tags |