1 package org.opencrx.kernel.depot1.cci; 14 15 public class DepotContractClassImpl 16 extends org.openmdx.base.accessor.jmi.spi.RefClass_1 17 implements DepotContractClass { 18 19 public DepotContractClassImpl( 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:DepotContract"; 28 } 29 30 public DepotContract getDepotContract( 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 DepotContract target = (DepotContract)refCreateInstance( 38 args 39 ); 40 return target; 41 } else { 42 return (DepotContract)((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 DepotContract createDepotContract( 55 ) { 56 DepotContract target = (DepotContract)refCreateInstance( 57 null 58 ); 59 return target; 60 } 61 public DepotContract createDepotContract( 65 short accessLevelBrowse 66 , short accessLevelDelete 67 , short accessLevelUpdate 68 , String templateReferenceFilter 69 , String depotHolderNumber 70 , String name 71 , boolean disabled 72 ) { 73 DepotContractImpl _object = (DepotContractImpl)createDepotContract(); 74 _object.setAccessLevelBrowse(accessLevelBrowse); 75 _object.setAccessLevelDelete(accessLevelDelete); 76 _object.setAccessLevelUpdate(accessLevelUpdate); 77 _object.setTemplateReferenceFilter(templateReferenceFilter); 78 _object.setDepotHolderNumber(depotHolderNumber); 79 _object.setName(name); 80 _object.setDisabled(disabled); 81 return _object; 82 } 83 84 public DepotContract extendAuditee( 88 org.opencrx.kernel.base.cci.Auditee _base 89 , short accessLevelBrowse 90 , short accessLevelDelete 91 , short accessLevelUpdate 92 , String templateReferenceFilter 93 , String depotHolderNumber 94 , String name 95 , boolean disabled 96 ) { 97 DepotContractImpl _object = (DepotContractImpl)getDepotContract(_base); 98 _object.setAccessLevelBrowse(accessLevelBrowse); 99 _object.setAccessLevelDelete(accessLevelDelete); 100 _object.setAccessLevelUpdate(accessLevelUpdate); 101 _object.setTemplateReferenceFilter(templateReferenceFilter); 102 _object.setDepotHolderNumber(depotHolderNumber); 103 _object.setName(name); 104 _object.setDisabled(disabled); 105 return _object; 106 } 107 108 public DepotContract extendBookmarkable( 112 org.opencrx.kernel.base.cci.Bookmarkable _base 113 , short accessLevelBrowse 114 , short accessLevelDelete 115 , short accessLevelUpdate 116 , String templateReferenceFilter 117 , String depotHolderNumber 118 , String name 119 , boolean disabled 120 ) { 121 DepotContractImpl _object = (DepotContractImpl)getDepotContract(_base); 122 _object.setAccessLevelBrowse(accessLevelBrowse); 123 _object.setAccessLevelDelete(accessLevelDelete); 124 _object.setAccessLevelUpdate(accessLevelUpdate); 125 _object.setTemplateReferenceFilter(templateReferenceFilter); 126 _object.setDepotHolderNumber(depotHolderNumber); 127 _object.setName(name); 128 _object.setDisabled(disabled); 129 return _object; 130 } 131 132 public DepotContract extendCloneable( 136 org.opencrx.kernel.base.cci.Cloneable _base 137 , short accessLevelBrowse 138 , short accessLevelDelete 139 , short accessLevelUpdate 140 , String templateReferenceFilter 141 , String depotHolderNumber 142 , String name 143 , boolean disabled 144 ) { 145 DepotContractImpl _object = (DepotContractImpl)getDepotContract(_base); 146 _object.setAccessLevelBrowse(accessLevelBrowse); 147 _object.setAccessLevelDelete(accessLevelDelete); 148 _object.setAccessLevelUpdate(accessLevelUpdate); 149 _object.setTemplateReferenceFilter(templateReferenceFilter); 150 _object.setDepotHolderNumber(depotHolderNumber); 151 _object.setName(name); 152 _object.setDisabled(disabled); 153 return _object; 154 } 155 156 public DepotContract extendImporter( 160 org.opencrx.kernel.base.cci.Importer _base 161 , short accessLevelBrowse 162 , short accessLevelDelete 163 , short accessLevelUpdate 164 , String templateReferenceFilter 165 , String depotHolderNumber 166 , String name 167 , boolean disabled 168 ) { 169 DepotContractImpl _object = (DepotContractImpl)getDepotContract(_base); 170 _object.setAccessLevelBrowse(accessLevelBrowse); 171 _object.setAccessLevelDelete(accessLevelDelete); 172 _object.setAccessLevelUpdate(accessLevelUpdate); 173 _object.setTemplateReferenceFilter(templateReferenceFilter); 174 _object.setDepotHolderNumber(depotHolderNumber); 175 _object.setName(name); 176 _object.setDisabled(disabled); 177 return _object; 178 } 179 180 public DepotContract extendSecureObject( 184 org.opencrx.kernel.base.cci.SecureObject _base 185 , String templateReferenceFilter 186 , String depotHolderNumber 187 , String name 188 , boolean disabled 189 ) { 190 DepotContractImpl _object = (DepotContractImpl)getDepotContract(_base); 191 _object.setTemplateReferenceFilter(templateReferenceFilter); 192 _object.setDepotHolderNumber(depotHolderNumber); 193 _object.setName(name); 194 _object.setDisabled(disabled); 195 return _object; 196 } 197 198 public DepotContract extendSubscriptionTarget( 202 org.opencrx.kernel.base.cci.SubscriptionTarget _base 203 , short accessLevelBrowse 204 , short accessLevelDelete 205 , short accessLevelUpdate 206 , String templateReferenceFilter 207 , String depotHolderNumber 208 , String name 209 , boolean disabled 210 ) { 211 DepotContractImpl _object = (DepotContractImpl)getDepotContract(_base); 212 _object.setAccessLevelBrowse(accessLevelBrowse); 213 _object.setAccessLevelDelete(accessLevelDelete); 214 _object.setAccessLevelUpdate(accessLevelUpdate); 215 _object.setTemplateReferenceFilter(templateReferenceFilter); 216 _object.setDepotHolderNumber(depotHolderNumber); 217 _object.setName(name); 218 _object.setDisabled(disabled); 219 return _object; 220 } 221 222 public DepotContract extendTemplateEnabled( 226 org.opencrx.kernel.base.cci.TemplateEnabled _base 227 , short accessLevelBrowse 228 , short accessLevelDelete 229 , short accessLevelUpdate 230 , String depotHolderNumber 231 , String name 232 , boolean disabled 233 ) { 234 DepotContractImpl _object = (DepotContractImpl)getDepotContract(_base); 235 _object.setAccessLevelBrowse(accessLevelBrowse); 236 _object.setAccessLevelDelete(accessLevelDelete); 237 _object.setAccessLevelUpdate(accessLevelUpdate); 238 _object.setDepotHolderNumber(depotHolderNumber); 239 _object.setName(name); 240 _object.setDisabled(disabled); 241 return _object; 242 } 243 244 public DepotContract extendXmlExporter( 248 org.opencrx.kernel.base.cci.XmlExporter _base 249 , short accessLevelBrowse 250 , short accessLevelDelete 251 , short accessLevelUpdate 252 , String templateReferenceFilter 253 , String depotHolderNumber 254 , String name 255 , boolean disabled 256 ) { 257 DepotContractImpl _object = (DepotContractImpl)getDepotContract(_base); 258 _object.setAccessLevelBrowse(accessLevelBrowse); 259 _object.setAccessLevelDelete(accessLevelDelete); 260 _object.setAccessLevelUpdate(accessLevelUpdate); 261 _object.setTemplateReferenceFilter(templateReferenceFilter); 262 _object.setDepotHolderNumber(depotHolderNumber); 263 _object.setName(name); 264 _object.setDisabled(disabled); 265 return _object; 266 } 267 268 public DepotContract extendContractReferenceHolder( 272 org.opencrx.kernel.contract1.cci.ContractReferenceHolder _base 273 , short accessLevelBrowse 274 , short accessLevelDelete 275 , short accessLevelUpdate 276 , String templateReferenceFilter 277 , String depotHolderNumber 278 , String name 279 , boolean disabled 280 ) { 281 DepotContractImpl _object = (DepotContractImpl)getDepotContract(_base); 282 _object.setAccessLevelBrowse(accessLevelBrowse); 283 _object.setAccessLevelDelete(accessLevelDelete); 284 _object.setAccessLevelUpdate(accessLevelUpdate); 285 _object.setTemplateReferenceFilter(templateReferenceFilter); 286 _object.setDepotHolderNumber(depotHolderNumber); 287 _object.setName(name); 288 _object.setDisabled(disabled); 289 return _object; 290 } 291 292 public DepotContract extendCrxObject( 296 org.opencrx.kernel.generic.cci.CrxObject _base 297 , String templateReferenceFilter 298 , String depotHolderNumber 299 , String name 300 ) { 301 DepotContractImpl _object = (DepotContractImpl)getDepotContract(_base); 302 _object.setTemplateReferenceFilter(templateReferenceFilter); 303 _object.setDepotHolderNumber(depotHolderNumber); 304 _object.setName(name); 305 return _object; 306 } 307 308 public DepotContract extendBasicObject( 312 org.openmdx.base.cci.BasicObject _base 313 , short accessLevelBrowse 314 , short accessLevelDelete 315 , short accessLevelUpdate 316 , String templateReferenceFilter 317 , String depotHolderNumber 318 , String name 319 , boolean disabled 320 ) { 321 DepotContractImpl _object = (DepotContractImpl)getDepotContract(_base); 322 _object.setAccessLevelBrowse(accessLevelBrowse); 323 _object.setAccessLevelDelete(accessLevelDelete); 324 _object.setAccessLevelUpdate(accessLevelUpdate); 325 _object.setTemplateReferenceFilter(templateReferenceFilter); 326 _object.setDepotHolderNumber(depotHolderNumber); 327 _object.setName(name); 328 _object.setDisabled(disabled); 329 return _object; 330 } 331 332 public DepotContract extendContextCapable( 336 org.openmdx.base.cci.ContextCapable _base 337 , short accessLevelBrowse 338 , short accessLevelDelete 339 , short accessLevelUpdate 340 , String templateReferenceFilter 341 , String depotHolderNumber 342 , String name 343 , boolean disabled 344 ) { 345 DepotContractImpl _object = (DepotContractImpl)getDepotContract(_base); 346 _object.setAccessLevelBrowse(accessLevelBrowse); 347 _object.setAccessLevelDelete(accessLevelDelete); 348 _object.setAccessLevelUpdate(accessLevelUpdate); 349 _object.setTemplateReferenceFilter(templateReferenceFilter); 350 _object.setDepotHolderNumber(depotHolderNumber); 351 _object.setName(name); 352 _object.setDisabled(disabled); 353 return _object; 354 } 355 356 public DepotContract extendExtentCapable( 360 org.openmdx.base.cci.ExtentCapable _base 361 , short accessLevelBrowse 362 , short accessLevelDelete 363 , short accessLevelUpdate 364 , String templateReferenceFilter 365 , String depotHolderNumber 366 , String name 367 , boolean disabled 368 ) { 369 DepotContractImpl _object = (DepotContractImpl)getDepotContract(_base); 370 _object.setAccessLevelBrowse(accessLevelBrowse); 371 _object.setAccessLevelDelete(accessLevelDelete); 372 _object.setAccessLevelUpdate(accessLevelUpdate); 373 _object.setTemplateReferenceFilter(templateReferenceFilter); 374 _object.setDepotHolderNumber(depotHolderNumber); 375 _object.setName(name); 376 _object.setDisabled(disabled); 377 return _object; 378 } 379 380 public DepotContract extendViewCapable( 384 org.openmdx.compatibility.view1.cci.ViewCapable _base 385 , short accessLevelBrowse 386 , short accessLevelDelete 387 , short accessLevelUpdate 388 , String templateReferenceFilter 389 , String depotHolderNumber 390 , String name 391 , boolean disabled 392 ) { 393 DepotContractImpl _object = (DepotContractImpl)getDepotContract(_base); 394 _object.setAccessLevelBrowse(accessLevelBrowse); 395 _object.setAccessLevelDelete(accessLevelDelete); 396 _object.setAccessLevelUpdate(accessLevelUpdate); 397 _object.setTemplateReferenceFilter(templateReferenceFilter); 398 _object.setDepotHolderNumber(depotHolderNumber); 399 _object.setName(name); 400 _object.setDisabled(disabled); 401 return _object; 402 } 403 404 } 408 | Popular Tags |