| Package | Description |
|---|---|
| org.eclipse.ocl |
Definition of the extensible environment API for OCL parsing and evaluation.
|
| org.eclipse.ocl.lpg | |
| org.eclipse.ocl.options |
| Modifier and Type | Method and Description |
|---|---|
protected Map<Option<?>,Object> |
AbstractEvaluationEnvironment.basicGetOptions() |
Map<Option<?>,Object> |
AbstractEvaluationEnvironment.clearOptions() |
Map<Option<?>,Object> |
AbstractEvaluationEnvironment.getOptions() |
<T> Map<Option<T>,T> |
AbstractEvaluationEnvironment.removeOptions(Collection<Option<T>> options) |
| Modifier and Type | Method and Description |
|---|---|
<T> T |
AbstractEvaluationEnvironment.getValue(Option<T> option) |
boolean |
AbstractEvaluationEnvironment.isEnabled(Option<Boolean> option) |
boolean |
AbstractEnvironment.notOK(Option<ProblemHandler.Severity> option)
Queries whether I have a non-OK setting for the specified problem option.
|
<T> T |
AbstractEvaluationEnvironment.removeOption(Option<T> option) |
<T> void |
AbstractEvaluationEnvironment.setOption(Option<T> option,
T value) |
| Modifier and Type | Method and Description |
|---|---|
<T> void |
AbstractEvaluationEnvironment.putOptions(Map<? extends Option<T>,? extends T> options) |
<T> Map<Option<T>,T> |
AbstractEvaluationEnvironment.removeOptions(Collection<Option<T>> options) |
| Modifier and Type | Method and Description |
|---|---|
protected Map<Option<?>,Object> |
AbstractBasicEnvironment.basicGetOptions() |
Map<Option<?>,Object> |
AbstractBasicEnvironment.clearOptions() |
Map<Option<?>,Object> |
AbstractBasicEnvironment.getOptions() |
<T> Map<Option<T>,T> |
AbstractBasicEnvironment.removeOptions(Collection<Option<T>> options) |
| Modifier and Type | Method and Description |
|---|---|
<T> T |
AbstractBasicEnvironment.getValue(Option<T> option) |
boolean |
AbstractBasicEnvironment.isEnabled(Option<Boolean> option) |
<T> T |
AbstractBasicEnvironment.removeOption(Option<T> option) |
<T> void |
AbstractBasicEnvironment.setOption(Option<T> option,
T value) |
| Modifier and Type | Method and Description |
|---|---|
<T> void |
AbstractBasicEnvironment.putOptions(Map<? extends Option<T>,? extends T> options) |
<T> Map<Option<T>,T> |
AbstractBasicEnvironment.removeOptions(Collection<Option<T>> options) |
| Modifier and Type | Class and Description |
|---|---|
class |
BasicOption<T>
Useful implementation of the
Option interface for OCL parsing options. |
class |
ProblemOption
Options for problem-reporting in parsing OCL constraints.
|
| Modifier and Type | Field and Description |
|---|---|
static Option<Boolean> |
ParsingOptions.DEFINITION_CONSTRAINS_FEATURE
Parsing option indicating whether to reference the defined property or
operation in a def: expression as a constrained element of the
constraint, in addition to the context classifier.
|
static Option<?> |
ParsingOptions.IMPLICIT_ROOT_CLASS
Static instance for the implicit-root-class option token.
|
static Option<Boolean> |
EvaluationOptions.LAX_NULL_HANDLING
Evaluation option indicating whether to implement lax handling of null
values in certain OclAny-defined operations.
|
static Option<ParsingOptions.PACKAGE_LOOKUP_STRATEGIES> |
ParsingOptions.PACKAGE_LOOKUP_STRATEGY
Static instance for the lookup-package-by-aliase option token.
|
static Option<Boolean> |
ParsingOptions.SUPPORT_STATIC_FEATURES
Parsing option indicating whether to accept static as part of a
definition constraint.
|
static Option<Boolean> |
ParsingOptions.USE_BACKSLASH_ESCAPE_PROCESSING
Parsing option indicating whether to process backslash escape sequences (
\n, \r, etc.) as specified by OMG Issue 14357 for OCL 2.3.
|
static Option<Boolean> |
ParsingOptions.USE_COMPARE_TO_OPERATION
Parsing option indicating whether to interpolate <,
<=, >, and >= operations when a model
type defines a Java-style compareTo(...) operation.
|
static Option<Boolean> |
ParsingOptions.WARN_OF_XOR_OR_AND_PRECEDENCE_CHANGE
Parsing option indicating whether to generate a warning when the
OCL 2.1 parsing of distinct xor, or, and precedences leads to a different
parse to the OCL 2.0 specification of all levels equal.
|
| Modifier and Type | Method and Description |
|---|---|
static <C> Option<C> |
ParsingOptions.implicitRootClass(Environment<?,C,?,?,?,?,?,?,?,?,?,?> env)
A parsing option specifying a class that's assumed to be the implicit
root of the subject model's class hierarchy.
|
| Modifier and Type | Method and Description |
|---|---|
Map<Option<?>,Object> |
Customizable.clearOptions()
Clears all options.
|
Map<Option<?>,Object> |
Customizable.getOptions()
Obtains a copy of my map of options.
|
<T> Map<Option<T>,T> |
Customizable.removeOptions(Collection<Option<T>> options)
Removes the specified options.
|
| Modifier and Type | Method and Description |
|---|---|
static <T> T |
ParsingOptions.getValue(Environment<?,?,?,?,?,?,?,?,?,?,?,?> env,
Option<T> option)
Obtains the value of the specified option's setting in the the given
environment's options map, adapting the environment as necessary to the
Customizable API. |
static <T> T |
EvaluationOptions.getValue(EvaluationEnvironment<?,?,?,?,?> env,
Option<T> option)
Obtains the value of the specified option's setting in the the given
environment's options map, adapting the environment as necessary to the
Customizable API. |
<T> T |
Customizable.getValue(Option<T> option)
Obtains the value of the specified option's setting in the my
options map.
|
boolean |
Customizable.isEnabled(Option<Boolean> option)
Queries whether the specified boolean-valued option is enabled.
|
<T> T |
Customizable.removeOption(Option<T> option)
Removes the specified option.
|
static <T> void |
ParsingOptions.setOption(Environment<?,?,?,?,?,?,?,?,?,?,?,?> env,
Option<T> option,
T value)
Add an option to apply to the specified environment, adapting it as
necessary to the
Customizable API. |
static <T> void |
EvaluationOptions.setOption(EvaluationEnvironment<?,?,?,?,?> env,
Option<T> option,
T value)
Add an option to apply to the specified environment, adapting it as
necessary to the
Customizable API. |
<T> void |
Customizable.setOption(Option<T> option,
T value)
Add an option to apply to my behaviour.
|
| Modifier and Type | Method and Description |
|---|---|
<T> void |
Customizable.putOptions(Map<? extends Option<T>,? extends T> options)
Adds options to apply to my behaviour.
|
<T> Map<Option<T>,T> |
Customizable.removeOptions(Collection<Option<T>> options)
Removes the specified options.
|
Copyright © 2015 Open eHealth Foundation. All rights reserved.