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