org.eclipse.ocl.examples.library.executor
Class DomainReflectivePackage

java.lang.Object
  extended by org.eclipse.ocl.examples.library.executor.ExecutorPackage
      extended by org.eclipse.ocl.examples.library.executor.ReflectivePackage
          extended by org.eclipse.ocl.examples.library.executor.DomainReflectivePackage
All Implemented Interfaces:
DomainElement, DomainPackage

public class DomainReflectivePackage
extends ReflectivePackage

DomainExecutorPackage uses the limited Domain interfaces to construct a package description for use in contexts where no explicit ExecutorPackage is available. This typically occurs when a dynamic Ecore model is used but no MetaModelManager is accessible.


Field Summary
protected  DomainPackage domainPackage
           
protected  DomainStandardLibrary standardLibrary
           
 
Fields inherited from class org.eclipse.ocl.examples.library.executor.ReflectivePackage
types
 
Fields inherited from class org.eclipse.ocl.examples.library.executor.ExecutorPackage
name, nsURI
 
Constructor Summary
DomainReflectivePackage(DomainStandardLibrary standardLibrary, DomainPackage domainPackage)
           
 
Method Summary
protected  ReflectiveType createExecutorType(DomainType domainType)
           
protected  java.lang.Iterable<? extends DomainType> getDomainTypes()
           
protected  DomainStandardLibrary getStandardLibrary()
           
 
Methods inherited from class org.eclipse.ocl.examples.library.executor.ReflectivePackage
computeClasses, getInheritance, getOwnedType
 
Methods inherited from class org.eclipse.ocl.examples.library.executor.ExecutorPackage
getName, getNsURI, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

standardLibrary

protected final DomainStandardLibrary standardLibrary

domainPackage

protected final DomainPackage domainPackage
Constructor Detail

DomainReflectivePackage

public DomainReflectivePackage(DomainStandardLibrary standardLibrary,
                               DomainPackage domainPackage)
Method Detail

createExecutorType

protected ReflectiveType createExecutorType(DomainType domainType)
Specified by:
createExecutorType in class ReflectivePackage

getDomainTypes

protected java.lang.Iterable<? extends DomainType> getDomainTypes()
Specified by:
getDomainTypes in class ReflectivePackage

getStandardLibrary

protected DomainStandardLibrary getStandardLibrary()
Specified by:
getStandardLibrary in class ReflectivePackage