org.eclipse.ocl.examples.pivot
Interface Environment.Internal
- All Superinterfaces:
- Adaptable, BasicEnvironment, Customizable, Environment
- All Known Implementing Classes:
- AbstractEnvironment, PivotEnvironment
- Enclosing interface:
- Environment
public static interface Environment.Internal
- extends Environment
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.
- Author:
- Christian W. Damus (cdamus)
| Methods inherited from interface org.eclipse.ocl.examples.pivot.Environment |
addElement, getContextClassifier, getContextOperation, getContextPackage, getContextProperty, getDefinition, getFactory, getMetaModelManager, getOCLFactory, getOCLStandardLibrary, getParent, getSelfVariable, getStates, setSelfVariable |
getInternalParent
Environment.Internal getInternalParent()
- Obtains my parent environment after construction.
- Returns:
- my parent
setInternalParent
void setInternalParent(Environment.Internal parent)
- Assigns me a parent environment after construction. It is not advisable
to set the parent to
null if I previously had one.
- Parameters:
parent - my new parent
dispose
void dispose()
- Disposes of any objects that I have created that should be cleaned
up.