org.eclipse.ocl.examples.pivot.uml
Class ProfileAnalysis

java.lang.Object
  extended by org.eclipse.ocl.examples.pivot.uml.ProfileAnalysis

public class ProfileAnalysis
extends java.lang.Object

The ProfileAnalysis captures the overall analysis of the UML M2 Profiles and Stereotypes.


Field Summary
protected  UML2Pivot.Outer converter
           
protected  MetaModelManager metaModelManager
           
 
Constructor Summary
ProfileAnalysis(UML2Pivot.Outer converter)
           
 
Method Summary
 void addStereotype(Stereotype asStereotype)
           
 void addTypeExtension(TypeExtension asTypeExtension)
           
 void analyze()
           
 java.util.Map<Type,java.util.Set<TypeExtension>> computeMetatypes2typeExtensions()
           
 java.util.Map<Type,java.util.Set<TypeExtension>> computeMetatypes2typeExtensions(java.util.Set<Profile> appliedProfileClosure)
           
 Type getMetatype(java.lang.String packageName, java.lang.String className)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

converter

@NonNull
protected final UML2Pivot.Outer converter

metaModelManager

@NonNull
protected final MetaModelManager metaModelManager
Constructor Detail

ProfileAnalysis

public ProfileAnalysis(@NonNull
                       UML2Pivot.Outer converter)
Method Detail

addStereotype

public void addStereotype(@NonNull
                          Stereotype asStereotype)

addTypeExtension

public void addTypeExtension(@NonNull
                             TypeExtension asTypeExtension)

analyze

public void analyze()

computeMetatypes2typeExtensions

@NonNull
public java.util.Map<Type,java.util.Set<TypeExtension>> computeMetatypes2typeExtensions()

computeMetatypes2typeExtensions

@NonNull
public java.util.Map<Type,java.util.Set<TypeExtension>> computeMetatypes2typeExtensions(@NonNull
                                                                                                java.util.Set<Profile> appliedProfileClosure)

getMetatype

@Nullable
public Type getMetatype(@NonNull
                                 java.lang.String packageName,
                                 @NonNull
                                 java.lang.String className)