|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public static interface Environment.Internal<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.
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface org.eclipse.ocl.Environment |
---|
Environment.Internal<PK,C,O,P,EL,PM,S,COA,SSA,CT,CLS,E>, Environment.Lookup<PK,C,O,P>, Environment.Registry |
Field Summary |
---|
Fields inherited from interface org.eclipse.ocl.Environment |
---|
OCL_NAMESPACE_URI, RESULT_VARIABLE_NAME, SELF_VARIABLE_NAME |
Method Summary | |
---|---|
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. |
Methods inherited from interface org.eclipse.ocl.lpg.BasicEnvironment |
---|
analyzerError, analyzerError, analyzerError, analyzerWarning, getASTMapping, getFormatter, getParser, getProblemHandler, initASTMapping, lexerError, parserError, problem, setParser, setProblemHandler, utilityError, validatorError |
Methods inherited from interface org.eclipse.ocl.util.Adaptable |
---|
getAdapter |
Methods inherited from interface org.eclipse.ocl.options.Customizable |
---|
clearOptions, getOptions, getValue, isEnabled, putOptions, removeOption, removeOptions, setOption |
Method Detail |
---|
Environment.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>, 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, CT)
method).
owner
- the classifier in which context the attribute is definedproperty
- the additional attributevoid dispose()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |