org.eclipse.ocl.examples.library.executor
Class DomainReflectivePackage
java.lang.Object
org.eclipse.ocl.examples.library.executor.ExecutorPackage
org.eclipse.ocl.examples.library.executor.ReflectivePackage
org.eclipse.ocl.examples.library.executor.DomainReflectivePackage
- All Implemented Interfaces:
- DomainElement, DomainNamedElement, DomainNamespace, DomainPackage, Nameable
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.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
standardLibrary
@NonNull
protected final DomainStandardLibrary standardLibrary
domainPackage
@NonNull
protected final DomainPackage domainPackage
DomainReflectivePackage
public DomainReflectivePackage(@NonNull
DomainStandardLibrary standardLibrary,
@NonNull
DomainPackage domainPackage)
createExecutorType
@NonNull
protected ReflectiveType createExecutorType(@NonNull
DomainType domainType)
- Specified by:
createExecutorType
in class ReflectivePackage
getDomainTypes
@NonNull
protected java.lang.Iterable<? extends DomainType> getDomainTypes()
- Specified by:
getDomainTypes
in class ReflectivePackage
getNestedPackage
public java.util.List<? extends DomainPackage> getNestedPackage()
getNestingPackage
public DomainPackage getNestingPackage()
getPackageId
@NonNull
public PackageId getPackageId()
- Specified by:
getPackageId
in interface DomainPackage
- Overrides:
getPackageId
in class ExecutorPackage
getStandardLibrary
@NonNull
protected DomainStandardLibrary getStandardLibrary()
- Specified by:
getStandardLibrary
in class ReflectivePackage