public static interface Environment.Internal<PK,C,O,P,EL,PM,S,COA,SSA,CT,CLS,E> extends BasicEnvironment, Environment<PK,C,O,P,EL,PM,S,COA,SSA,CT,CLS,E>
An interface that merges the Environment and
BasicEnvironment interfaces that define the
behaviour realised in abstract form by AbstractEnvironment.
The purpose of this interface is primarily for internal use by the
parser and/or the particular environment implementation and its
corresponding factory. Client applications will not usually need to
use this interface.
This interface is not expected to be implemented by clients. It may
be implemented by custom Environment classes, but it is
recommended to extend the AbstractEnvironment class.
Environment.Internal<PK,C,O,P,EL,PM,S,COA,SSA,CT,CLS,E>, Environment.Lookup<PK,C,O,P>, Environment.RegistryOCL_NAMESPACE_URI, RESULT_VARIABLE_NAME, SELF_VARIABLE_NAME| Modifier and Type | Method and Description |
|---|---|
void |
addHelperOperation(C owner,
O operation)
Adds an OCL-defined additional ("helper") operation to
the environment.
|
void |
addHelperProperty(C owner,
P property)
Adds an OCL-defined additional ("helper") attribute to
the environment.
|
void |
dispose()
Disposes of any objects that I have created that should be cleaned
up.
|
Environment.Internal<PK,C,O,P,EL,PM,S,COA,SSA,CT,CLS,E> |
getInternalParent()
Obtains my parent environment after construction.
|
void |
setInternalParent(Environment.Internal<PK,C,O,P,EL,PM,S,COA,SSA,CT,CLS,E> parent)
Assigns me a parent environment after construction.
|
analyzerError, analyzerError, analyzerError, analyzerWarning, getASTMapping, getFormatter, getParser, getProblemHandler, initASTMapping, lexerError, parserError, problem, setParser, setProblemHandler, utilityError, validatorErrorgetAdapterclearOptions, getOptions, getValue, isEnabled, putOptions, removeOption, removeOptions, setOptionaddElement, defineAttribute, defineOperation, deleteElement, getAdditionalAttributes, getAdditionalOperations, getBodyCondition, getContextClassifier, getContextOperation, getContextPackage, getContextProperty, getDefinition, getDeriveConstraint, getFactory, getInitConstraint, getOCLFactory, getOCLStandardLibrary, getParent, getSelfVariable, getStates, getTypeResolver, getUMLReflection, getVariables, isEmpty, isInPostcondition, lookup, lookupAssociationClassReference, lookupClassifier, lookupImplicitSourceForAssociationClass, lookupImplicitSourceForOperation, lookupImplicitSourceForProperty, lookupImplicitSourceForSignal, lookupImplicitSourceForState, lookupLocal, lookupOperation, lookupPackage, lookupProperty, lookupSignal, lookupState, setBodyCondition, setDeriveConstraint, setInitConstraint, setParent, setSelfVariable, undefineEnvironment.Internal<PK,C,O,P,EL,PM,S,COA,SSA,CT,CLS,E> getInternalParent()
void setInternalParent(Environment.Internal<PK,C,O,P,EL,PM,S,COA,SSA,CT,CLS,E> parent)
null if I previously had one.parent - my new parentvoid addHelperOperation(C owner, O operation)
Environment.defineOperation(C, java.lang.String, C, java.util.List<org.eclipse.ocl.expressions.Variable<C, PM>>, CT) method).owner - the classifier in which context the attribute is definedoperation - the additional operationvoid addHelperProperty(C owner, P property)
Environment.defineAttribute(C, org.eclipse.ocl.expressions.Variable<C, PM>, CT) method).owner - the classifier in which context the attribute is definedproperty - the additional attributevoid dispose()
Copyright © 2015 Open eHealth Foundation. All rights reserved.