CLASS_PATH, environmentFactory, NO_PROJECTS
Modifier | Constructor and Description |
---|---|
protected |
UMLOCL(EnvironmentFactoryInternal environmentFactory)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static java.lang.String |
initialize(org.eclipse.emf.ecore.resource.ResourceSet resourceSet)
Deprecated.
Initialize registries to support OCL and Ecore usage.
|
static UMLOCL |
newInstance()
Deprecated.
Creates a new
OCL using the specified Ecore package registry. |
static UMLOCL |
newInstance(EnvironmentFactory environmentFactory)
Deprecated.
Creates a new
OCL using the specified Ecore environment
factory. |
static UMLOCL |
newInstance(ProjectManager projectManager)
Deprecated.
Creates a new
OCL using the specified Ecore package registry. |
as2cs, as2ecore, check, check, createEvaluationVisitor, createInvariant, createOCLHelper, createPostcondition, createQuery, createQuery, createQuery, cs2as, dispose, ecore2as, evaluate, finalize, getCompleteEnvironment, getContextType, getCSResource, getCSResource, getCSResource, getEnvironmentFactory, getIdResolver, getMetamodelManager, getModelManager, getPackageRegistry, getProjectManager, getResourceSet, getSpecification, getStandardLibrary, isEvaluationTracingEnabled, load, newInstance, newInstance, newInstance, parse, parseSpecification, parseSpecification, setEvaluationTracingEnabled, setModelManager, validate, validate
protected UMLOCL(@NonNull EnvironmentFactoryInternal environmentFactory)
public static java.lang.String initialize(@Nullable org.eclipse.emf.ecore.resource.ResourceSet resourceSet)
A null resourceSet may be provided to initialize the global package registry and global URI mapping registry.
A non-null resourceSet may be provided to identify a specific package registry.
This method is used to configure the ResourceSet used to load the OCL Standard Library.
resourceSet
- to be initialized or null for global initialization@NonNull public static UMLOCL newInstance()
OCL
using the specified Ecore package registry.
This automatically creates an new EnvironmentFactory and MetamodelManager.@NonNull public static UMLOCL newInstance(@Nullable ProjectManager projectManager)
OCL
using the specified Ecore package registry.
This automatically creates an new EnvironmentFactory and MetamodelManager.@NonNull public static UMLOCL newInstance(@NonNull EnvironmentFactory environmentFactory)
OCL
using the specified Ecore environment
factory.