Package | Description |
---|---|
org.eclipse.ocl |
Definition of the extensible environment API for OCL parsing and evaluation.
|
org.eclipse.ocl.ecore |
Implementation of an OCL binding for the Ecore metamodel.
|
org.eclipse.ocl.ecore.impl |
Implementation of the Ecore binding of the the Types package of the
OCL Abstract Syntax.
|
org.eclipse.ocl.ecore.internal | |
org.eclipse.ocl.expressions |
Specification of the Expressions package of the Object Constraint Lanuage
version 2.0 Abstract Syntax model.
|
org.eclipse.ocl.expressions.impl |
Implementation of the Expressions package of the Object Constraint Lanuage
version 2.0 Abstract Syntax model.
|
org.eclipse.ocl.expressions.util |
Generated utilities for working with instances the Expressions model.
|
org.eclipse.ocl.internal.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.uml |
Implementation of an OCL binding for the UML metamodel.
|
org.eclipse.ocl.uml.impl |
Implementation of the UML binding of the the Types package of the
OCL Abstract Syntax.
|
org.eclipse.ocl.uml.internal | |
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 CollectionKind |
AbstractTypeChecker.commonSuperType(CollectionKind kind1,
CollectionKind kind2)
Common-supertype helper method for collection kinds
|
Modifier and Type | Method and Description |
---|---|
protected CollectionKind |
AbstractTypeChecker.commonSuperType(CollectionKind kind1,
CollectionKind kind2)
Common-supertype helper method for collection kinds
|
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 int |
AbstractTypeChecker.getRelationship(CollectionKind kind1,
CollectionKind kind2)
Get-relationship helper comparing collection kinds.
|
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 |
---|---|
protected static CollectionKind |
EcoreEvaluationEnvironment.getCollectionKind(org.eclipse.emf.ecore.ETypedElement element)
Obtains the collection kind appropriate for representing the values of
the specified typed element.
|
Modifier and Type | Field and Description |
---|---|
protected CollectionKind |
CollectionLiteralExpImpl.kind
The cached value of the '
Kind ' attribute. |
protected static CollectionKind |
CollectionLiteralExpImpl.KIND_EDEFAULT
The default value of the '
Kind ' attribute. |
protected static CollectionKind |
CollectionTypeImpl.KIND_EDEFAULT
The default value of the '
Kind ' attribute. |
Modifier and Type | Method and Description |
---|---|
CollectionKind |
BagTypeImpl.getKind() |
CollectionKind |
CollectionLiteralExpImpl.getKind() |
CollectionKind |
CollectionTypeImpl.getKind() |
CollectionKind |
OrderedSetTypeImpl.getKind() |
CollectionKind |
SequenceTypeImpl.getKind() |
CollectionKind |
SetTypeImpl.getKind() |
Modifier and Type | Method and Description |
---|---|
void |
CollectionLiteralExpImpl.setKind(CollectionKind newKind) |
Modifier and Type | Method and Description |
---|---|
<C,O> CollectionType<C,O> |
OCLFactoryImpl.createCollectionType(CollectionKind kind,
C elementType) |
Modifier and Type | Field and Description |
---|---|
static java.util.List<CollectionKind> |
CollectionKind.VALUES
A public read-only list of all the 'Collection Kind' enumerators.
|
Modifier and Type | Method and Description |
---|---|
static CollectionKind |
CollectionKind.get(int value)
Returns the 'Collection Kind' literal with the specified integer value.
|
static CollectionKind |
CollectionKind.get(java.lang.String literal)
Returns the 'Collection Kind' literal with the specified literal value.
|
static CollectionKind |
CollectionKind.getByName(java.lang.String name)
Returns the 'Collection Kind' literal with the specified name.
|
CollectionKind |
CollectionLiteralExp.getKind()
Returns the value of the 'Kind' attribute.
|
static CollectionKind |
CollectionKind.getKind(boolean ordered,
boolean unique) |
static CollectionKind |
CollectionKind.valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static CollectionKind[] |
CollectionKind.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
void |
CollectionLiteralExp.setKind(CollectionKind value)
Sets the value of the '
Kind ' attribute. |
Modifier and Type | Field and Description |
---|---|
protected CollectionKind |
CollectionLiteralExpImpl.kind
The cached value of the '
Kind ' attribute. |
protected static CollectionKind |
CollectionLiteralExpImpl.KIND_EDEFAULT
The default value of the '
Kind ' attribute. |
Modifier and Type | Method and Description |
---|---|
CollectionKind |
ExpressionsFactoryImpl.createCollectionKindFromString(org.eclipse.emf.ecore.EDataType eDataType,
java.lang.String initialValue) |
CollectionKind |
CollectionLiteralExpImpl.getKind() |
Modifier and Type | Method and Description |
---|---|
void |
CollectionLiteralExpImpl.setKind(CollectionKind newKind) |
Modifier and Type | Method and Description |
---|---|
boolean |
ExpressionsValidator.validateCollectionKind(CollectionKind collectionKind,
org.eclipse.emf.common.util.DiagnosticChain diagnostics,
java.util.Map<java.lang.Object,java.lang.Object> context) |
Modifier and Type | Method and Description |
---|---|
protected CollectionType<C,O> |
BasicTypeChecker.resolveCollectionType(CollectionKind kind,
C elementType) |
Modifier and Type | Method and Description |
---|---|
protected CollectionKind |
AbstractOCLAnalyzer.collectionTypeIdentifierCS(CollectionTypeIdentifierEnum collectionTypeIdentifier)
CollectionTypeIdentifierCS
|
protected CollectionKind |
AbstractOCLAnalyzer.getCollectionKind(C possibleCollectionType) |
Modifier and Type | Method and Description |
---|---|
<C,O> CollectionType<C,O> |
OCLFactoryWithHistory.createCollectionType(CollectionKind kind,
C elementType) |
protected C |
AbstractOCLAnalyzer.getCollectionType(CSTNode cstNode,
Environment<PK,C,O,P,EL,PM,S,COA,SSA,CT,CLS,E> env,
CollectionKind kind,
C elementType)
Obtains the current environment's representation of the collection type
of the specified kind on the given element type.
|
protected C |
AbstractOCLAnalyzer.getCollectionType(Environment<PK,C,O,P,EL,PM,S,COA,SSA,CT,CLS,E> env,
CollectionKind kind,
C elementType)
Deprecated.
Since 1.3, use the
AbstractOCLAnalyzer.getCollectionType(CSTNode, Environment, CollectionKind, Object)
method, instead. |
Modifier and Type | Method and Description |
---|---|
CollectionKind |
CollectionType.getKind()
Returns the value of the 'Kind' attribute.
|
Modifier and Type | Field and Description |
---|---|
protected static CollectionKind |
CollectionTypeImpl.KIND_EDEFAULT
The default value of the '
Kind ' attribute. |
Modifier and Type | Method and Description |
---|---|
CollectionKind |
BagTypeImpl.getKind() |
CollectionKind |
CollectionTypeImpl.getKind() |
CollectionKind |
OrderedSetTypeImpl.getKind() |
CollectionKind |
SequenceTypeImpl.getKind() |
CollectionKind |
SetTypeImpl.getKind() |
Modifier and Type | Method and Description |
---|---|
<C,O> CollectionType<C,O> |
TypesFactoryImpl.createCollectionType(CollectionKind kind,
C elementType) |
Modifier and Type | Method and Description |
---|---|
CollectionType<org.eclipse.uml2.uml.Classifier,org.eclipse.uml2.uml.Operation> |
TypeResolverImpl.resolveCollectionType(CollectionKind kind,
org.eclipse.uml2.uml.Classifier elementType) |
Modifier and Type | Field and Description |
---|---|
protected CollectionKind |
CollectionLiteralExpImpl.kind
The cached value of the '
Kind ' attribute. |
protected static CollectionKind |
CollectionLiteralExpImpl.KIND_EDEFAULT
The default value of the '
Kind ' attribute. |
protected static CollectionKind |
CollectionTypeImpl.KIND_EDEFAULT
The default value of the '
Kind ' attribute. |
Modifier and Type | Method and Description |
---|---|
CollectionKind |
BagTypeImpl.getKind() |
CollectionKind |
CollectionLiteralExpImpl.getKind() |
CollectionKind |
CollectionTypeImpl.getKind() |
CollectionKind |
OrderedSetTypeImpl.getKind() |
CollectionKind |
SequenceTypeImpl.getKind() |
CollectionKind |
SetTypeImpl.getKind() |
Modifier and Type | Method and Description |
---|---|
void |
CollectionLiteralExpImpl.setKind(CollectionKind newKind) |
Modifier and Type | Method and Description |
---|---|
<C,O> CollectionType<C,O> |
OCLFactoryImpl.createCollectionType(CollectionKind kind,
C elementType) |
static java.util.Collection<org.eclipse.uml2.uml.Operation> |
OCLStandardLibraryImpl.createCollectionTypeOperations(Environment<?,org.eclipse.uml2.uml.Classifier,org.eclipse.uml2.uml.Operation,?,?,org.eclipse.uml2.uml.Parameter,?,?,?,?,?,?> env,
CollectionKind kind) |
Modifier and Type | Method and Description |
---|---|
static <E> java.util.Collection<E> |
CollectionUtil.createNewCollection(CollectionKind kind)
Creates a new OCL Collection of the specified kind.
|
static <E> java.util.Collection<E> |
CollectionUtil.createNewCollection(CollectionKind kind,
java.util.Collection<E> c)
Creates a new OCL Collection of the specified kind.
|
static <PK,C,O,P,EL,PM,S,COA,SSA,CT,CLS,E> |
TypeUtil.resolveCollectionType(Environment<PK,C,O,P,EL,PM,S,COA,SSA,CT,CLS,E> env,
CollectionKind kind,
C elementType)
Resolves a collection type against the collection types previously generated
and persisted in the environment.
|
Modifier and Type | Method and Description |
---|---|
<C,O> CollectionType<C,O> |
OCLFactory.createCollectionType(CollectionKind kind,
C elementType)
Returns a new object of class 'Collection Type'.
|