org.eclipse.ocl.examples.library.executor
Class ReflectivePackage
java.lang.Object
org.eclipse.ocl.examples.library.executor.ExecutorPackage
org.eclipse.ocl.examples.library.executor.ReflectivePackage
- All Implemented Interfaces:
- DomainElement, DomainPackage
- Direct Known Subclasses:
- DomainReflectivePackage, PivotReflectivePackage
public abstract class ReflectivePackage
- extends ExecutorPackage
A ReflectivePackage builds a dispatch table representative of a model package at run-time using a minimal reflective API.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
types
protected java.util.Map<DomainType,ReflectiveType> types
ReflectivePackage
public ReflectivePackage(java.lang.String name,
java.lang.String nsURI)
computeClasses
protected void computeClasses()
createExecutorType
protected abstract ReflectiveType createExecutorType(DomainType domainType)
getDomainTypes
protected abstract java.lang.Iterable<? extends DomainType> getDomainTypes()
getInheritance
public ReflectiveType getInheritance(DomainType type)
getOwnedType
public java.lang.Iterable<? extends DomainType> getOwnedType()
getStandardLibrary
protected abstract DomainStandardLibrary getStandardLibrary()