org.eclipse.ocl.examples.pivot.uml
Class UML2Pivot.Inner

java.lang.Object
  extended by org.eclipse.ocl.examples.pivot.utilities.AbstractConversion
      extended by org.eclipse.ocl.examples.pivot.ecore.AbstractEcore2Pivot
          extended by org.eclipse.ocl.examples.pivot.uml.UML2Pivot
              extended by org.eclipse.ocl.examples.pivot.uml.UML2Pivot.Inner
All Implemented Interfaces:
org.eclipse.emf.common.notify.Adapter, org.eclipse.emf.common.notify.Adapter.Internal, MetaModelManagedAdapter, MetaModelManagerListener, PivotConstants, External2Pivot
Enclosing class:
UML2Pivot

public static class UML2Pivot.Inner
extends UML2Pivot

A UML2Pivot$Inner adapts an unconverted UML resource that has been imported during the conversion of some other UML resource.


Nested Class Summary
 
Nested classes/interfaces inherited from class org.eclipse.ocl.examples.pivot.uml.UML2Pivot
UML2Pivot.Inner, UML2Pivot.Outer
 
Nested classes/interfaces inherited from class org.eclipse.ocl.examples.pivot.utilities.AbstractConversion
AbstractConversion.Predicate<T extends org.eclipse.emf.ecore.EObject>
 
Nested classes/interfaces inherited from interface org.eclipse.emf.common.notify.Adapter
org.eclipse.emf.common.notify.Adapter.Internal
 
Field Summary
protected  UML2Pivot.Outer root
           
 
Fields inherited from class org.eclipse.ocl.examples.pivot.uml.UML2Pivot
ADD_ELEMENT_EXTENSION, ADD_IMPORTED_RESOURCE, ADD_PROFILE_APPLICATION, ADD_STEREOTYPE_APPLICATION, ADD_TYPE_EXTENSION, APPLICABLE_STEREOTYPES, CONVERT_RESOURCE, pivotRoot, STEREOTYPE_BASE_PREFIX, STEREOTYPE_EXTENSION_PREFIX, TYPE_EXTENSIONS, umlResource
 
Fields inherited from class org.eclipse.ocl.examples.pivot.utilities.AbstractConversion
metaModelManager
 
