org.eclipse.ocl.examples.library.executor
Class ExecutorStandardLibrary
java.lang.Object
org.eclipse.ocl.examples.domain.types.AbstractStandardLibrary
org.eclipse.ocl.examples.library.executor.ExecutableStandardLibrary
org.eclipse.ocl.examples.library.executor.ExecutorStandardLibrary
- All Implemented Interfaces:
- DomainStandardLibrary
public class ExecutorStandardLibrary
- extends ExecutableStandardLibrary
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 |
ExecutorStandardLibrary
public ExecutorStandardLibrary(EcoreExecutorPackage... execPackages)
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)