org.eclipse.ocl.expressions.operations
Class OCLExpressionOperations

java.lang.Object
  extended by org.eclipse.ocl.expressions.operations.OCLExpressionOperations
Direct Known Subclasses:
BooleanLiteralExpOperations, CollectionLiteralExpOperations, EnumLiteralExpOperations, IfExpOperations, IntegerLiteralExpOperations, LetExpOperations, LoopExpOperations, MessageExpOperations, OperationCallExpOperations, PropertyCallExpOperations, RealLiteralExpOperations, StringLiteralExpOperations, TupleLiteralExpOperations, UnlimitedNaturalLiteralExpOperations, VariableExpOperations

public class OCLExpressionOperations
extends java.lang.Object

A static utility class that provides operations related to 'OCL Expression' model objects.

Since:
1.3

The following operations are supported:

Generated

Constructor Summary
protected OCLExpressionOperations()
           
 
Method Summary
static
<C,T,U extends Visitor<T,?,?,?,?,?,?,?,?,?>>
T
accept(OCLExpression<C> oclExpression, U v)
           
static
<C> java.lang.String
getName(OCLExpression<C> oclExpression)
           
static
<C> C
getType(OCLExpression<C> oclExpression)
           
static
<C> void
setName(OCLExpression<C> oclExpression, java.lang.String name)
           
static
<C> void
setType(OCLExpression<C> oclExpression, C type)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OCLExpressionOperations

protected OCLExpressionOperations()

Generated
Method Detail

getName

public static <C> java.lang.String getName(OCLExpression<C> oclExpression)

Generated
NOT

getType

public static <C> C getType(OCLExpression<C> oclExpression)

Generated
NOT

setName

public static <C> void setName(OCLExpression<C> oclExpression,
                               java.lang.String name)

Generated
NOT

setType

public static <C> void setType(OCLExpression<C> oclExpression,
                               C type)

Generated
NOT

accept

public static <C,T,U extends Visitor<T,?,?,?,?,?,?,?,?,?>> T accept(OCLExpression<C> oclExpression,
                                                                    U v)

Generated
NOT