org.eclipse.ocl.examples.pivot.uml
Class UML2Pivot.Outer
java.lang.Object
org.eclipse.ocl.examples.pivot.utilities.AbstractConversion
org.eclipse.ocl.examples.pivot.ecore.AbstractEcore2Pivot
org.eclipse.ocl.examples.pivot.uml.UML2Pivot
org.eclipse.ocl.examples.pivot.uml.UML2Pivot.Outer
- 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.Outer
- extends UML2Pivot
A UML2Pivot$Outer adapts an unconverted UML resource and hosts the additional conversions
necessary for imported UML resources.
Nested classes/interfaces inherited from interface org.eclipse.emf.common.notify.Adapter |
org.eclipse.emf.common.notify.Adapter.Internal |
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 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 |
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 java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
profileAnalysis
@NonNull
protected final ProfileAnalysis profileAnalysis
modelAnalysis
@NonNull
protected final ModelAnalysis modelAnalysis
declarationPass
@NonNull
protected final UML2PivotDeclarationSwitch declarationPass
referencePass
@NonNull
protected final UML2PivotReferenceSwitch referencePass
usePass
@NonNull
protected final UML2PivotUseSwitch usePass
UML2Pivot.Outer
protected UML2Pivot.Outer(@NonNull
org.eclipse.emf.ecore.resource.Resource umlResource,
@NonNull
MetaModelManager metaModelManager)
addCreated
public void addCreated(@NonNull
org.eclipse.emf.ecore.EObject eObject,
@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 final UML2PivotDeclarationSwitch getDeclarationPass()
- Specified by:
getDeclarationPass
in class UML2Pivot
getImportedResources
@Nullable
public java.util.List<org.eclipse.emf.ecore.resource.Resource> getImportedResources()
getPivotRoot
@NonNull
public Root getPivotRoot()
throws ParserException
- Specified by:
getPivotRoot
in class UML2Pivot
- Throws:
ParserException
getPivotType
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
installAliases
protected void installAliases(@NonNull
org.eclipse.emf.ecore.resource.Resource asResource)
installImports
protected void installImports()
throws ParserException
- Throws:
ParserException
installProperties
protected void installProperties()
installReferencers
protected void installReferencers()
installUsers
protected void installUsers()
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