Package | Description |
---|---|
org.eclipse.ocl.examples.pivot | |
org.eclipse.ocl.examples.pivot.options |
Modifier and Type | Method and Description |
---|---|
protected java.util.Map<Option<?>,java.lang.Object> |
AbstractBasicEnvironment.basicGetOptions() |
java.util.Map<Option<?>,java.lang.Object> |
AbstractBasicEnvironment.clearOptions() |
java.util.Map<Option<?>,java.lang.Object> |
Customizable.clearOptions()
Clears all options.
|
java.util.Map<Option<?>,java.lang.Object> |
AbstractBasicEnvironment.getOptions() |
java.util.Map<Option<?>,java.lang.Object> |
Customizable.getOptions()
Obtains a copy of my map of options.
|
<T> java.util.Map<Option<T>,T> |
AbstractBasicEnvironment.removeOptions(java.util.Collection<Option<T>> unwantedOptions) |
<T> java.util.Map<Option<T>,T> |
Customizable.removeOptions(java.util.Collection<Option<T>> options)
Removes the specified options.
|
Modifier and Type | Method and Description |
---|---|
<T> T |
AbstractBasicEnvironment.getValue(Option<T> option) |
<T> T |
Customizable.getValue(Option<T> option)
Obtains the value of the specified option's setting in the my
options map.
|
boolean |
AbstractBasicEnvironment.isEnabled(Option<java.lang.Boolean> option) |
boolean |
Customizable.isEnabled(Option<java.lang.Boolean> option)
Queries whether the specified boolean-valued option is enabled.
|
boolean |
AbstractBasicEnvironment.notOK(Option<ProblemHandler.Severity> option)
Queries whether I have a non-OK setting for the specified problem option.
|
<T> T |
AbstractBasicEnvironment.removeOption(Option<T> option) |
<T> T |
Customizable.removeOption(Option<T> option)
Removes the specified option.
|
<T> void |
AbstractBasicEnvironment.setOption(Option<T> option,
T value) |
<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 |
AbstractBasicEnvironment.putOptions(java.util.Map<? extends Option<T>,? extends T> newOptions) |
<T> void |
Customizable.putOptions(java.util.Map<? extends Option<T>,? extends T> options)
Adds options to apply to my behaviour.
|
<T> java.util.Map<Option<T>,T> |
AbstractBasicEnvironment.removeOptions(java.util.Collection<Option<T>> unwantedOptions) |
<T> java.util.Map<Option<T>,T> |
Customizable.removeOptions(java.util.Collection<Option<T>> options)
Removes the specified 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<java.lang.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<java.lang.Boolean> |
EvaluationOptions.LAX_NULL_HANDLING
Evaluation option indicating whether to implement lax handling of null
values in certain OclAny-defined operations.
|
static Option<java.lang.Boolean> |
ParsingOptions.SUPPORT_STATIC_FEATURES
Parsing option indicating whether to accept static as part of a
definition constraint.
|
static Option<java.lang.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<java.lang.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<java.lang.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 Option<Type> |
ParsingOptions.implicitRootClass(Environment 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 |
---|---|
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. |
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. |