Class ExpressionContext
java.lang.Object
com.nomagic.magicdraw.expressions.evaluation.ExpressionContext
Expression context used to create expressions.
- 
Field Summary
Fields - 
Constructor Summary
ConstructorsConstructorDescriptionExpressionContext(Project project) Constructor.ExpressionContext(ExpressionContext parent) Constructor. - 
Method Summary
 
- 
Field Details
- 
THIS
- See Also:
 
 - 
PROJECT
- See Also:
 
 - 
CONTEXT_METACLASS
- See Also:
 
 - 
EXPRESSION_SOURCE
- See Also:
 
 - 
EVALUATION_STEREOTYPE
- See Also:
 
 
 - 
 - 
Constructor Details
- 
ExpressionContext
Constructor.- Parameters:
 parent- parent context.
 - 
ExpressionContext
Constructor.- Parameters:
 project- project.
 
 - 
 - 
Method Details
- 
add
Add value to the current context.- Parameters:
 key- key.value- value.- Returns:
 - the previous value associated with key.
 
 - 
get
Get the value from current context, or parent context if current context has no value.- Parameters:
 key- key.- Returns:
 - the value associated with key.
 
 - 
copy
Create this context copy.- Returns:
 - copy.
 
 - 
getProject
Get project - identical toget(PROJECT).- Returns:
 - project.
 
 - 
getKeys
Context keys.- Returns:
 - keys.
 
 
 -