Fields inherited from interface org.eclipse.ocl.examples.pivot.PivotConstants
ACCUMULATOR_SEPARATOR, ANNOTATED_IMPLICIT_OPPOSITE_LOWER_VALUE, ANNOTATED_IMPLICIT_OPPOSITE_ORDERED, ANNOTATED_IMPLICIT_OPPOSITE_UNIQUE, ANNOTATED_IMPLICIT_OPPOSITE_UPPER_VALUE, ANNOTATION_QUOTE, AS_LIBRARY_ANNOTATION_SOURCE, AS_METAMODEL_ANNOTATION_SOURCE, BINDINGS_PREFIX, COLLECTION_NAVIGATION_OPERATOR, DEFAULT_IMPLICIT_OPPOSITE_LOWER_VALUE, DEFAULT_IMPLICIT_OPPOSITE_ORDERED, DEFAULT_IMPLICIT_OPPOSITE_UNIQUE, DEFAULT_IMPLICIT_OPPOSITE_UPPER_VALUE, DOCUMENTATION_ANNOTATION_KEY, DOCUMENTATION_ANNOTATION_SOURCE, DOT_OCL_AS_FILE_EXTENSION, DUPLICATES_ANNOTATION_SOURCE, GEN_MODEL_URI, GREATER_THAN_OPERATOR, GREATER_THAN_OR_EQUAL_OPERATOR, IMPORT_ANNOTATION_SOURCE, ITERATOR_SEPARATOR, LESS_THAN_OPERATOR, LESS_THAN_OR_EQUAL_OPERATOR, LIBRARY_MONIKER_PREFIX, MESSAGE_ANNOTATION_DETAIL_SUFFIX, MESSAGE_PART_NAME, MONIKER_EXP_CHILD_PREFIX, MONIKER_IF_EXP, MONIKER_INVALID_LITERAL_EXP, MONIKER_LET_EXP, MONIKER_NULL_LITERAL_EXP, MONIKER_OPERATOR_SEPARATOR, MONIKER_OVERFLOW_LIMIT, MONIKER_PART_SEPARATOR, MONIKER_ROOT, MONIKER_ROOT_EXP, MONIKER_SCOPE_SEPARATOR, MONIKER_STRING_LITERAL_EXP, MONIKER_TUPLE_LITERAL_EXP, MONIKER_UNLIMITED_NATURAL_LITERAL_EXP, NULL_MARKER, NULL_ROOT, OBJECT_NAVIGATION_OPERATOR, OCL_AS_FILE_EXTENSION, OCL_LANGUAGE, OCL_NAME, OMG_OCL_ANNOTATION_SOURCE, ORPHANAGE_NAME, ORPHANAGE_PREFIX, ORPHANAGE_URI, OVERFLOW_MARKER, PARAMETER_PREFIX, PARAMETER_SEPARATOR, PARAMETER_SUFFIX, PIVOT_ECORE, PLUGIN_ID, PRECEDENCE_PREFIX, PRIMITIVE_TYPES_URI_PREFIX, REDEFINES_ANNOTATION_SOURCE, roleNames, SEVERITY_PART_NAME, STATUS_PART_NAME, SYSML_ANNOTATION_SOURCE, TEMPLATE_BINDING_PREFIX, TEMPLATE_BINDING_SEPARATOR, TEMPLATE_BINDING_SUFFIX, TEMPLATE_PARAMETER_PREFIX, TEMPLATE_SIGNATURE_PREFIX, TEMPLATE_SIGNATURE_SEPARATOR, TEMPLATE_SIGNATURE_SUFFIX, TUPLE_SIGNATURE_PART_SEPARATOR, TUPLE_SIGNATURE_PREFIX, TUPLE_SIGNATURE_SUFFIX, TUPLE_SIGNATURE_TYPE_SEPARATOR, UNKNOWN_TYPE_TEXT, UNRESOLVED_PROXY_MARKER, WILDCARD_INDICATOR, WILDCARD_NAME
 
Constructor Summary
protected UML2Pivot.Inner(org.eclipse.emf.ecore.resource.Resource umlResource, UML2Pivot.Outer root)
           
 
Method Summary
 void addCreated(org.eclipse.emf.ecore.EObject umlElement, Element pivotElement)
           
 void addGenericType(org.eclipse.emf.ecore.EGenericType eObject)
           
 void addImportedResource(org.eclipse.emf.ecore.resource.Resource importedResource)
           
 void addMapping(org.eclipse.emf.ecore.EObject eObject, Element pivotElement)
           
 void addProfileApplication(ProfileApplication asProfileApplication)
           
 void addProperty(Type asType, Property asProperty)
           
 void addStereotype(Stereotype asStereotype)
           
 void addStereotypeApplication(org.eclipse.emf.ecore.EObject stereotypeApplication)
           
 void addTypeExtension(TypeExtension asTypeExtension)
           
 void error(java.lang.String message)
           
<T extends Element>
T
getCreated(java.lang.Class<T> requiredClass, org.eclipse.emf.ecore.EObject eObject)
           
 UML2PivotDeclarationSwitch getDeclarationPass()
           
 Root getPivotRoot()
           
 Type getPivotType(org.eclipse.emf.ecore.EObject eObject)
           
 UML2Pivot.Outer getRoot()
           
 void queueReference(org.eclipse.emf.ecore.EObject umlElement)
           
 void queueUse(org.eclipse.emf.ecore.EObject umlElement)
           
 
