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

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

public class UML2PivotUtil
extends java.lang.Object

UML2PivotUtil provides a variety of helpful routines for dealing with UML midels in conjunction with the Pivot-based OCL.


Constructor Summary
UML2PivotUtil()
           
 
Method Summary
static java.util.Map<org.eclipse.emf.ecore.EObject,java.util.List<org.eclipse.uml2.uml.Element>> computeAppliedStereotypes(java.lang.Iterable<org.eclipse.emf.ecore.EObject> umlStereotypeApplications)
           
static java.util.List<org.eclipse.uml2.uml.Element> resolveStereotypedElements(org.eclipse.emf.ecore.EObject umlStereotypeApplication)
          Determine the list of UML elements stereotyped by a UML stereotype application.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UML2PivotUtil

public UML2PivotUtil()
Method Detail

computeAppliedStereotypes

@NonNull
public static java.util.Map<org.eclipse.emf.ecore.EObject,java.util.List<org.eclipse.uml2.uml.Element>> computeAppliedStereotypes(@NonNull
                                                                                                                                          java.lang.Iterable<org.eclipse.emf.ecore.EObject> umlStereotypeApplications)

resolveStereotypedElements

@NonNull
public static java.util.List<org.eclipse.uml2.uml.Element> resolveStereotypedElements(@NonNull
                                                                                              org.eclipse.emf.ecore.EObject umlStereotypeApplication)
Determine the list of UML elements stereotyped by a UML stereotype application. These are the targets of base_XXX XML elements.