View Javadoc
1 package com.bonevich.erj.mof.impl.model; 2 import java.lang.reflect.Method; 3 import java.util.*; 4 5 public class ErjRelationImpl extends com.bonevich.erj.mof.impl.model.ErjModelElementImpl implements com.bonevich.erj.mof.interfaces.model.Relation 6 { 7 public ErjRelationImpl(ru.novosoft.mdf.impl.MDFOutermostPackageImpl r) 8 { 9 super(r); 10 } 11 protected void mdfReplaceData( ru.novosoft.mdf.ext.MDFObject srcarg, Class base) 12 { 13 super.mdfReplaceData(srcarg, base); 14 if (srcarg instanceof com.bonevich.erj.mof.interfaces.model.Relation && com.bonevich.erj.mof.interfaces.model.Relation.class.isAssignableFrom(base)) 15 { 16 com.bonevich.erj.mof.impl.model.ErjRelationImpl src = (com.bonevich.erj.mof.impl.model.ErjRelationImpl)srcarg; 17 { 18 List c = new ArrayList( src.getKeys102() ); 19 src.getKeys102().clear(); 20 collectionSetting(_keys102, c); 21 } 22 { 23 List c = new ArrayList( src.getAttributes119() ); 24 src.getAttributes119().clear(); 25 collectionSetting(_attributes119, c); 26 } 27 { 28 com.bonevich.erj.mof.impl.model.ErjSchemaImpl c = (com.bonevich.erj.mof.impl.model.ErjSchemaImpl)src.getSchema107(); 29 if (c != null) 30 { 31 int pos = c.getRelations105().indexOf(src); 32 c.getRelations105().set( pos, this ); 33 } 34 } 35 { 36 com.bonevich.erj.mof.impl.model.ErjForeignKeyImpl c = (com.bonevich.erj.mof.impl.model.ErjForeignKeyImpl)src.getForeignKey114(); 37 if (c != null) 38 { 39 int pos = c.getReferent113().indexOf(src); 40 c.getReferent113().set( pos, this ); 41 } 42 } 43 } 44 } 45 // implementing: com.bonevich.erj.mof.interfaces.model.Relation 46 public com.bonevich.erj.mof.interfaces.model.Schema getSchema() 47 { 48 return getSchema107(); 49 } 50 public void setSchema(com.bonevich.erj.mof.interfaces.model.Schema _schema107) 51 { 52 operationStarted(); 53 try 54 { 55 setSchema107(_schema107); 56 } 57 finally 58 { 59 operationFinished(); 60 } 61 } 62 public java.util.List getAttributes() 63 { 64 return getAttributes119(); 65 } 66 public java.util.List getKeys() 67 { 68 return getKeys102(); 69 } 70 private java.util.List _keys102 = new ru.novosoft.mdf.impl.MDFFeatureListImpl( this, 107, true); 71 public java.util.List getKeys102() 72 { 73 checkExists(); 74 return _keys102; 75 } 76 private java.util.List _attributes119 = new ru.novosoft.mdf.impl.MDFFeatureListImpl( this, 108, true); 77 public java.util.List getAttributes119() 78 { 79 checkExists(); 80 return _attributes119; 81 } 82 private com.bonevich.erj.mof.interfaces.model.Schema _schema107; 83 private final static Method _schema107_setMethod = mdfGetMethod1(com.bonevich.erj.mof.impl.model.ErjRelationImpl.class, "setSchema107", com.bonevich.erj.mof.interfaces.model.Schema.class); 84 public com.bonevich.erj.mof.interfaces.model.Schema getSchema107() 85 { 86 checkExists(); 87 return _schema107; 88 } 89 public final void setSchema107(com.bonevich.erj.mof.interfaces.model.Schema __arg) 90 { 91 operationStarted(); 92 try 93 { 94 if (_schema107 != __arg) 95 { 96 if (_schema107 != null) 97 { 98 ((com.bonevich.erj.mof.impl.model.ErjSchemaImpl)_schema107).getRelations105().remove( this ); 99 } 100 if (__arg != null) 101 { 102 ((com.bonevich.erj.mof.impl.model.ErjSchemaImpl)__arg).getRelations105().add( this ); 103 } 104 } 105 } 106 finally 107 { 108 operationFinished(); 109 } 110 } 111 public final void internalRefBySchema107(com.bonevich.erj.mof.interfaces.model.Schema __arg) 112 { 113 com.bonevich.erj.mof.interfaces.model.Schema __saved = _schema107; 114 if (_schema107 != null) 115 { 116 ((com.bonevich.erj.mof.impl.model.ErjSchemaImpl)_schema107).getRelations105().remove( this ); 117 } 118 _schema107 = __arg; 119 if (needEvent()) 120 { 121 firePropertySet("schema",__saved, __arg); 122 } 123 final javax.jmi.reflect.RefAssociation _ContainsRelations = ( javax.jmi.reflect.RefAssociation ) repository.getMetaObject( com.bonevich.erj.mof.interfaces.model.ContainsRelations.class ); 124 ((ru.novosoft.mdf.impl.MDFAssociationImpl)_ContainsRelations).internalAddLink( this, __arg ); 125 } 126 public final void internalUnrefBySchema107(com.bonevich.erj.mof.interfaces.model.Schema __arg) 127 { 128 com.bonevich.erj.mof.interfaces.model.Schema __saved = _schema107; 129 _schema107 = null; 130 if (needEvent()) 131 { 132 firePropertySet("schema", __saved, null); 133 } 134 final javax.jmi.reflect.RefAssociation _ContainsRelations = ( javax.jmi.reflect.RefAssociation ) repository.getMetaObject( com.bonevich.erj.mof.interfaces.model.ContainsRelations.class ); 135 ((ru.novosoft.mdf.impl.MDFAssociationImpl)_ContainsRelations).internalRemoveLink( this, __arg ); 136 } 137 private com.bonevich.erj.mof.interfaces.model.ForeignKey _foreignKey114; 138 private final static Method _foreignKey114_setMethod = mdfGetMethod1(com.bonevich.erj.mof.impl.model.ErjRelationImpl.class, "setForeignKey114", com.bonevich.erj.mof.interfaces.model.ForeignKey.class); 139 public com.bonevich.erj.mof.interfaces.model.ForeignKey getForeignKey114() 140 { 141 checkExists(); 142 return _foreignKey114; 143 } 144 public final void setForeignKey114(com.bonevich.erj.mof.interfaces.model.ForeignKey __arg) 145 { 146 operationStarted(); 147 try 148 { 149 if (_foreignKey114 != __arg) 150 { 151 if (_foreignKey114 != null) 152 { 153 ((com.bonevich.erj.mof.impl.model.ErjForeignKeyImpl)_foreignKey114).getReferent113().remove( this ); 154 } 155 if (__arg != null) 156 { 157 ((com.bonevich.erj.mof.impl.model.ErjForeignKeyImpl)__arg).getReferent113().add( this ); 158 } 159 } 160 } 161 finally 162 { 163 operationFinished(); 164 } 165 } 166 public final void internalRefByForeignKey114(com.bonevich.erj.mof.interfaces.model.ForeignKey __arg) 167 { 168 com.bonevich.erj.mof.interfaces.model.ForeignKey __saved = _foreignKey114; 169 if (_foreignKey114 != null) 170 { 171 ((com.bonevich.erj.mof.impl.model.ErjForeignKeyImpl)_foreignKey114).getReferent113().remove( this ); 172 } 173 _foreignKey114 = __arg; 174 if (needEvent()) 175 { 176 firePropertySet("com.bonevich.erj.mof.interfaces.model.References.foreignKey",__saved, __arg); 177 } 178 final javax.jmi.reflect.RefAssociation _References = ( javax.jmi.reflect.RefAssociation ) repository.getMetaObject( com.bonevich.erj.mof.interfaces.model.References.class ); 179 ((ru.novosoft.mdf.impl.MDFAssociationImpl)_References).internalAddLink( this, __arg ); 180 } 181 public final void internalUnrefByForeignKey114(com.bonevich.erj.mof.interfaces.model.ForeignKey __arg) 182 { 183 com.bonevich.erj.mof.interfaces.model.ForeignKey __saved = _foreignKey114; 184 _foreignKey114 = null; 185 if (needEvent()) 186 { 187 firePropertySet("com.bonevich.erj.mof.interfaces.model.References.foreignKey", __saved, null); 188 } 189 final javax.jmi.reflect.RefAssociation _References = ( javax.jmi.reflect.RefAssociation ) repository.getMetaObject( com.bonevich.erj.mof.interfaces.model.References.class ); 190 ((ru.novosoft.mdf.impl.MDFAssociationImpl)_References).internalRemoveLink( this, __arg ); 191 } 192 public Set mdfGetElementContents() 193 { 194 Set ret = super.mdfGetElementContents(); 195 ret.addAll(getKeys102()); 196 ret.addAll(getAttributes119()); 197 ret.remove( null ); 198 return ret; 199 } 200 public Class mdfGetInterfaceClass() 201 { 202 return com.bonevich.erj.mof.interfaces.model.Relation.class; 203 } 204 protected void cleanup() 205 { 206 _keys102.clear(); 207 _attributes119.clear(); 208 setForeignKey114((com.bonevich.erj.mof.interfaces.model.ForeignKey)null); 209 setSchema107((com.bonevich.erj.mof.interfaces.model.Schema)null); 210 super.cleanup(); 211 } 212 public void internalElementAdded( ru.novosoft.mdf.impl.MDFListImpl list, int collectionId, Object addedElement ) 213 { 214 if (needEvent()) 215 { 216 switch(collectionId) 217 { 218 case 109 : 219 fireItemAdd( "relations", addedElement ); 220 break; 221 case 110 : 222 fireItemAdd( "referent", addedElement ); 223 break; 224 default: super.internalElementAdded(list, collectionId, addedElement); 225 } 226 } 227 } 228 public void internalElementRemoved(ru.novosoft.mdf.impl.MDFListImpl list, int collectionId, Object removedElement ) 229 { 230 if (needEvent()) 231 { 232 switch(collectionId) 233 { 234 case 109 : 235 fireItemRemove( "relations", removedElement ); 236 break; 237 case 110 : 238 fireItemRemove( "referent", removedElement ); 239 break; 240 default: super.internalElementRemoved(list, collectionId, removedElement); 241 } 242 } 243 } 244 public void canBeElementAdded( ru.novosoft.mdf.impl.MDFListImpl list, int collectionId, Object newElement ) 245 { 246 switch( collectionId ) 247 { 248 249 case 107: 250 if (newElement == null) 251 { 252 throw new NullPointerException(); 253 } 254 if (mdfGetOutermostPackage() != ((ru.novosoft.mdf.impl.MDFBaseObjectImpl)newElement).mdfGetOutermostPackage()) 255 { 256 throw new javax.jmi.reflect.ClosureViolationException( null, null ); 257 } 258 if (list.contains( newElement )) 259 { 260 throw new javax.jmi.reflect.DuplicateException( null, null); 261 } 262 if ((( ru.novosoft.mdf.impl.MDFObjectImpl) newElement ).mdfGetImmediateCompositeAttribute() != null && !"keys".equals( (( ru.novosoft.mdf.impl.MDFObjectImpl) newElement ).mdfGetImmediateCompositeAttribute() )) 263 { 264 throw new javax.jmi.reflect.ClosureViolationException( null, null ); 265 } 266 mdfCheckNotOwned( (ru.novosoft.mdf.impl.MDFObjectImpl) newElement ); 267 if ( ! (newElement instanceof com.bonevich.erj.mof.interfaces.model.KeyConstraint) ) 268 { 269 throw new javax.jmi.reflect.TypeMismatchException( null, null, null ); 270 } 271 break; 272 273 case 108: 274 if (newElement == null) 275 { 276 throw new NullPointerException(); 277 } 278 if (mdfGetOutermostPackage() != ((ru.novosoft.mdf.impl.MDFBaseObjectImpl)newElement).mdfGetOutermostPackage()) 279 { 280 throw new javax.jmi.reflect.ClosureViolationException( null, null ); 281 } 282 if (list.contains( newElement )) 283 { 284 throw new javax.jmi.reflect.DuplicateException( null, null); 285 } 286 if ((( ru.novosoft.mdf.impl.MDFObjectImpl) newElement ).mdfGetImmediateCompositeAttribute() != null && !"attributes".equals( (( ru.novosoft.mdf.impl.MDFObjectImpl) newElement ).mdfGetImmediateCompositeAttribute() )) 287 { 288 throw new javax.jmi.reflect.ClosureViolationException( null, null ); 289 } 290 mdfCheckNotOwned( (ru.novosoft.mdf.impl.MDFObjectImpl) newElement ); 291 if ( ! (newElement instanceof com.bonevich.erj.mof.interfaces.model.Attribute) ) 292 { 293 throw new javax.jmi.reflect.TypeMismatchException( null, null, null ); 294 } 295 break; 296 default: super.canBeElementAdded( list, collectionId, newElement ); 297 } 298 } 299 public void elementAdded( ru.novosoft.mdf.impl.MDFListImpl list, int collectionId, int position, Object newElement ) 300 { 301 switch( collectionId ) 302 { 303 case 107 : 304 { 305 ((com.bonevich.erj.mof.impl.model.ErjKeyConstraintImpl)newElement).internalRefByRelation101(this); 306 ((ru.novosoft.mdf.impl.MDFObjectImpl)((com.bonevich.erj.mof.impl.model.ErjKeyConstraintImpl)newElement)).mdfSetElementContainer((ru.novosoft.mdf.ext.MDFFeatured)this,"keys"); 307 if (needUndo()) 308 { 309 logItemAddAt((ru.novosoft.mdf.impl.MDFListImpl)_keys102,_addAtMethod, _removeAtMethod, newElement, position); 310 } 311 if ( needEvent() ) 312 { 313 fireItemAddAt("keys", newElement, position); 314 } 315 } 316 break; 317 case 108 : 318 { 319 ((com.bonevich.erj.mof.impl.model.ErjAttributeImpl)newElement).internalRefByRelation120(this); 320 ((ru.novosoft.mdf.impl.MDFObjectImpl)((com.bonevich.erj.mof.impl.model.ErjAttributeImpl)newElement)).mdfSetElementContainer((ru.novosoft.mdf.ext.MDFFeatured)this,"attributes"); 321 if (needUndo()) 322 { 323 logItemAddAt((ru.novosoft.mdf.impl.MDFListImpl)_attributes119,_addAtMethod, _removeAtMethod, newElement, position); 324 } 325 if ( needEvent() ) 326 { 327 fireItemAddAt("attributes", newElement, position); 328 } 329 } 330 break; 331 default: super.elementAdded( list, collectionId, position, newElement ); 332 } 333 } 334 public void elementRemoved( ru.novosoft.mdf.impl.MDFListImpl list, int collectionId, int position, Object removedObject ) 335 { 336 switch( collectionId ) 337 { 338 case 107 : 339 { 340 ((com.bonevich.erj.mof.impl.model.ErjKeyConstraintImpl)removedObject).internalUnrefByRelation101(this); 341 if (((com.bonevich.erj.mof.impl.model.ErjKeyConstraintImpl)removedObject).refImmediateComposite() != null) 342 { 343 ((ru.novosoft.mdf.impl.MDFObjectImpl)((com.bonevich.erj.mof.impl.model.ErjKeyConstraintImpl)removedObject)).mdfSetElementContainer(null, null); 344 } 345 if ( needUndo() ) 346 { 347 logItemRemoveAt((ru.novosoft.mdf.impl.MDFListImpl)_keys102,_removeAtMethod, _addAtMethod, removedObject, position); 348 } 349 if ( needEvent() ) 350 { 351 fireItemRemoveAt("keys", removedObject, position); 352 } 353 } 354 break; 355 case 108 : 356 { 357 ((com.bonevich.erj.mof.impl.model.ErjAttributeImpl)removedObject).internalUnrefByRelation120(this); 358 if (((com.bonevich.erj.mof.impl.model.ErjAttributeImpl)removedObject).refImmediateComposite() != null) 359 { 360 ((ru.novosoft.mdf.impl.MDFObjectImpl)((com.bonevich.erj.mof.impl.model.ErjAttributeImpl)removedObject)).mdfSetElementContainer(null, null); 361 } 362 if ( needUndo() ) 363 { 364 logItemRemoveAt((ru.novosoft.mdf.impl.MDFListImpl)_attributes119,_removeAtMethod, _addAtMethod, removedObject, position); 365 } 366 if ( needEvent() ) 367 { 368 fireItemRemoveAt("attributes", removedObject, position); 369 } 370 } 371 break; 372 default: super.elementRemoved( list, collectionId, position, removedObject ); 373 } 374 } 375 public void elementSetAt(ru.novosoft.mdf.impl.MDFListImpl list, int collectionId, int position, Object removed, Object added) 376 { 377 switch(collectionId) 378 { 379 case 107: 380 { 381 ((com.bonevich.erj.mof.impl.model.ErjKeyConstraintImpl)added).internalRefByRelation101(this); 382 ((ru.novosoft.mdf.impl.MDFObjectImpl)((com.bonevich.erj.mof.impl.model.ErjKeyConstraintImpl)added)).mdfSetElementContainer((ru.novosoft.mdf.ext.MDFFeatured)this,"keys"); 383 ((com.bonevich.erj.mof.impl.model.ErjKeyConstraintImpl)removed).internalUnrefByRelation101(this); 384 if (((com.bonevich.erj.mof.impl.model.ErjKeyConstraintImpl)removed).refImmediateComposite() != null) 385 { 386 ((ru.novosoft.mdf.impl.MDFObjectImpl)((com.bonevich.erj.mof.impl.model.ErjKeyConstraintImpl)removed)).mdfSetElementContainer(null, null); 387 } 388 if (needUndo()) 389 { 390 logItemSetAt((ru.novosoft.mdf.impl.MDFListImpl)_keys102,_setAtMethod, removed, added, position); 391 } 392 if ( needEvent() ) 393 { 394 fireItemSetAt("keys", removed, added, position); 395 } 396 } 397 break; 398 case 108: 399 { 400 ((com.bonevich.erj.mof.impl.model.ErjAttributeImpl)added).internalRefByRelation120(this); 401 ((ru.novosoft.mdf.impl.MDFObjectImpl)((com.bonevich.erj.mof.impl.model.ErjAttributeImpl)added)).mdfSetElementContainer((ru.novosoft.mdf.ext.MDFFeatured)this,"attributes"); 402 ((com.bonevich.erj.mof.impl.model.ErjAttributeImpl)removed).internalUnrefByRelation120(this); 403 if (((com.bonevich.erj.mof.impl.model.ErjAttributeImpl)removed).refImmediateComposite() != null) 404 { 405 ((ru.novosoft.mdf.impl.MDFObjectImpl)((com.bonevich.erj.mof.impl.model.ErjAttributeImpl)removed)).mdfSetElementContainer(null, null); 406 } 407 if (needUndo()) 408 { 409 logItemSetAt((ru.novosoft.mdf.impl.MDFListImpl)_attributes119,_setAtMethod, removed, added, position); 410 } 411 if ( needEvent() ) 412 { 413 fireItemSetAt("attributes", removed, added, position); 414 } 415 } 416 break; 417 } 418 } 419 public void mdfSetValue(String feature, Object value) 420 { 421 if ("keys".equals(feature)) 422 { 423 collectionSetting(_keys102, (java.util.Collection)value); 424 return; 425 } 426 if ("attributes".equals(feature)) 427 { 428 collectionSetting(_attributes119, (java.util.Collection)value); 429 return; 430 } 431 if ("com.bonevich.erj.mof.interfaces.model.References.foreignKey".equals(feature)) 432 { 433 setForeignKey114(((com.bonevich.erj.mof.interfaces.model.ForeignKey)value)); 434 return; 435 } 436 if ("schema".equals(feature)) 437 { 438 setSchema107(((com.bonevich.erj.mof.interfaces.model.Schema)value)); 439 return; 440 } 441 super.mdfSetValue(feature, value); 442 } 443 public Class mdfGetFeatureElementType(String k) 444 { 445 if ("keys".equals(k)) 446 { 447 return com.bonevich.erj.mof.interfaces.model.KeyConstraint.class; 448 } 449 if ("attributes".equals(k)) 450 { 451 return com.bonevich.erj.mof.interfaces.model.Attribute.class; 452 } 453 return super.mdfGetFeatureElementType(k); 454 } 455 public Class mdfGetFeatureType(String k) 456 { 457 if ("keys".equals(k)) 458 { 459 return java.util.List.class; 460 } 461 if ("attributes".equals(k)) 462 { 463 return java.util.List.class; 464 } 465 if ("com.bonevich.erj.mof.interfaces.model.References.foreignKey".equals(k)) 466 { 467 return com.bonevich.erj.mof.interfaces.model.ForeignKey.class; 468 } 469 if ("schema".equals(k)) 470 { 471 return com.bonevich.erj.mof.interfaces.model.Schema.class; 472 } 473 return super.mdfGetFeatureType(k); 474 } 475 public Object mdfGetValue(String feature) 476 { 477 if ("keys".equals(feature)) 478 { 479 return getKeys102(); 480 } 481 if ("attributes".equals(feature)) 482 { 483 return getAttributes119(); 484 } 485 if ("com.bonevich.erj.mof.interfaces.model.References.foreignKey".equals(feature)) 486 { 487 return getForeignKey114(); 488 } 489 if ("schema".equals(feature)) 490 { 491 return getSchema107(); 492 } 493 return super.mdfGetValue( feature ); 494 } 495 public void mdfRemoveValue(String feature, Object existingValue) 496 { 497 if ("keys".equals(feature)) 498 { 499 _keys102.remove(((com.bonevich.erj.mof.interfaces.model.KeyConstraint)existingValue)); 500 return; 501 } 502 if ("attributes".equals(feature)) 503 { 504 _attributes119.remove(((com.bonevich.erj.mof.interfaces.model.Attribute)existingValue)); 505 return; 506 } 507 super.mdfRemoveValue(feature, existingValue); 508 } 509 public Object refGetValue(javax.jmi.reflect.RefObject feature) 510 { 511 if (ru.novosoft.mdf.impl.MDFBaseObjectImpl.checkQualifiedName( feature, "ErjInfoModel","Relation","schema")) 512 { 513 return getSchema(); 514 } 515 if (ru.novosoft.mdf.impl.MDFBaseObjectImpl.checkQualifiedName( feature, "ErjInfoModel","Relation","attributes")) 516 { 517 return getAttributes(); 518 } 519 if (ru.novosoft.mdf.impl.MDFBaseObjectImpl.checkQualifiedName( feature, "ErjInfoModel","Relation","keys")) 520 { 521 return getKeys(); 522 } 523 return super.refGetValue(feature); 524 } 525 public Object refGetValue(String feature) 526 { 527 return mdfGetValue(feature); 528 } 529 public void refSetValue(javax.jmi.reflect.RefObject feature, Object value) 530 { 531 if(ru.novosoft.mdf.impl.MDFBaseObjectImpl.checkQualifiedName( feature, "ErjInfoModel","Relation","schema" )) 532 { 533 setSchema107((com.bonevich.erj.mof.interfaces.model.Schema) value); 534 } 535 else if(ru.novosoft.mdf.impl.MDFBaseObjectImpl.checkQualifiedName( feature, "ErjInfoModel","Relation","attributes" )) 536 { 537 collectionSetting(_attributes119, (java.util.Collection)value); 538 } 539 else if(ru.novosoft.mdf.impl.MDFBaseObjectImpl.checkQualifiedName( feature, "ErjInfoModel","Relation","keys" )) 540 { 541 collectionSetting(_keys102, (java.util.Collection)value); 542 } 543 else 544 { 545 super.refSetValue( feature, value ); 546 } 547 } 548 public void refSetValue(String feature, Object value) 549 { 550 mdfSetValue(feature, value); 551 } 552 public Object refInvokeOperation(javax.jmi.reflect.RefObject requestedOperation, java.util.List args) 553 { 554 throw new RuntimeException(" !!! NOT IMPLEMENTED !!!"); 555 } 556 public Object refInvokeOperation(String requestedOperation, java.util.List args) 557 { 558 throw new RuntimeException(" !!! NOT IMPLEMENTED !!!"); 559 } 560 public javax.jmi.reflect.RefObject refMetaObject() 561 { 562 return refGetClass().refMetaObject(); 563 } 564 public javax.jmi.reflect.RefPackage refImmediatePackage() 565 { 566 return refGetClass().refImmediatePackage(); 567 } 568 public javax.jmi.reflect.RefPackage refOutermostPackage() 569 { 570 return refGetClass().refOutermostPackage(); 571 } 572 public String refMofId() 573 { 574 throw new RuntimeException(" !!! NOT IMPLEMENTED !!!"); 575 } 576 private ru.novosoft.mdf.ext.MDFClass thisCls = null; 577 public javax.jmi.reflect.RefClass refGetClass() 578 { 579 if (thisCls == null) 580 { 581 thisCls = (ru.novosoft.mdf.ext.MDFClass)repository.getMetaObject( com.bonevich.erj.mof.interfaces.model.RelationClass.class ); 582 } 583 return thisCls; 584 } 585 public java.util.Collection refVerify( boolean f ) 586 { 587 throw new RuntimeException(" !!! NOT IMPLEMENTED !!!"); 588 } 589 public java.util.List internalGetOppositeCollection( int collectionId, Object o ) 590 { 591 switch( collectionId ) 592 { 593 case 109 : return ((com.bonevich.erj.mof.impl.model.ErjSchemaImpl)o).getRelations105(); 594 case 110 : return ((com.bonevich.erj.mof.impl.model.ErjForeignKeyImpl)o).getReferent113(); 595 } 596 return super.internalGetOppositeCollection( collectionId, o ); 597 } 598 }

This page was automatically generated by Maven