Class EmfUml2FeatureValueSettersManager
- java.lang.Object
-
- com.nomagic.magicdraw.emfuml2xmi.v2.export.convert.feature.EmfUml2FeatureValueSettersManager
-
@OpenApi public final class EmfUml2FeatureValueSettersManager extends java.lang.Object
Registers FeatureValueSetter for Eclipse UML2 model metaclasses
-
-
Field Summary
Fields Modifier and Type Field Description private static EmfUml2FeatureValueSettersManager
mInstance
private java.util.Map<org.eclipse.emf_2_2_3.ecore.EClass,java.util.Map<org.eclipse.emf_2_2_3.ecore.EStructuralFeature,EmfFeatureValueSetter>>
mSetters
-
Constructor Summary
Constructors Modifier Constructor Description private
EmfUml2FeatureValueSettersManager()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addSetter(org.eclipse.emf_2_2_3.ecore.EClass eClass, EmfFeatureValueSetter valueSetter)
Registers feature value setter for given Eclipse UML2 metamodel class.private void
addStandard()
private void
collectSetters(java.util.Map<org.eclipse.emf_2_2_3.ecore.EStructuralFeature,EmfFeatureValueSetter> collected, java.util.List<org.eclipse.emf_2_2_3.ecore.EClass> eClasses)
java.util.List
getFeaturesSetters(org.eclipse.uml2_2_0_4.uml.Element eElement)
static EmfUml2FeatureValueSettersManager
getInstance()
private java.util.Map
getSetters(org.eclipse.uml2_2_0_4.uml.Element eElement)
void
removeSetter(org.eclipse.emf_2_2_3.ecore.EClass eClass, org.eclipse.emf_2_2_3.ecore.EStructuralFeature eStructuralFeature)
Removes feature value setter.
-
-
-
Field Detail
-
mInstance
private static EmfUml2FeatureValueSettersManager mInstance
-
mSetters
private final java.util.Map<org.eclipse.emf_2_2_3.ecore.EClass,java.util.Map<org.eclipse.emf_2_2_3.ecore.EStructuralFeature,EmfFeatureValueSetter>> mSetters
-
-
Method Detail
-
getInstance
@OpenApi public static EmfUml2FeatureValueSettersManager getInstance()
- Returns:
- manager instance.
-
addSetter
@OpenApi public void addSetter(org.eclipse.emf_2_2_3.ecore.EClass eClass, EmfFeatureValueSetter valueSetter)
Registers feature value setter for given Eclipse UML2 metamodel class.- Parameters:
eClass
- Eclipse UML2 metamodel classvalueSetter
- feature converter
-
removeSetter
@OpenApi public void removeSetter(org.eclipse.emf_2_2_3.ecore.EClass eClass, org.eclipse.emf_2_2_3.ecore.EStructuralFeature eStructuralFeature)
Removes feature value setter.- Parameters:
eClass
- Eclipse UML2 metamodel classeStructuralFeature
- feature
-
getSetters
private java.util.Map getSetters(org.eclipse.uml2_2_0_4.uml.Element eElement)
-
collectSetters
private void collectSetters(java.util.Map<org.eclipse.emf_2_2_3.ecore.EStructuralFeature,EmfFeatureValueSetter> collected, java.util.List<org.eclipse.emf_2_2_3.ecore.EClass> eClasses)
-
getFeaturesSetters
public java.util.List getFeaturesSetters(org.eclipse.uml2_2_0_4.uml.Element eElement)
-
addStandard
private void addStandard()
-
-