1 package org.opencrx.kernel.depot1.cci; 14 15 public class DepotPositionClassImpl 16 extends org.openmdx.base.accessor.jmi.spi.RefClass_1 17 implements DepotPositionClass { 18 19 public DepotPositionClassImpl( 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:DepotPosition"; 28 } 29 30 public DepotPosition getDepotPosition( 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 DepotPosition target = (DepotPosition)refCreateInstance( 38 args 39 ); 40 return target; 41 } else { 42 return (DepotPosition)((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 DepotPosition createDepotPosition( 55 ) { 56 DepotPosition target = (DepotPosition)refCreateInstance( 57 null 58 ); 59 return target; 60 } 61 public DepotPosition createDepotPosition( 65 short accessLevelBrowse 66 , short accessLevelDelete 67 , short accessLevelUpdate 68 , boolean isLocked 69 , String name 70 , java.util.Date openingDate 71 , boolean disabled 72 ) { 73 DepotPositionImpl _object = (DepotPositionImpl)createDepotPosition(); 74 _object.setAccessLevelBrowse(accessLevelBrowse); 75 _object.setAccessLevelDelete(accessLevelDelete); 76 _object.setAccessLevelUpdate(accessLevelUpdate); 77 _object.setLocked(isLocked); 78 _object.setName(name); 79 _object.setOpeningDate(openingDate); 80 _object.setDisabled(disabled); 81 return _object; 82 } 83 84 public DepotPosition extendAuditee( 88 org.opencrx.kernel.base.cci.Auditee _base 89 , short accessLevelBrowse 90 , short accessLevelDelete 91 , short accessLevelUpdate 92 , boolean isLocked 93 , String name 94 , java.util.Date openingDate 95 , boolean disabled 96 ) { 97 DepotPositionImpl _object = (DepotPositionImpl)getDepotPosition(_base); 98 _object.setAccessLevelBrowse(accessLevelBrowse); 99 _object.setAccessLevelDelete(accessLevelDelete); 100 _object.setAccessLevelUpdate(accessLevelUpdate); 101 _object.setLocked(isLocked); 102 _object.setName(name); 103 _object.setOpeningDate(openingDate); 104 _object.setDisabled(disabled); 105 return _object; 106 } 107 108 public DepotPosition extendBookmarkable( 112 org.opencrx.kernel.base.cci.Bookmarkable _base 113 , short accessLevelBrowse 114 , short accessLevelDelete 115 , short accessLevelUpdate 116 , boolean isLocked 117 , String name 118 , java.util.Date openingDate 119 , boolean disabled 120 ) { 121 DepotPositionImpl _object = (DepotPositionImpl)getDepotPosition(_base); 122 _object.setAccessLevelBrowse(accessLevelBrowse); 123 _object.setAccessLevelDelete(accessLevelDelete); 124 _object.setAccessLevelUpdate(accessLevelUpdate); 125 _object.setLocked(isLocked); 126 _object.setName(name); 127 _object.setOpeningDate(openingDate); 128 _object.setDisabled(disabled); 129 return _object; 130 } 131 132 public DepotPosition extendCloneable( 136 org.opencrx.kernel.base.cci.Cloneable _base 137 , short accessLevelBrowse 138 , short accessLevelDelete 139 , short accessLevelUpdate 140 , boolean isLocked 141 , String name 142 , java.util.Date openingDate 143 , boolean disabled 144 ) { 145 DepotPositionImpl _object = (DepotPositionImpl)getDepotPosition(_base); 146 _object.setAccessLevelBrowse(accessLevelBrowse); 147 _object.setAccessLevelDelete(accessLevelDelete); 148 _object.setAccessLevelUpdate(accessLevelUpdate); 149 _object.setLocked(isLocked); 150 _object.setName(name); 151 _object.setOpeningDate(openingDate); 152 _object.setDisabled(disabled); 153 return _object; 154 } 155 156 public DepotPosition extendImporter( 160 org.opencrx.kernel.base.cci.Importer _base 161 , short accessLevelBrowse 162 , short accessLevelDelete 163 , short accessLevelUpdate 164 , boolean isLocked 165 , String name 166 , java.util.Date openingDate 167 , boolean disabled 168 ) { 169 DepotPositionImpl _object = (DepotPositionImpl)getDepotPosition(_base); 170 _object.setAccessLevelBrowse(accessLevelBrowse); 171 _object.setAccessLevelDelete(accessLevelDelete); 172 _object.setAccessLevelUpdate(accessLevelUpdate); 173 _object.setLocked(isLocked); 174 _object.setName(name); 175 _object.setOpeningDate(openingDate); 176 _object.setDisabled(disabled); 177 return _object; 178 } 179 180 public DepotPosition extendSecureObject( 184 org.opencrx.kernel.base.cci.SecureObject _base 185 , boolean isLocked 186 , String name 187 , java.util.Date openingDate 188 , boolean disabled 189 ) { 190 DepotPositionImpl _object = (DepotPositionImpl)getDepotPosition(_base); 191 _object.setLocked(isLocked); 192 _object.setName(name); 193 _object.setOpeningDate(openingDate); 194 _object.setDisabled(disabled); 195 return _object; 196 } 197 198 public DepotPosition extendSubscriptionTarget( 202 org.opencrx.kernel.base.cci.SubscriptionTarget _base 203 , short accessLevelBrowse 204 , short accessLevelDelete 205 , short accessLevelUpdate 206 , boolean isLocked 207 , String name 208 , java.util.Date openingDate 209 , boolean disabled 210 ) { 211 DepotPositionImpl _object = (DepotPositionImpl)getDepotPosition(_base); 212 _object.setAccessLevelBrowse(accessLevelBrowse); 213 _object.setAccessLevelDelete(accessLevelDelete); 214 _object.setAccessLevelUpdate(accessLevelUpdate); 215 _object.setLocked(isLocked); 216 _object.setName(name); 217 _object.setOpeningDate(openingDate); 218 _object.setDisabled(disabled); 219 return _object; 220 } 221 222 public DepotPosition extendXmlExporter( 226 org.opencrx.kernel.base.cci.XmlExporter _base 227 , short accessLevelBrowse 228 , short accessLevelDelete 229 , short accessLevelUpdate 230 , boolean isLocked 231 , String name 232 , java.util.Date openingDate 233 , boolean disabled 234 ) { 235 DepotPositionImpl _object = (DepotPositionImpl)getDepotPosition(_base); 236 _object.setAccessLevelBrowse(accessLevelBrowse); 237 _object.setAccessLevelDelete(accessLevelDelete); 238 _object.setAccessLevelUpdate(accessLevelUpdate); 239 _object.setLocked(isLocked); 240 _object.setName(name); 241 _object.setOpeningDate(openingDate); 242 _object.setDisabled(disabled); 243 return _object; 244 } 245 246 public DepotPosition extendCrxObject( 250 org.opencrx.kernel.generic.cci.CrxObject _base 251 , boolean isLocked 252 , String name 253 , java.util.Date openingDate 254 ) { 255 DepotPositionImpl _object = (DepotPositionImpl)getDepotPosition(_base); 256 _object.setLocked(isLocked); 257 _object.setName(name); 258 _object.setOpeningDate(openingDate); 259 return _object; 260 } 261 262 public DepotPosition extendBasicObject( 266 org.openmdx.base.cci.BasicObject _base 267 , short accessLevelBrowse 268 , short accessLevelDelete 269 , short accessLevelUpdate 270 , boolean isLocked 271 , String name 272 , java.util.Date openingDate 273 , boolean disabled 274 ) { 275 DepotPositionImpl _object = (DepotPositionImpl)getDepotPosition(_base); 276 _object.setAccessLevelBrowse(accessLevelBrowse); 277 _object.setAccessLevelDelete(accessLevelDelete); 278 _object.setAccessLevelUpdate(accessLevelUpdate); 279 _object.setLocked(isLocked); 280 _object.setName(name); 281 _object.setOpeningDate(openingDate); 282 _object.setDisabled(disabled); 283 return _object; 284 } 285 286 public DepotPosition extendContextCapable( 290 org.openmdx.base.cci.ContextCapable _base 291 , short accessLevelBrowse 292 , short accessLevelDelete 293 , short accessLevelUpdate 294 , boolean isLocked 295 , String name 296 , java.util.Date openingDate 297 , boolean disabled 298 ) { 299 DepotPositionImpl _object = (DepotPositionImpl)getDepotPosition(_base); 300 _object.setAccessLevelBrowse(accessLevelBrowse); 301 _object.setAccessLevelDelete(accessLevelDelete); 302 _object.setAccessLevelUpdate(accessLevelUpdate); 303 _object.setLocked(isLocked); 304 _object.setName(name); 305 _object.setOpeningDate(openingDate); 306 _object.setDisabled(disabled); 307 return _object; 308 } 309 310 public DepotPosition extendExtentCapable( 314 org.openmdx.base.cci.ExtentCapable _base 315 , short accessLevelBrowse 316 , short accessLevelDelete 317 , short accessLevelUpdate 318 , boolean isLocked 319 , String name 320 , java.util.Date openingDate 321 , boolean disabled 322 ) { 323 DepotPositionImpl _object = (DepotPositionImpl)getDepotPosition(_base); 324 _object.setAccessLevelBrowse(accessLevelBrowse); 325 _object.setAccessLevelDelete(accessLevelDelete); 326 _object.setAccessLevelUpdate(accessLevelUpdate); 327 _object.setLocked(isLocked); 328 _object.setName(name); 329 _object.setOpeningDate(openingDate); 330 _object.setDisabled(disabled); 331 return _object; 332 } 333 334 public DepotPosition extendViewCapable( 338 org.openmdx.compatibility.view1.cci.ViewCapable _base 339 , short accessLevelBrowse 340 , short accessLevelDelete 341 , short accessLevelUpdate 342 , boolean isLocked 343 , String name 344 , java.util.Date openingDate 345 , boolean disabled 346 ) { 347 DepotPositionImpl _object = (DepotPositionImpl)getDepotPosition(_base); 348 _object.setAccessLevelBrowse(accessLevelBrowse); 349 _object.setAccessLevelDelete(accessLevelDelete); 350 _object.setAccessLevelUpdate(accessLevelUpdate); 351 _object.setLocked(isLocked); 352 _object.setName(name); 353 _object.setOpeningDate(openingDate); 354 _object.setDisabled(disabled); 355 return _object; 356 } 357 358 } 362 | Popular Tags |