Class EmfUml2Helper
- java.lang.Object
-
- com.nomagic.magicdraw.emfuml2xmi.BaseEmfUml2Helper
-
- com.nomagic.magicdraw.emfuml2xmi.v2.EmfUml2Helper
-
- All Implemented Interfaces:
BaseEElementNameRetriever
,BaseEmfUml2Helper
- Direct Known Subclasses:
EmfUml2ExportHelper
,EmfUml2ImportHelper
@OpenApi public abstract class EmfUml2Helper extends BaseEmfUml2Helper
Eclipse UML2 XMI helper.
-
-
Field Summary
Fields Modifier and Type Field Description private org.eclipse.uml2_2_0_4.uml.Type
mElementType
private org.eclipse.uml2_2_0_4.uml.Profile
mEmfUmlStandardProfile
private org.eclipse.uml2_2_0_4.uml.Type
mStringPrimitiveType
private com.nomagic.magicdraw.emfuml2xmi.v2.helpers.TemplateParameterHelper
mTemplateParameterHelper
private org.eclipse.uml2_2_0_4.uml.Model
mUml2JavaPrimitiveTypesLibrary
private org.eclipse.uml2_2_0_4.uml.Model
mUml2MetaModel
private org.eclipse.uml2_2_0_4.uml.Model
mUml2PrimitiveTypesLibrary
-
Fields inherited from class com.nomagic.magicdraw.emfuml2xmi.BaseEmfUml2Helper
MAGICDRAW_SOURCE, MD_ID, MD_PROPERTY_NAME
-
-
Constructor Summary
Constructors Constructor Description EmfUml2Helper(Project project, EmfUml2PersistenceHelper persistenceHelper, com.nomagic.magicdraw.emfuml2xmi.export.BaseEmfUml2IDManager idManager, BaseEmfOptionsGroup emfOptionsGroup, EmfUml2Logger logger)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected com.nomagic.magicdraw.emfuml2xmi.helpers.BaseEmfUml2DataTypeMap
createDataTypeMap()
protected BaseEElementNameRetriever
createEElementNameRetriever()
org.eclipse.uml2_2_0_4.uml.Type
getElementClass()
Returns Element type of Eclipse UML2 metamodel.EmfOptionsGroup
getEmfOptionsGroup()
org.eclipse.uml2_2_0_4.uml.Profile
getEmfUml2StandardProfiles()
java.util.Map
getMagicDrawAnnotationDetails(java.lang.Object eElement, boolean create)
java.util.Map<java.lang.String,java.lang.Object>
getNameStereotypeMap()
Get standard Eclipse UML2 stereotypes names map.Options
getOptions()
org.eclipse.uml2_2_0_4.uml.Type
getStringPrimitiveType()
Returns String type of Eclipse UML2 metamodel.com.nomagic.magicdraw.emfuml2xmi.v2.helpers.TemplateParameterHelper
getTemplateParameterHelper()
org.eclipse.uml2_2_0_4.uml.Model
getUml2JavaPrimitiveTypesLibrary()
Returns Eclipse UML2 model Java primitive type libraryorg.eclipse.uml2_2_0_4.uml.Model
getUml2MetaModel()
Returns model of Eclipse UML2 metamodel.org.eclipse.uml2_2_0_4.uml.Model
getUml2PrimitiveTypesLibrary()
Returns Eclipse UML2 model primitive type library-
Methods inherited from class com.nomagic.magicdraw.emfuml2xmi.BaseEmfUml2Helper
addCreatedElementIDData, addFinalizeActivity, clearCreatedElementsIDData, getCreatedElementsIDData, getEElementName, getElementName, getFinalizeActivities, getLogger, getMDProjectBuiltinProfiles, getMDStandardProfiles, getPersistenceHelper, getProject, getUml2DataTypeMap, initProgressStatus, isMappedElement, isRemovableElement, isSkippedElement, markMappedElement, markRemovableElement, markSkippedElement, removeElement, setMDElementID
-
-
-
-
Field Detail
-
mUml2MetaModel
private final org.eclipse.uml2_2_0_4.uml.Model mUml2MetaModel
-
mUml2PrimitiveTypesLibrary
private final org.eclipse.uml2_2_0_4.uml.Model mUml2PrimitiveTypesLibrary
-
mUml2JavaPrimitiveTypesLibrary
private final org.eclipse.uml2_2_0_4.uml.Model mUml2JavaPrimitiveTypesLibrary
-
mEmfUmlStandardProfile
private final org.eclipse.uml2_2_0_4.uml.Profile mEmfUmlStandardProfile
-
mStringPrimitiveType
private final org.eclipse.uml2_2_0_4.uml.Type mStringPrimitiveType
-
mElementType
private final org.eclipse.uml2_2_0_4.uml.Type mElementType
-
mTemplateParameterHelper
private final com.nomagic.magicdraw.emfuml2xmi.v2.helpers.TemplateParameterHelper mTemplateParameterHelper
-
-
Constructor Detail
-
EmfUml2Helper
public EmfUml2Helper(Project project, EmfUml2PersistenceHelper persistenceHelper, com.nomagic.magicdraw.emfuml2xmi.export.BaseEmfUml2IDManager idManager, BaseEmfOptionsGroup emfOptionsGroup, EmfUml2Logger logger)
-
-
Method Detail
-
createDataTypeMap
protected com.nomagic.magicdraw.emfuml2xmi.helpers.BaseEmfUml2DataTypeMap createDataTypeMap()
-
getMagicDrawAnnotationDetails
public java.util.Map getMagicDrawAnnotationDetails(java.lang.Object eElement, boolean create)
- Specified by:
getMagicDrawAnnotationDetails
in interfaceBaseEmfUml2Helper
-
getUml2MetaModel
@OpenApi public org.eclipse.uml2_2_0_4.uml.Model getUml2MetaModel()
Returns model of Eclipse UML2 metamodel.- Returns:
- Eclipse UML2 metamodel model
-
getEmfUml2StandardProfiles
public org.eclipse.uml2_2_0_4.uml.Profile getEmfUml2StandardProfiles()
-
getUml2PrimitiveTypesLibrary
@OpenApi public org.eclipse.uml2_2_0_4.uml.Model getUml2PrimitiveTypesLibrary()
Returns Eclipse UML2 model primitive type library- Returns:
- Eclipse UML2 model primitive type library
-
getUml2JavaPrimitiveTypesLibrary
@OpenApi public org.eclipse.uml2_2_0_4.uml.Model getUml2JavaPrimitiveTypesLibrary()
Returns Eclipse UML2 model Java primitive type library- Returns:
- Eclipse UML2 model primitive type library
-
getElementClass
@OpenApi public org.eclipse.uml2_2_0_4.uml.Type getElementClass()
Returns Element type of Eclipse UML2 metamodel.- Returns:
- Element type
-
getStringPrimitiveType
@OpenApi public org.eclipse.uml2_2_0_4.uml.Type getStringPrimitiveType()
Returns String type of Eclipse UML2 metamodel.- Returns:
- String type
-
getEmfOptionsGroup
public EmfOptionsGroup getEmfOptionsGroup()
- Returns:
-
getOptions
public Options getOptions()
- Specified by:
getOptions
in interfaceBaseEmfUml2Helper
-
createEElementNameRetriever
protected BaseEElementNameRetriever createEElementNameRetriever()
-
getTemplateParameterHelper
public com.nomagic.magicdraw.emfuml2xmi.v2.helpers.TemplateParameterHelper getTemplateParameterHelper()
-
getNameStereotypeMap
public java.util.Map<java.lang.String,java.lang.Object> getNameStereotypeMap()
Get standard Eclipse UML2 stereotypes names map.- Returns:
- name->Stereotype map.
-
-