|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.ocl.types.operations.CollectionTypeOperations
public class CollectionTypeOperations
A static utility class that provides operations related to 'Collection Type' model objects.
The following operations are supported:
Get Name
Ocl Operations
Check Collection Type Name
Check No Invalid Values
Ocl Iterators
Constructor Summary | |
---|---|
protected |
CollectionTypeOperations()
|
Method Summary | ||
---|---|---|
static
|
checkCollectionTypeName(CollectionType<C,O> collectionType,
DiagnosticChain diagnostics,
java.util.Map<java.lang.Object,java.lang.Object> context)
self.name = 'Collection(' + self.elementType.name + ')' |
|
static
|
checkNoInvalidValues(CollectionType<C,O> collectionType,
DiagnosticChain diagnostics,
java.util.Map<java.lang.Object,java.lang.Object> context)
self->forAll(not oclIsInvalid()) |
|
static
|
getName(CollectionType<C,O> collectionType)
|
|
static
|
oclIterators(CollectionType<C,O> collectionType)
|
|
static
|
oclOperations(CollectionType<C,O> collectionType)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
protected CollectionTypeOperations()
Method Detail |
---|
public static <C,O> java.lang.String getName(CollectionType<C,O> collectionType)
public static <C,O>oclOperations(CollectionType<C,O> collectionType)
public static <C,O> boolean checkCollectionTypeName(CollectionType<C,O> collectionType, DiagnosticChain diagnostics, java.util.Map<java.lang.Object,java.lang.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, java.util.Map<java.lang.Object,java.lang.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>oclIterators(CollectionType<C,O> collectionType)
|
Copyright 2002, 2007 IBM Corporation and others. All Rights Reserved. |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |