Modifier and Type | Class and Description |
---|---|
class |
AmbiguousLookupException
A specialized
LookupException denoting specifically that the
problem is multiple ambiguous results. |
class |
LookupException
Exception indicating a semantic error in looking up a definition, typically
resulting from an ambiguity.
|
class |
SemanticException
Exception indicating a semantic error in parsing or validating OCL
expressions.
|
class |
SyntaxException
Exception indicating a syntax error in parsing OCL expressions.
|
Modifier and Type | Method and Description |
---|---|
PivotResource |
OCL.ecore2pivot(org.eclipse.emf.ecore.resource.Resource ecoreResource)
Return the Pivot resource counterpart of an ecoreResource.
|
char[] |
OCLInput.getContent()
Deprecated.
The contents of the OCL document as a character array, suitable for
consumption by the OCL parser.
|
java.lang.String |
OCLInput.getContentAsString()
Deprecated.
The contents of the OCL document as a character array, suitable for
consumption by the OCL parser.
|
ExpressionInOCL |
OCL.getSpecification(Constraint constraint)
Return the Constraint specification as an ExpressionInOCL, parsing any OpaqueExpression
that may be encountered.
|
PivotResource |
OCL.uml2pivot(org.eclipse.emf.ecore.resource.Resource umlResource)
Return the Pivot resource counterpart of a umlResource.
|
Modifier and Type | Method and Description |
---|---|
BaseResource |
AbstractParserContext.createBaseResource(java.lang.String expression) |
BaseResource |
ParserContext.createBaseResource(java.lang.String expression)
Create a Concrete Syntax resource containing the parsed expression.
|
ExpressionInOCL |
AbstractParserContext.getExpression(BaseResource resource) |
ExpressionInOCL |
ParserContext.getExpression(BaseResource resource)
Extract an Abstract Syntax ExpressionInOCL fronm a Concrete Syntax resource.
|
ExpressionInOCL |
AbstractParserContext.parse(java.lang.String expression) |
ExpressionInOCL |
ParserContext.parse(java.lang.String expression)
Create an Abstract Syntax ExpressionInOCL containing the parsed expression.
|
Modifier and Type | Method and Description |
---|---|
ExpressionInOCL |
OCLHelper.createBodyCondition(java.lang.String expression)
Creates an operation body.
|
ExpressionInOCL |
OCLHelperImpl.createBodyCondition(java.lang.String expression) |
ExpressionInOCL |
OCLHelper.createDerivedValueExpression(java.lang.String expression)
Creates a property derived value expression.
|
ExpressionInOCL |
OCLHelperImpl.createDerivedValueExpression(java.lang.String expression) |
ExpressionInOCL |
OCLHelper.createInvariant(java.lang.String expression)
Creates an invariant constraint in the current classifier context.
|
ExpressionInOCL |
OCLHelperImpl.createInvariant(java.lang.String expression) |
ExpressionInOCL |
OCLHelper.createPostcondition(java.lang.String expression)
Creates an operation postcondition constraint.
|
ExpressionInOCL |
OCLHelperImpl.createPostcondition(java.lang.String expression) |
ExpressionInOCL |
OCLHelper.createPrecondition(java.lang.String expression)
Creates an operation precondition constraint.
|
ExpressionInOCL |
OCLHelperImpl.createPrecondition(java.lang.String expression) |
ExpressionInOCL |
OCLHelper.createQuery(java.lang.String expression)
Creates a query expression in the current classifier context.
|
ExpressionInOCL |
OCLHelperImpl.createQuery(java.lang.String expression) |
protected ExpressionInOCL |
OCLHelperImpl.createSpecification(java.lang.String expression) |
Modifier and Type | Method and Description |
---|---|
<T extends Element> |
MetaModelManager.getPivotOf(java.lang.Class<T> pivotClass,
org.eclipse.emf.ecore.EObject eObject) |
<T extends Element> |
MetaModelManager.Factory.getPivotOf(MetaModelManager metaModelManager,
java.lang.Class<T> pivotClass,
org.eclipse.emf.ecore.EObject eObject) |
Element |
MetaModelManager.Factory.importFromResource(MetaModelManager metaModelManager,
org.eclipse.emf.ecore.resource.Resource resource,
org.eclipse.emf.common.util.URI uri)
Return the root element in the Pivot resource resulting from import of the available
resource.
|
Element |
MetaModelManager.loadResource(org.eclipse.emf.ecore.resource.Resource resource,
org.eclipse.emf.common.util.URI uri) |
Element |
MetaModelManager.loadResource(org.eclipse.emf.common.util.URI uri,
java.lang.String alias,
org.eclipse.emf.ecore.resource.ResourceSet resourceSet) |
Modifier and Type | Method and Description |
---|---|
abstract Root |
UML2Pivot.getPivotRoot() |
Root |
UML2Pivot.Inner.getPivotRoot() |
Root |
UML2Pivot.Outer.getPivotRoot() |
static Element |
UML2Pivot.importFromUML(MetaModelManager metaModelManager,
java.lang.String alias,
org.eclipse.emf.ecore.EObject eObject)
Convert a UML object to a pivot element.
|
static Root |
UML2Pivot.importFromUML(MetaModelManager metaModelManager,
java.lang.String alias,
org.eclipse.emf.ecore.resource.Resource umlResource)
Convert a UML resource to a Pivot Model.
|
protected void |
UML2Pivot.Outer.installImports() |
Modifier and Type | Method and Description |
---|---|
static void |
PivotUtil.checkResourceErrors(java.lang.String message,
org.eclipse.emf.ecore.resource.Resource resource) |
static boolean |
PivotUtil.setParserContext(BaseResource resource,
org.eclipse.emf.ecore.EObject eObject,
java.lang.Object... todoParameters)
Configure resource to support parsing in the context of an eObject.
|
Modifier and Type | Method and Description |
---|---|
protected ExpressionInOCL |
MarkupToHTML.createQuery(java.lang.String oclString) |