public class CollectionTypeOperations extends Object
The following operations are supported:
Get Name
Ocl Operations
Check Collection Type Name
Check No Invalid Values
Ocl Iterators
Modifier and Type | Method and Description |
---|---|
static <C,O> boolean |
checkCollectionTypeName(CollectionType<C,O> collectionType,
DiagnosticChain diagnostics,
Map<Object,Object> context)
self.name = 'Collection(' + self.elementType.name + ')'
|
static <C,O> boolean |
checkNoInvalidValues(CollectionType<C,O> collectionType,
DiagnosticChain diagnostics,
Map<Object,Object> context)
self->forAll(not oclIsInvalid())
|
static <C,O> String |
getName(CollectionType<C,O> collectionType) |
static <C,O> <any> |
oclIterators(CollectionType<C,O> collectionType) |
static <C,O> <any> |
oclOperations(CollectionType<C,O> collectionType) |
public static <C,O> String getName(CollectionType<C,O> collectionType)
public static <C,O> <any> oclOperations(CollectionType<C,O> collectionType)
public static <C,O> boolean checkCollectionTypeName(CollectionType<C,O> collectionType, DiagnosticChain diagnostics, Map<Object,Object> context)
collectionType
- The receiving 'Collection Type' model object.diagnostics
- The chain of diagnostics to which problems are to be appended.context
- The cache of context-specific information.
public static <C,O> boolean checkNoInvalidValues(CollectionType<C,O> collectionType, DiagnosticChain diagnostics, Map<Object,Object> context)
collectionType
- The receiving 'Collection Type' model object.diagnostics
- The chain of diagnostics to which problems are to be appended.context
- The cache of context-specific information.
public static <C,O> <any> oclIterators(CollectionType<C,O> collectionType)
Copyright © 2005, 2018 IBM Corporation and others. All Rights Reserved.