org.eclipse.ocl.expressions.operations
Class CollectionRangeOperations

java.lang.Object
  extended by org.eclipse.ocl.expressions.operations.CollectionLiteralPartOperations
      extended by org.eclipse.ocl.expressions.operations.CollectionRangeOperations

public class CollectionRangeOperations
extends CollectionLiteralPartOperations

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

The following operations are supported:

Generated

Constructor Summary
protected CollectionRangeOperations()
           
 
Method Summary
static
<C> boolean
checkRangeType(CollectionRange<C> collectionRange, org.eclipse.emf.common.util.DiagnosticChain diagnostics, java.util.Map<java.lang.Object,java.lang.Object> context)
          type = first.type.commonSuperType(last.type)
 
Methods inherited from class org.eclipse.ocl.expressions.operations.CollectionLiteralPartOperations
accept, getName, getType, setName, setType
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CollectionRangeOperations

protected CollectionRangeOperations()

Generated
Method Detail

checkRangeType

public static <C> boolean checkRangeType(CollectionRange<C> collectionRange,
                                         org.eclipse.emf.common.util.DiagnosticChain diagnostics,
                                         java.util.Map<java.lang.Object,java.lang.Object> context)
type = first.type.commonSuperType(last.type)

Parameters:
collectionRange - The receiving 'Collection Range' model object.
diagnostics - The chain of diagnostics to which problems are to be appended.
context - The cache of context-specific information.
Generated
NOT