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

java.lang.Object
  extended by org.eclipse.ocl.examples.domain.types.AbstractStandardLibrary
      extended by org.eclipse.ocl.examples.library.executor.ExecutableStandardLibrary
          extended by org.eclipse.ocl.examples.library.executor.ExecutorStandardLibrary
All Implemented Interfaces:
DomainStandardLibrary

public class ExecutorStandardLibrary
extends ExecutableStandardLibrary


Constructor Summary
ExecutorStandardLibrary(EcoreExecutorPackage... execPackages)
           
 
Method Summary
 void addExtension(EcoreExecutorPackage basePackage, EcoreExecutorPackage extensionPackage)
           
 void addPackage(EcoreExecutorPackage execPackage, EcoreExecutorPackage extendedPackage)
           
protected  DomainMetaclass createMetaclass(DomainType classType)
           
 DomainType getEnumerationType()
          Obtains the single instance of the EnumerationType metatype, named Enumeration.
 DomainInheritance getInheritance(DomainType type)
          Return the Inheritance dispatch table for a given type.
 DomainType getMetaclassType()
          Obtains the single instance of the DomainMetaclass metatype, named Metaclass.
 DomainType getNestedType(DomainPackage parentPackage, java.lang.String name)
           
 DomainPackage getNsURIPackage(java.lang.String nsURI)
           
 DomainInheritance getOclType(java.lang.String typeName)
           
 EcoreExecutorPackage getPackage(org.eclipse.emf.ecore.EPackage ePackage)
           
 
Methods inherited from class org.eclipse.ocl.examples.library.executor.ExecutableStandardLibrary
getBagType, getBagType, getBooleanType, getCollectionType, getCollectionType, getIntegerType, getMetaclass, getOclAnyType, getOclComparableType, getOclElementType, getOclInvalidType, getOclMessageType, getOclSelfType, getOclSummableType, getOclTupleType, getOclVoidType, getOrderedCollectionType, getOrderedSetType, getOrderedSetType, getRealType, getSequenceType, getSequenceType, getSetType, getSetType, getStringType, getTemplateParameter, getTupleType, getUniqueCollectionType, getUnlimitedNaturalType
 
Methods inherited from class org.eclipse.ocl.examples.domain.types.AbstractStandardLibrary
conformsToCollectionType, conformsToLambdaType, conformsToTupleType, dispose, getAllPackages, getBagType, getCollectionType, getEnumeration, getMetaType, getNestedPackage, getOperationTemplateParameter, getOrderedSetType, getPrimitiveType, getRootPackage, getSequenceType, getSetType, isEqualToCollectionType, isEqualToTupleType, weakGet
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ExecutorStandardLibrary

public ExecutorStandardLibrary(EcoreExecutorPackage... execPackages)
Method Detail

addExtension

public void addExtension(@NonNull
                         EcoreExecutorPackage basePackage,
                         @NonNull
                         EcoreExecutorPackage extensionPackage)

addPackage

public void addPackage(@NonNull
                       EcoreExecutorPackage execPackage,
                       @Nullable
                       EcoreExecutorPackage extendedPackage)

createMetaclass

@NonNull
protected DomainMetaclass createMetaclass(@NonNull
                                                  DomainType classType)
Specified by:
createMetaclass in class ExecutableStandardLibrary

getEnumerationType

@NonNull
public DomainType getEnumerationType()
Description copied from interface: DomainStandardLibrary
Obtains the single instance of the EnumerationType metatype, named Enumeration.

Returns:
the Enumeration type (an instance of Enumeration)

getInheritance

@NonNull
public DomainInheritance getInheritance(@NonNull
                                                DomainType type)
Description copied from interface: DomainStandardLibrary
Return the Inheritance dispatch table for a given type.


getMetaclassType

@NonNull
public DomainType getMetaclassType()
Description copied from interface: DomainStandardLibrary
Obtains the single instance of the DomainMetaclass metatype, named Metaclass.

Returns:
the Metaclass type (an instance of Metaclass)

getNestedType

@Nullable
public DomainType getNestedType(@NonNull
                                         DomainPackage parentPackage,
                                         @NonNull
                                         java.lang.String name)
Specified by:
getNestedType in interface DomainStandardLibrary
Overrides:
getNestedType in class AbstractStandardLibrary

getNsURIPackage

public DomainPackage getNsURIPackage(@NonNull
                                     java.lang.String nsURI)
Specified by:
getNsURIPackage in interface DomainStandardLibrary
Overrides:
getNsURIPackage in class AbstractStandardLibrary

getPackage

@Nullable
public EcoreExecutorPackage getPackage(@NonNull
                                                org.eclipse.emf.ecore.EPackage ePackage)

getOclType

public DomainInheritance getOclType(@NonNull
                                    java.lang.String typeName)