public class TypeResolverImpl extends AbstractTypeResolver<Package,Classifier,Operation,Property,Parameter>
TypeResolver
interface.Constructor and Description |
---|
TypeResolverImpl(UMLEnvironment env)
Initializes me with an
Environment . |
TypeResolverImpl(UMLEnvironment env,
Resource resource)
Initializes me with a resource in which I will persist the model-based
types that I generate in my associated
Environment . |
Modifier and Type | Method and Description |
---|---|
CollectionType<Classifier,Operation> |
resolveCollectionType(CollectionKind kind,
Classifier elementType)
Resolves the collection type of the specified
kind and
element type, either created anew or previously created. |
dispose, getAdditionalAttributes, getAdditionalFeaturesPackage, getAdditionalOperations, getCollectionPackage, getMessagePackage, getResource, getTuplePackage, getTypePackage, resolve, resolveAdditionalAttribute, resolveAdditionalOperation, resolveOperationMessageType, resolveSignalMessageType, resolveTupleType, resolveTypeType
public TypeResolverImpl(UMLEnvironment env)
Environment
.env
- my environmentpublic TypeResolverImpl(UMLEnvironment env, Resource resource)
Environment
.resource
- my resourcepublic CollectionType<Classifier,Operation> resolveCollectionType(CollectionKind kind, Classifier elementType)
TypeResolver
kind
and
element type, either created anew or previously created.resolveCollectionType
in interface TypeResolver<Classifier,Operation,Property>
resolveCollectionType
in class AbstractTypeResolver<Package,Classifier,Operation,Property,Parameter>
kind
- the kind of collection type to createelementType
- the element typeCopyright © 2005, 2018 IBM Corporation and others. All Rights Reserved.