org.eclipse.ocl.examples.pivot.executor
Class PivotExecutorStandardLibrary

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.pivot.executor.PivotExecutorStandardLibrary
All Implemented Interfaces:
DomainStandardLibrary, MetaModelManageable

public class PivotExecutorStandardLibrary
extends ExecutableStandardLibrary
implements MetaModelManageable


Field Summary
protected  MetaModelManager metaModelManager
           
 
Constructor Summary
PivotExecutorStandardLibrary(EcoreExecutorPackage... execPackages)
           
 
Method Summary
protected  DomainMetaclass createMetaclass(DomainType typeType)
           
protected  Package createPackage(DomainPackage domainPackage)
           
protected  Type createType(DomainType domainType)
           
 Class getEnumerationType()
          Obtains the single instance of the EnumerationType metatype, named Enumeration.
 DomainInheritance getInheritance(DomainType type)
          Return the Inheritance dispatch table for a given type.
 Metaclass getMetaclassType()
          Obtains the single instance of the DomainMetaclass metatype, named Metaclass.
 MetaModelManager getMetaModelManager()
           
 DomainType getOclType(java.lang.String typeName)
           
protected  Type getType(DomainType typeType)
           
 DomainType getType(org.eclipse.emf.ecore.EClassifier eClassifier)
           
 
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, 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, getBagType, getCollectionType, getEnumeration, getMetaType, getNestedPackage, getNestedType, getNsURIPackage, 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
 

Field Detail

metaModelManager

@NonNull
protected final MetaModelManager metaModelManager
Constructor Detail

PivotExecutorStandardLibrary

public PivotExecutorStandardLibrary(EcoreExecutorPackage... execPackages)
Method Detail

createMetaclass

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

createPackage

@NonNull
protected Package createPackage(@NonNull
                                        DomainPackage domainPackage)

createType

@NonNull
protected Type createType(@NonNull
                                  DomainType domainType)

getEnumerationType

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

Specified by:
getEnumerationType in interface DomainStandardLibrary
Returns:
the Enumeration type (an instance of Enumeration)

getMetaclassType

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

Specified by:
getMetaclassType in interface DomainStandardLibrary
Returns:
the Metaclass type (an instance of Metaclass)

getInheritance

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

Specified by:
getInheritance in interface DomainStandardLibrary

getMetaModelManager

@NonNull
public MetaModelManager getMetaModelManager()
Specified by:
getMetaModelManager in interface MetaModelManageable

getOclType

public DomainType getOclType(@NonNull
                             java.lang.String typeName)
Specified by:
getOclType in interface DomainStandardLibrary

getType

protected Type getType(DomainType typeType)

getType

@NonNull
public DomainType getType(@NonNull
                                  org.eclipse.emf.ecore.EClassifier eClassifier)