org.eclipse.ocl.expressions.operations
Class CollectionLiteralPartOperations

java.lang.Object
  extended by org.eclipse.ocl.expressions.operations.CollectionLiteralPartOperations
Direct Known Subclasses:
CollectionItemOperations, CollectionRangeOperations

public class CollectionLiteralPartOperations
extends Object

A static utility class that provides operations related to 'Collection Literal Part' model objects.

Since:
1.3

The following operations are supported:


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

Constructor Detail

CollectionLiteralPartOperations

protected CollectionLiteralPartOperations()

Method Detail

getName

public static <C> String getName(CollectionLiteralPart<C> collectionLiteralPart)


getType

public static <C> C getType(CollectionLiteralPart<C> collectionLiteralPart)


setName

public static <C> void setName(CollectionLiteralPart<C> collectionLiteralPart,
                               String name)


setType

public static <C> void setType(CollectionLiteralPart<C> collectionLiteralPart,
                               C type)


accept

public static <C,T,U extends Visitor<T,?,?,?,?,?,?,?,?,?>> T accept(CollectionLiteralPart<C> collectionLiteralPart,
                                                                    U v)


Copyright 2002, 2007 IBM Corporation and others.
All Rights Reserved.