Class MofUml2FeatureValueSettersManager
- java.lang.Object
-
- com.nomagic.magicdraw.emfuml2xmi.v5.imp0rt.convert.feature.MofUml2FeatureValueSettersManagerImpl
-
- com.nomagic.magicdraw.emfuml2xmi.v5.imp0rt.convert.feature.MofUml2FeatureValueSettersManager
-
@OpenApi public final class MofUml2FeatureValueSettersManager extends com.nomagic.magicdraw.emfuml2xmi.v5.imp0rt.convert.feature.MofUml2FeatureValueSettersManagerImpl
Registers FeatureValueSetter for MagicDraw UML model metaclasses
-
-
Field Summary
Fields Modifier and Type Field Description private static MofUml2FeatureValueSettersManager
mInstance
-
Constructor Summary
Constructors Modifier Constructor Description private
MofUml2FeatureValueSettersManager()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addSetter(java.lang.Class classType, MofFeatureValueSetter valueSetter)
Registers feature value setter for given MagicDraw UML metamodel class.static MofUml2FeatureValueSettersManager
getInstance()
protected void
initialize()
void
removeSetter(java.lang.Class classType, java.lang.String featureName)
Removes feature value setter.
-
-
-
Field Detail
-
mInstance
private static MofUml2FeatureValueSettersManager mInstance
-
-
Method Detail
-
getInstance
@OpenApi public static MofUml2FeatureValueSettersManager getInstance()
- Returns:
- manager instance.
-
addSetter
@OpenApi public void addSetter(java.lang.Class classType, MofFeatureValueSetter valueSetter)
Registers feature value setter for given MagicDraw UML metamodel class.- Overrides:
addSetter
in classcom.nomagic.magicdraw.emfuml2xmi.v5.imp0rt.convert.feature.MofUml2FeatureValueSettersManagerImpl
- Parameters:
classType
- MagicDraw UML metamodel classvalueSetter
- feature converter
-
removeSetter
@OpenApi public void removeSetter(java.lang.Class classType, java.lang.String featureName)
Removes feature value setter.- Overrides:
removeSetter
in classcom.nomagic.magicdraw.emfuml2xmi.v5.imp0rt.convert.feature.MofUml2FeatureValueSettersManagerImpl
- Parameters:
classType
- MagicDraw UML metamodel classfeatureName
- feature
-
initialize
protected void initialize()
- Overrides:
initialize
in classcom.nomagic.magicdraw.emfuml2xmi.v5.imp0rt.convert.feature.MofUml2FeatureValueSettersManagerImpl
-
-