Package | Description |
---|---|
org.eclipse.ocl.uml |
Implementation of an OCL binding for the UML metamodel.
|
Modifier and Type | Method and Description |
---|---|
OCL |
OCL.Helper.getOCL()
Obtains the OCL instance that created me.
|
OCL |
OCL.Query.getOCL()
Obtains the
OCL that created me. |
static OCL |
OCL.newInstance()
Creates a new
OCL using a new UML environment factory
that uses a private resource set and the global package registry for
looking up Ecore representations of UML packages. |
static OCL |
OCL.newInstance(Environment<org.eclipse.uml2.uml.Package,org.eclipse.uml2.uml.Classifier,org.eclipse.uml2.uml.Operation,org.eclipse.uml2.uml.Property,org.eclipse.uml2.uml.EnumerationLiteral,org.eclipse.uml2.uml.Parameter,org.eclipse.uml2.uml.State,org.eclipse.uml2.uml.CallOperationAction,org.eclipse.uml2.uml.SendSignalAction,org.eclipse.uml2.uml.Constraint,org.eclipse.uml2.uml.Class,org.eclipse.emf.ecore.EObject> env)
Creates a new
OCL using the specified initial UML
environment. |
static OCL |
OCL.newInstance(EnvironmentFactory<org.eclipse.uml2.uml.Package,org.eclipse.uml2.uml.Classifier,org.eclipse.uml2.uml.Operation,org.eclipse.uml2.uml.Property,org.eclipse.uml2.uml.EnumerationLiteral,org.eclipse.uml2.uml.Parameter,org.eclipse.uml2.uml.State,org.eclipse.uml2.uml.CallOperationAction,org.eclipse.uml2.uml.SendSignalAction,org.eclipse.uml2.uml.Constraint,org.eclipse.uml2.uml.Class,org.eclipse.emf.ecore.EObject> envFactory)
Creates a new
OCL using the specified UML environment
factory. |
static OCL |
OCL.newInstance(EnvironmentFactory<org.eclipse.uml2.uml.Package,org.eclipse.uml2.uml.Classifier,org.eclipse.uml2.uml.Operation,org.eclipse.uml2.uml.Property,org.eclipse.uml2.uml.EnumerationLiteral,org.eclipse.uml2.uml.Parameter,org.eclipse.uml2.uml.State,org.eclipse.uml2.uml.CallOperationAction,org.eclipse.uml2.uml.SendSignalAction,org.eclipse.uml2.uml.Constraint,org.eclipse.uml2.uml.Class,org.eclipse.emf.ecore.EObject> envFactory,
org.eclipse.emf.ecore.resource.Resource resource)
Creates a new
OCL using the specified UML environment
factory and a resource from which to load the initial environment. |
static OCL |
OCL.newInstance(org.eclipse.emf.ecore.resource.ResourceSet rset)
Creates a new
OCL using a new UML environment factory
that uses the specified resource set and its local package registry for
looking up Ecore representations of UML packages. |