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