result
argument.result
to a boolean
value and returns it.
Executes every predicate
for the given collectoin, if one evaluates to false
this
operation returns false
, otherwise true
is returned.
Executes every predicate
for the given collection, if one evaluates to false
this
operation returns false
, otherwise true
is returned.
feature
on the element
.feature
on the specified element
taking the given
arguments
.null
, false otherwise.null
or only contains whitespace characters, false
otherwise.feature
is the name of a boolean evaluating feature.true
if the result of executing the transformer
has a unique value for each
element in the source collection.true
if the result of executing the transformer
has a unique value for each
element in the source collection.null
, false otherwise.null
nor only contains whitespace characters, false
otherwise.parent
Throwable.message
String.OCLPredicateFeatures.isPredicateFeature(String)
that determines if a passed in feature
matches the name of a feature that should use a predicate when being translated.Ensures that the result of the OCL expression is a boolean value.
true when the argument expression evaluates true for one and only one element in the
collection.
- one(Object, Predicate) - Static method in class org.andromda.translation.ocl.validation.OCLCollections
-
Returns true if collection
is actually a Collection instance and if the
predicate
expression evaluates true for one and only one element in the collection.
- org.andromda.translation.ocl.validation - package org.andromda.translation.ocl.validation
-
- outAArrowPropertyCallExpressionTail(AArrowPropertyCallExpressionTail) - Method in class org.andromda.translation.ocl.validation.ValidationJavaTranslator
-
Undo the arrow feature call trace.
- outADotPropertyCallExpressionTail(ADotPropertyCallExpressionTail) - Method in class org.andromda.translation.ocl.validation.ValidationJavaTranslator
-
Undo the dot feature call trace.
- outALetExp(ALetExp) - Method in class org.andromda.translation.ocl.validation.ValidationJavaTranslator
-
The variables are out of scope, we need to purge their context.
- outALetVariableDeclaration(ALetVariableDeclaration) - Method in class org.andromda.translation.ocl.validation.ValidationJavaTranslator
-
In Java we need to end the declaration statement with a semicolon, this is handled here.
- outARelationalExpression(ARelationalExpression) - Method in class org.andromda.translation.ocl.validation.ValidationJavaTranslator
-
P
- postProcess() - Method in class org.andromda.translation.ocl.validation.ValidationJavaTranslator
-
We need to wrap every expression with a converter so that any expressions that return just objects are converted
to boolean values.
- prepend(List, Object) - Static method in class org.andromda.translation.ocl.validation.OCLCollections
-
Insert the item into the first position of the list.
R
- reject(Collection, Predicate) - Static method in class org.andromda.translation.ocl.validation.OCLCollections
-
Returns a subcollection of the source collection containing all elements for which the expression evaluates
false
.
S
- select(Collection, Predicate) - Static method in class org.andromda.translation.ocl.validation.OCLCollections
-
Returns a subcollection of the source collection containing all elements for which the expression evaluates
true
.
- select(Object, Predicate) - Static method in class org.andromda.translation.ocl.validation.OCLCollections
-
Returns a subcollection of the source collection containing all elements for which the expression evaluates
true
.
- size(Object) - Static method in class org.andromda.translation.ocl.validation.OCLCollections
-
Checks the instance of the
object
and makes sure its a Collection, if the object is a collection the
size is checked and returned, if its NOT a collection, 0 is returned.
- size(Collection) - Static method in class org.andromda.translation.ocl.validation.OCLCollections
-
Returns the number of elements in the collection.
- sortedBy(Collection) - Static method in class org.andromda.translation.ocl.validation.OCLCollections
-
TODO: implement
- subOrderedSet(Set) - Static method in class org.andromda.translation.ocl.validation.OCLCollections
-
TODO: implement
- subSequence(List) - Static method in class org.andromda.translation.ocl.validation.OCLCollections
-
TODO: implement
- sum(Object) - Static method in class org.andromda.translation.ocl.validation.OCLCollections
-
Returns the sum of all the elements in the collection.
- sum(Collection) - Static method in class org.andromda.translation.ocl.validation.OCLCollections
-
Returns the sum of all the element in the collection.
- symmetricDifference(Collection, Collection) - Static method in class org.andromda.translation.ocl.validation.OCLCollections
-
Returns those element that are contained in only one of both collections.
U
- union(Collection, Collection) - Static method in class org.andromda.translation.ocl.validation.OCLCollections
-
Returns the union of both collections into a single collection.
V
- ValidationJavaTranslator - Class in org.andromda.translation.ocl.validation
-
Provides translation of OCL validation constraints to the Java language.
- ValidationJavaTranslator() - Constructor for class org.andromda.translation.ocl.validation.ValidationJavaTranslator
-
- ValidationTranslatorException - Exception in org.andromda.translation.ocl.validation
-
Any unchecked exception that will be thrown during ValidationTranslator processing.
- ValidationTranslatorException(Throwable) - Constructor for exception org.andromda.translation.ocl.validation.ValidationTranslatorException
-
Constructs a ValidationTranslatorException
- ValidationTranslatorException(String) - Constructor for exception org.andromda.translation.ocl.validation.ValidationTranslatorException
-
Constructs a ValidationTranslatorException
- ValidationTranslatorException(String, Throwable) - Constructor for exception org.andromda.translation.ocl.validation.ValidationTranslatorException
-
Constructs a ValidationTranslatorException
A C E F G H I L N O P R S U V
Copyright © 2003–2014 AndroMDA.org. All rights reserved.