1 package org.opencrx.kernel.reservation1.cci; 14 15 public class SlotClassImpl 16 extends org.openmdx.base.accessor.jmi.spi.RefClass_1 17 implements SlotClass { 18 19 public SlotClassImpl( 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:reservation1:Slot"; 28 } 29 30 public Slot getSlot( 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 Slot target = (Slot)refCreateInstance( 38 args 39 ); 40 return target; 41 } else { 42 return (Slot)((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 Slot createSlot( 55 ) { 56 Slot target = (Slot)refCreateInstance( 57 null 58 ); 59 return target; 60 } 61 public Slot createSlot( 65 short accessLevelBrowse 66 , short accessLevelDelete 67 , short accessLevelUpdate 68 , boolean disabled 69 , String name 70 ) { 71 SlotImpl _object = (SlotImpl)createSlot(); 72 _object.setAccessLevelBrowse(accessLevelBrowse); 73 _object.setAccessLevelDelete(accessLevelDelete); 74 _object.setAccessLevelUpdate(accessLevelUpdate); 75 _object.setDisabled(disabled); 76 _object.setName(name); 77 return _object; 78 } 79 80 public Slot extendAuditee( 84 org.opencrx.kernel.base.cci.Auditee _base 85 , short accessLevelBrowse 86 , short accessLevelDelete 87 , short accessLevelUpdate 88 , boolean disabled 89 , String name 90 ) { 91 SlotImpl _object = (SlotImpl)getSlot(_base); 92 _object.setAccessLevelBrowse(accessLevelBrowse); 93 _object.setAccessLevelDelete(accessLevelDelete); 94 _object.setAccessLevelUpdate(accessLevelUpdate); 95 _object.setDisabled(disabled); 96 _object.setName(name); 97 return _object; 98 } 99 100 public Slot extendBookmarkable( 104 org.opencrx.kernel.base.cci.Bookmarkable _base 105 , short accessLevelBrowse 106 , short accessLevelDelete 107 , short accessLevelUpdate 108 , boolean disabled 109 , String name 110 ) { 111 SlotImpl _object = (SlotImpl)getSlot(_base); 112 _object.setAccessLevelBrowse(accessLevelBrowse); 113 _object.setAccessLevelDelete(accessLevelDelete); 114 _object.setAccessLevelUpdate(accessLevelUpdate); 115 _object.setDisabled(disabled); 116 _object.setName(name); 117 return _object; 118 } 119 120 public Slot extendCloneable( 124 org.opencrx.kernel.base.cci.Cloneable _base 125 , short accessLevelBrowse 126 , short accessLevelDelete 127 , short accessLevelUpdate 128 , boolean disabled 129 , String name 130 ) { 131 SlotImpl _object = (SlotImpl)getSlot(_base); 132 _object.setAccessLevelBrowse(accessLevelBrowse); 133 _object.setAccessLevelDelete(accessLevelDelete); 134 _object.setAccessLevelUpdate(accessLevelUpdate); 135 _object.setDisabled(disabled); 136 _object.setName(name); 137 return _object; 138 } 139 140 public Slot extendImporter( 144 org.opencrx.kernel.base.cci.Importer _base 145 , short accessLevelBrowse 146 , short accessLevelDelete 147 , short accessLevelUpdate 148 , boolean disabled 149 , String name 150 ) { 151 SlotImpl _object = (SlotImpl)getSlot(_base); 152 _object.setAccessLevelBrowse(accessLevelBrowse); 153 _object.setAccessLevelDelete(accessLevelDelete); 154 _object.setAccessLevelUpdate(accessLevelUpdate); 155 _object.setDisabled(disabled); 156 _object.setName(name); 157 return _object; 158 } 159 160 public Slot extendSecureObject( 164 org.opencrx.kernel.base.cci.SecureObject _base 165 , boolean disabled 166 , String name 167 ) { 168 SlotImpl _object = (SlotImpl)getSlot(_base); 169 _object.setDisabled(disabled); 170 _object.setName(name); 171 return _object; 172 } 173 174 public Slot extendSubscriptionTarget( 178 org.opencrx.kernel.base.cci.SubscriptionTarget _base 179 , short accessLevelBrowse 180 , short accessLevelDelete 181 , short accessLevelUpdate 182 , boolean disabled 183 , String name 184 ) { 185 SlotImpl _object = (SlotImpl)getSlot(_base); 186 _object.setAccessLevelBrowse(accessLevelBrowse); 187 _object.setAccessLevelDelete(accessLevelDelete); 188 _object.setAccessLevelUpdate(accessLevelUpdate); 189 _object.setDisabled(disabled); 190 _object.setName(name); 191 return _object; 192 } 193 194 public Slot extendXmlExporter( 198 org.opencrx.kernel.base.cci.XmlExporter _base 199 , short accessLevelBrowse 200 , short accessLevelDelete 201 , short accessLevelUpdate 202 , boolean disabled 203 , String name 204 ) { 205 SlotImpl _object = (SlotImpl)getSlot(_base); 206 _object.setAccessLevelBrowse(accessLevelBrowse); 207 _object.setAccessLevelDelete(accessLevelDelete); 208 _object.setAccessLevelUpdate(accessLevelUpdate); 209 _object.setDisabled(disabled); 210 _object.setName(name); 211 return _object; 212 } 213 214 public Slot extendCrxObject( 218 org.opencrx.kernel.generic.cci.CrxObject _base 219 , String name 220 ) { 221 SlotImpl _object = (SlotImpl)getSlot(_base); 222 _object.setName(name); 223 return _object; 224 } 225 226 public Slot extendDescriptionContainer( 230 org.opencrx.kernel.generic.cci.DescriptionContainer _base 231 , short accessLevelBrowse 232 , short accessLevelDelete 233 , short accessLevelUpdate 234 , boolean disabled 235 , String name 236 ) { 237 SlotImpl _object = (SlotImpl)getSlot(_base); 238 _object.setAccessLevelBrowse(accessLevelBrowse); 239 _object.setAccessLevelDelete(accessLevelDelete); 240 _object.setAccessLevelUpdate(accessLevelUpdate); 241 _object.setDisabled(disabled); 242 _object.setName(name); 243 return _object; 244 } 245 246 public Slot extendBasicObject( 250 org.openmdx.base.cci.BasicObject _base 251 , short accessLevelBrowse 252 , short accessLevelDelete 253 , short accessLevelUpdate 254 , boolean disabled 255 , String name 256 ) { 257 SlotImpl _object = (SlotImpl)getSlot(_base); 258 _object.setAccessLevelBrowse(accessLevelBrowse); 259 _object.setAccessLevelDelete(accessLevelDelete); 260 _object.setAccessLevelUpdate(accessLevelUpdate); 261 _object.setDisabled(disabled); 262 _object.setName(name); 263 return _object; 264 } 265 266 public Slot extendContextCapable( 270 org.openmdx.base.cci.ContextCapable _base 271 , short accessLevelBrowse 272 , short accessLevelDelete 273 , short accessLevelUpdate 274 , boolean disabled 275 , String name 276 ) { 277 SlotImpl _object = (SlotImpl)getSlot(_base); 278 _object.setAccessLevelBrowse(accessLevelBrowse); 279 _object.setAccessLevelDelete(accessLevelDelete); 280 _object.setAccessLevelUpdate(accessLevelUpdate); 281 _object.setDisabled(disabled); 282 _object.setName(name); 283 return _object; 284 } 285 286 public Slot extendExtentCapable( 290 org.openmdx.base.cci.ExtentCapable _base 291 , short accessLevelBrowse 292 , short accessLevelDelete 293 , short accessLevelUpdate 294 , boolean disabled 295 , String name 296 ) { 297 SlotImpl _object = (SlotImpl)getSlot(_base); 298 _object.setAccessLevelBrowse(accessLevelBrowse); 299 _object.setAccessLevelDelete(accessLevelDelete); 300 _object.setAccessLevelUpdate(accessLevelUpdate); 301 _object.setDisabled(disabled); 302 _object.setName(name); 303 return _object; 304 } 305 306 public Slot extendViewCapable( 310 org.openmdx.compatibility.view1.cci.ViewCapable _base 311 , short accessLevelBrowse 312 , short accessLevelDelete 313 , short accessLevelUpdate 314 , boolean disabled 315 , String name 316 ) { 317 SlotImpl _object = (SlotImpl)getSlot(_base); 318 _object.setAccessLevelBrowse(accessLevelBrowse); 319 _object.setAccessLevelDelete(accessLevelDelete); 320 _object.setAccessLevelUpdate(accessLevelUpdate); 321 _object.setDisabled(disabled); 322 _object.setName(name); 323 return _object; 324 } 325 326 } 330 | Popular Tags |