| Package | Description |
|---|---|
| org.eclipse.ocl |
Definition of the extensible environment API for OCL parsing and evaluation.
|
| org.eclipse.ocl.parser | |
| org.eclipse.ocl.types |
Specification of the Types package of the Object Constraint Lanuage
version 2.0 Abstract Syntax model.
|
| org.eclipse.ocl.types.impl |
Implementation of the Types package of the Object Constraint Lanuage
version 2.0 Abstract Syntax model.
|
| org.eclipse.ocl.types.operations | |
| org.eclipse.ocl.types.util |
Generated utilities for working with instances the Types model.
|
| org.eclipse.ocl.util |
Miscellaneous utilities in support of the OCL parser and environment
implementations.
|
| org.eclipse.ocl.utilities |
Abstract API for OCL AST utilities and extensions of the UML metamodel.
|
| Modifier and Type | Method and Description |
|---|---|
protected CollectionType<C,O> |
AbstractTypeResolver.createCollectionType(CollectionKind kind,
C elementType)
Creates a new collection type of the specified
kind and element
type, assuming that it does not already exist. |
protected CollectionType<C,O> |
AbstractTypeResolver.findCollectionType(CollectionKind kind,
C elementType)
Finds an existing collection type matching the specified
kind and
element type, if any has already been created. |
protected abstract CollectionType<C,O> |
AbstractTypeChecker.resolveCollectionType(CollectionKind kind,
C elementType)
Resolves the specified collection type to a collection type already
available in the current environment, or else a new one.
|
CollectionType<C,O> |
AbstractTypeResolver.resolveCollectionType(CollectionKind kind,
C elementType) |
CollectionType<C,O> |
TypeResolver.resolveCollectionType(CollectionKind kind,
C elementType)
Resolves the collection type of the specified
kind and
element type, either created anew or previously created. |
| Modifier and Type | Method and Description |
|---|---|
<C,O> CollectionType<C,O> |
OCLFactoryWithHistory.createCollectionType(C elementType) |
<C,O> CollectionType<C,O> |
OCLFactoryWithHistory.createCollectionType(CollectionKind kind,
C elementType) |
| Modifier and Type | Interface and Description |
|---|---|
interface |
BagType<C,O>
A representation of the model object 'Bag Type'.
|
interface |
OrderedSetType<C,O>
A representation of the model object 'Ordered Set Type'.
|
interface |
SequenceType<C,O>
A representation of the model object 'Sequence Type'.
|
interface |
SetType<C,O>
A representation of the model object 'Set Type'.
|
| Modifier and Type | Method and Description |
|---|---|
<C,O> CollectionType<C,O> |
TypesFactory.createCollectionType()
Returns a new object of class 'Collection Type'.
|
| Modifier and Type | Class and Description |
|---|---|
class |
BagTypeImpl<C,O>
An implementation of the model object 'Bag Type'.
|
class |
CollectionTypeImpl<C,O>
An implementation of the model object 'Collection Type'.
|
class |
OrderedSetTypeImpl<C,O>
An implementation of the model object 'Ordered Set Type'.
|
class |
SequenceTypeImpl<C,O>
An implementation of the model object 'Sequence Type'.
|
class |
SetTypeImpl<C,O>
An implementation of the model object 'Set Type'.
|
| Modifier and Type | Method and Description |
|---|---|
<C,O> CollectionType<C,O> |
TypesFactoryImpl.createCollectionType() |
<C,O> CollectionType<C,O> |
TypesFactoryImpl.createCollectionType(C elementType) |
<C,O> CollectionType<C,O> |
TypesFactoryImpl.createCollectionType(CollectionKind kind,
C elementType) |
| Modifier and Type | Method and Description |
|---|---|
static <C,O> boolean |
CollectionTypeOperations.checkCollectionTypeName(CollectionType<C,O> collectionType,
DiagnosticChain diagnostics,
Map<Object,Object> context)
self.name = 'Collection(' + self.elementType.name + ')'
|
static <C,O> boolean |
CollectionTypeOperations.checkNoInvalidValues(CollectionType<C,O> collectionType,
DiagnosticChain diagnostics,
Map<Object,Object> context)
self->forAll(not oclIsInvalid())
|
static <C,O> String |
CollectionTypeOperations.getName(CollectionType<C,O> collectionType) |
static <C,O> <any> |
CollectionTypeOperations.oclIterators(CollectionType<C,O> collectionType) |
static <C,O> <any> |
CollectionTypeOperations.oclOperations(CollectionType<C,O> collectionType) |
| Modifier and Type | Method and Description |
|---|---|
<C,O> T |
TypesSwitch.caseCollectionType(CollectionType<C,O> object)
Returns the result of interpreting the object as an instance of 'Collection Type'.
|
boolean |
TypesValidator.validateCollectionType_checkCollectionTypeName(CollectionType<?,?> collectionType,
DiagnosticChain diagnostics,
Map<Object,Object> context)
Validates the checkCollectionTypeName constraint of 'Collection Type'.
|
boolean |
TypesValidator.validateCollectionType_checkNoInvalidValues(CollectionType<?,?> collectionType,
DiagnosticChain diagnostics,
Map<Object,Object> context)
Validates the checkNoInvalidValues constraint of 'Collection Type'.
|
boolean |
TypesValidator.validateCollectionType(CollectionType<?,?> collectionType,
DiagnosticChain diagnostics,
Map<Object,Object> context) |
| Modifier and Type | Method and Description |
|---|---|
static <C> C |
CollectionUtil.getFlattenedElementType(CollectionType<C,?> type)
Obtains the type of the flattened form of the specified collection type.
|
| Modifier and Type | Method and Description |
|---|---|
<C,O> CollectionType<C,O> |
OCLFactory.createCollectionType(C elementType)
Returns a new object of class 'Collection Type'.
|
<C,O> CollectionType<C,O> |
OCLFactory.createCollectionType(CollectionKind kind,
C elementType)
Returns a new object of class 'Collection Type'.
|
Copyright © 2015 Open eHealth Foundation. All rights reserved.