public final class OCLResultEnsurer extends Object
Object
because of the fact that OCLIntropector is
used. Constructor and Description |
---|
OCLResultEnsurer() |
Modifier and Type | Method and Description |
---|---|
static boolean |
ensure()
Needed in case OCL syntax is invalid - no boolean parameter is added to ensure() method
|
static boolean |
ensure(boolean result)
Does nothing but return the passed in
result argument. |
static boolean |
ensure(Object result)
Converts the passed in
result to a boolean value and returns it. |
public OCLResultEnsurer()
public static boolean ensure()
public static boolean ensure(boolean result)
result
argument.result
- the result.Copyright © 2003–2014 AndroMDA.org. All rights reserved.