public static class UML2AS.Outer extends UML2AS
UML2AS.Inner, UML2AS.Outer
AbstractConversion.Predicate<T extends org.eclipse.emf.ecore.EObject>
Modifier and Type | Field and Description |
---|---|
protected UML2ASDeclarationSwitch |
declarationPass |
protected ModelAnalysis |
modelAnalysis |
protected ProfileAnalysis |
profileAnalysis |
protected UML2ASReferenceSwitch |
referencePass |
protected UML2ASUseSwitch |
usePass |
ADD_ELEMENT_EXTENSION, ADD_IMPORTED_RESOURCE, ADD_PROFILE_APPLICATION, ADD_STEREOTYPE_APPLICATION, ADD_TYPE_EXTENSION, APPLICABLE_STEREOTYPES, CONVERT_RESOURCE, OCLforUML, OCLforUML_COLLECTION, OCLforUML_COLLECTION_IS_NULL_FREE_NAME, OCLforUML_COLLECTIONS, OCLforUML_COLLECTIONS_IS_NULL_FREE_NAME, pivotModel, STEREOTYPE_BASE_PREFIX, STEREOTYPE_EXTENSION_PREFIX, TYPE_EXTENSIONS, umlResource
completeEnvironment, environmentFactory, metamodelManager, standardLibrary
ACCUMULATOR_SEPARATOR, ANNOTATED_IMPLICIT_OPPOSITE_LOWER_VALUE, ANNOTATED_IMPLICIT_OPPOSITE_ORDERED, ANNOTATED_IMPLICIT_OPPOSITE_UNIQUE, ANNOTATED_IMPLICIT_OPPOSITE_UPPER_VALUE, ANNOTATION_QUOTE, BINDINGS_PREFIX, BODY_EXPRESSION_ROLE, DEFAULT_EXPRESSION_ROLE, DEFAULT_IMPLICIT_OPPOSITE_LOWER_VALUE, DEFAULT_IMPLICIT_OPPOSITE_ORDERED, DEFAULT_IMPLICIT_OPPOSITE_UNIQUE, DEFAULT_IMPLICIT_OPPOSITE_UPPER_VALUE, DOCUMENTATION_ANNOTATION_KEY, DOCUMENTATION_ANNOTATION_SOURCE, DUPLICATES_ANNOTATION_SOURCE, GEN_MODEL_URI, ITERATOR_SEPARATOR, LIBRARY_MONIKER_PREFIX, MESSAGE_ANNOTATION_DETAIL_SUFFIX, 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, OLD_ORPHANAGE_URI, OPERATION_ANNOTATION_SOURCE, OPERATION_IS_TRANSIENT, OVERFLOW_MARKER, OWNED_CONSTRAINT_ROLE, PARAMETER_PREFIX, PARAMETER_SEPARATOR, PARAMETER_SUFFIX, PIVOT_ECORE, PLUGIN_ID, POSTCONDITION_ROLE, PRECEDENCE_PREFIX, PRECONDITION_ROLE, REDEFINES_ANNOTATION_SOURCE, roleNames, 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_ROLE, UNKNOWN_TYPE_TEXT, UNRESOLVED_PROXY_MARKER, WILDCARD_INDICATOR, WILDCARD_NAME
Modifier | Constructor and Description |
---|---|
protected |
Outer(org.eclipse.emf.ecore.resource.Resource umlResource,
EnvironmentFactoryInternal environmentFactory) |
Modifier and Type | Method and Description |
---|---|
void |
addCreated(org.eclipse.emf.ecore.EObject eObject,
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(Class asType,
Property asProperty) |
void |
addStereotype(Stereotype asStereotype) |
void |
addStereotypeApplication(org.eclipse.emf.ecore.EObject stereotypeApplication) |
void |
addTypeExtension(StereotypeExtender asTypeExtension) |
void |
error(java.lang.String message) |
Model |
getASModel() |
Type |
getASType(org.eclipse.emf.ecore.EObject eObject) |
<T extends Element> |
getCreated(java.lang.Class<T> requiredClass,
org.eclipse.emf.ecore.EObject eObject) |
java.util.Map<org.eclipse.emf.ecore.EObject,Element> |
getCreatedMap() |
UML2ASDeclarationSwitch |
getDeclarationPass() |
java.util.List<org.eclipse.emf.ecore.resource.Resource> |
getImportedResources() |
UML2AS.Outer |
getRoot() |
protected void |
installAliases(org.eclipse.emf.ecore.resource.Resource asResource) |
protected void |
installImports() |
protected void |
installProperties() |
protected void |
installReferencers() |
protected void |
installUsers() |
void |
queueReference(org.eclipse.emf.ecore.EObject umlElement) |
void |
queueUse(org.eclipse.emf.ecore.EObject umlElement) |
void |
resolveMultiplicity(TypedElement pivotElement,
org.eclipse.uml2.uml.TypedElement umlTypedElement) |
addImportedPackage, addImportedPackages, basicGetPivotModel, copyModelElement, copyNamedElement, createPivotURI, getAdapter, getBody, getResource, getURI, importFromUML, importFromUML, initialize, initialize, initialize, installDeclarations, isPivot, isUML, loadFromUML, refreshElement, refreshNamedElement, refreshOpaqueExpression, resolveStereotype, resolveType, resolveTypeParameter, resolveWildcardType, setOriginalMapping, setUMLURI, toString
cannotBeOptional, dispose, findAdapter, isInvariant, refreshElement, refreshNamedElement
basicGet, getEnvironmentFactory, getEPackage, getMetamodelManager, getStandardLibrary, isId, refreshList, refreshSet
@NonNull protected final ProfileAnalysis profileAnalysis
@NonNull protected final ModelAnalysis modelAnalysis
@NonNull protected final UML2ASDeclarationSwitch declarationPass
@NonNull protected final UML2ASReferenceSwitch referencePass
@NonNull protected final UML2ASUseSwitch usePass
protected Outer(@NonNull org.eclipse.emf.ecore.resource.Resource umlResource, @NonNull EnvironmentFactoryInternal environmentFactory)
public void addCreated(@NonNull org.eclipse.emf.ecore.EObject eObject, @NonNull Element pivotElement)
addCreated
in class UML2AS
public void addGenericType(@NonNull org.eclipse.emf.ecore.EGenericType eObject)
addGenericType
in class AbstractExternal2AS
public void addImportedResource(@NonNull org.eclipse.emf.ecore.resource.Resource importedResource)
addImportedResource
in class UML2AS
public void addMapping(@NonNull org.eclipse.emf.ecore.EObject eObject, @NonNull Element pivotElement)
addMapping
in class AbstractExternal2AS
public void addProfileApplication(@NonNull ProfileApplication asProfileApplication)
addProfileApplication
in class UML2AS
public void addProperty(Class asType, @NonNull Property asProperty)
addProperty
in class UML2AS
public void addStereotype(@NonNull Stereotype asStereotype)
addStereotype
in class UML2AS
public void addStereotypeApplication(@NonNull org.eclipse.emf.ecore.EObject stereotypeApplication)
addStereotypeApplication
in class UML2AS
public void addTypeExtension(@NonNull StereotypeExtender asTypeExtension)
addTypeExtension
in class UML2AS
@NonNull public Model getASModel() throws ParserException
ParserException
public Type getASType(@NonNull org.eclipse.emf.ecore.EObject eObject)
@Nullable public <T extends Element> T getCreated(@NonNull java.lang.Class<T> requiredClass, @NonNull org.eclipse.emf.ecore.EObject eObject)
@Nullable public java.util.Map<org.eclipse.emf.ecore.EObject,Element> getCreatedMap()
@NonNull public final UML2ASDeclarationSwitch getDeclarationPass()
getDeclarationPass
in class UML2AS
@Nullable public java.util.List<org.eclipse.emf.ecore.resource.Resource> getImportedResources()
@NonNull public UML2AS.Outer getRoot()
protected void installAliases(@NonNull org.eclipse.emf.ecore.resource.Resource asResource)
protected void installImports() throws ParserException
ParserException
protected void installProperties()
protected void installReferencers()
protected void installUsers()
public void queueReference(@NonNull org.eclipse.emf.ecore.EObject umlElement)
queueReference
in class AbstractExternal2AS
public void queueUse(@NonNull org.eclipse.emf.ecore.EObject umlElement)
public void resolveMultiplicity(@NonNull TypedElement pivotElement, org.eclipse.uml2.uml.TypedElement umlTypedElement)
resolveMultiplicity
in class UML2AS