Methods inherited from class org.eclipse.ocl.examples.pivot.uml.UML2Pivot
addImportedPackage, addImportedPackages, createPivotURI, dispose, findAdapter, getAdapter, getResource, getTarget, getURI, importFromUML, importFromUML, initialize, initialize, installDeclarations, isAdapterFor, isAdapterForType, isPivot, isUML, loadFromUML, metaModelManagerDisposed, notifyChanged, refreshElement, refreshNamedElement, resolveStereotype, resolveType, resolveTypeParameter, resolveWildcardType, setOriginalMapping, setTarget, setUMLURI, toString, unsetTarget
 
Methods inherited from class org.eclipse.ocl.examples.pivot.ecore.AbstractEcore2Pivot
getOriginalName, isInvariant, refreshElement, refreshNamedElement
 
Methods inherited from class org.eclipse.ocl.examples.pivot.utilities.AbstractConversion
basicGet, getEPackage, getMetaModelManager, isId, refreshList, refreshSet
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

root

@NonNull
protected final UML2Pivot.Outer root
Constructor Detail

UML2Pivot.Inner

protected UML2Pivot.Inner(@NonNull
                          org.eclipse.emf.ecore.resource.Resource umlResource,
                          @NonNull
                          UML2Pivot.Outer root)
Method Detail

addCreated

public void addCreated(@NonNull
                       org.eclipse.emf.ecore.EObject umlElement,
                       @NonNull
                       Element pivotElement)
Specified by:
addCreated in class UML2Pivot

addGenericType

public void addGenericType(@NonNull
                           org.eclipse.emf.ecore.EGenericType eObject)
Specified by:
addGenericType in class AbstractEcore2Pivot

addImportedResource

public void addImportedResource(@NonNull
                                org.eclipse.emf.ecore.resource.Resource importedResource)
Specified by:
addImportedResource in class UML2Pivot

addMapping

public void addMapping(@NonNull
                       org.eclipse.emf.ecore.EObject eObject,
                       @NonNull
                       Element pivotElement)
Specified by:
addMapping in class AbstractEcore2Pivot

addProfileApplication

public void addProfileApplication(@NonNull
                                  ProfileApplication asProfileApplication)
Specified by:
addProfileApplication in class UML2Pivot

addProperty

public void addProperty(@NonNull
                        Type asType,
                        @NonNull
                        Property asProperty)
Specified by:
addProperty in class UML2Pivot

addStereotype

public void addStereotype(@NonNull
                          Stereotype asStereotype)
Specified by:
addStereotype in class UML2Pivot

addStereotypeApplication

public void addStereotypeApplication(@NonNull
                                     org.eclipse.emf.ecore.EObject stereotypeApplication)
Specified by:
addStereotypeApplication in class UML2Pivot

addTypeExtension

public void addTypeExtension(@NonNull
                             TypeExtension asTypeExtension)
Specified by:
addTypeExtension in class UML2Pivot

error

public void error(@NonNull
                  java.lang.String message)
Specified by:
error in class UML2Pivot

getCreated

public <T extends Element> T getCreated(@NonNull
                                        java.lang.Class<T> requiredClass,
                                        @NonNull
                                        org.eclipse.emf.ecore.EObject eObject)
Specified by:
getCreated in class UML2Pivot

getDeclarationPass

@NonNull
public UML2PivotDeclarationSwitch getDeclarationPass()
Specified by:
getDeclarationPass in class UML2Pivot

getPivotRoot

@NonNull
public Root getPivotRoot()
                  throws ParserException
Specified by:
getPivotRoot in class UML2Pivot
Throws:
ParserException

getPivotType

@Nullable
public Type getPivotType(@NonNull
                                  org.eclipse.emf.ecore.EObject eObject)
Specified by:
getPivotType in class UML2Pivot

getRoot

@NonNull
public UML2Pivot.Outer getRoot()
Specified by:
getRoot in class UML2Pivot

queueReference

public void queueReference(@NonNull
                           org.eclipse.emf.ecore.EObject umlElement)
Specified by:
queueReference in class AbstractEcore2Pivot

queueUse

public void queueUse(@NonNull
                     org.eclipse.emf.ecore.EObject umlElement)
Specified by:
queueUse in class UML2Pivot