@Deprecated public class UMLOCL extends OCL
OCL
façade that provides
adduitional UML-specific functionality.OCL
CLASS_PATH, NO_PROJECTS
Modifier and Type | Method and Description |
---|---|
static String |
initialize(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
public static String initialize(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 initializationpublic static UMLOCL newInstance()
OCL
using the specified Ecore package registry.
This automatically creates an new EnvironmentFactory and MetamodelManager.public static UMLOCL newInstance(ProjectManager projectManager)
OCL
using the specified Ecore package registry.
This automatically creates an new EnvironmentFactory and MetamodelManager.public static UMLOCL newInstance(EnvironmentFactory environmentFactory)
OCL
using the specified Ecore environment
factory.Copyright © 2005, 2018 IBM Corporation and others. All Rights Reserved.