org.eigenbase.jmi.mem
Class JmiModeledMemFactory

java.lang.Object
  extended by org.eigenbase.jmi.mem.JmiMemFactory
      extended by org.eigenbase.jmi.mem.JmiModeledMemFactory
Direct Known Subclasses:
FarragoMdrReposImpl.FactoryImpl, JmiMemTest.FactoryImpl

public abstract class JmiModeledMemFactory
extends JmiMemFactory

JmiModeledMemFactory augments JmiMemFactory with information from an underlying metamodel.

Version:
$Id: //open/dev/farrago/src/org/eigenbase/jmi/mem/JmiModeledMemFactory.java#12 $
Author:
John V. Sichi

Nested Class Summary
 
Nested classes/interfaces inherited from class org.eigenbase.jmi.mem.JmiMemFactory
JmiMemFactory.Element, JmiMemFactory.ElementImpl, JmiMemFactory.MofPackageImpl, JmiMemFactory.RefAssociationImpl, JmiMemFactory.RefClassImpl, JmiMemFactory.RefPackageImpl, JmiMemFactory.Relationship
 
Field Summary
private  JmiModelGraph modelGraph
           
 
Constructor Summary
JmiModeledMemFactory(JmiModelGraph modelGraph)
           
 
Method Summary
private  void defineAssociations()
           
private  void defineAttributes(JmiClassVertex classVertex)
           
private  void defineClasses()
           
private  void definePackage(RefPackage refPackageModeled, Class<? extends RefPackage> iface)
           
private  void definePackages()
           
protected  JmiModelGraph getModelGraph()
           
 
Methods inherited from class org.eigenbase.jmi.mem.JmiMemFactory
createImpl, createRelationship, createRelationship, defineMetaObject, getPersistentMofId, getRootPackage, getRootPackageImpl, mapMofId, newRefPackage, newRootPackage, parseGetter, setPersistentMofId, sortMethods
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

modelGraph

private final JmiModelGraph modelGraph
Constructor Detail

JmiModeledMemFactory

public JmiModeledMemFactory(JmiModelGraph modelGraph)
Method Detail

definePackages

private void definePackages()
                     throws ClassNotFoundException
Throws:
ClassNotFoundException

definePackage

private void definePackage(RefPackage refPackageModeled,
                           Class<? extends RefPackage> iface)
                    throws ClassNotFoundException
Throws:
ClassNotFoundException

defineClasses

private void defineClasses()
                    throws ClassNotFoundException
Throws:
ClassNotFoundException

defineAttributes

private void defineAttributes(JmiClassVertex classVertex)
                       throws ClassNotFoundException
Throws:
ClassNotFoundException

defineAssociations

private void defineAssociations()
                         throws ClassNotFoundException
Throws:
ClassNotFoundException

getModelGraph

protected JmiModelGraph getModelGraph()
Overrides:
getModelGraph in class JmiMemFactory