org.eclipse.ocl.expressions.operations
Class CollectionItemOperations
java.lang.Object
org.eclipse.ocl.expressions.operations.CollectionLiteralPartOperations
org.eclipse.ocl.expressions.operations.CollectionItemOperations
public class CollectionItemOperations
- extends CollectionLiteralPartOperations
A static utility class that provides operations related to 'Collection Item' model objects.
The following operations are supported:
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CollectionItemOperations
protected CollectionItemOperations()
-
checkItemType
public static <C> boolean checkItemType(CollectionItem<C> collectionItem,
DiagnosticChain diagnostics,
Map<Object,Object> context)
-
type = item.type
- Parameters:
collectionItem
- The receiving 'Collection Item' model object.diagnostics
- The chain of diagnostics to which problems are to be appended.context
- The cache of context-specific information.