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
  • Method Details

    • getInstance

      @OpenApi public static MofUml2FeatureValueSettersManager getInstance()
      Returns:
      manager instance.
    • addSetter

      @OpenApi public void addSetter(Class classType, MofFeatureValueSetter valueSetter)
      Registers feature value setter for given MagicDraw UML metamodel class.
      Overrides:
      addSetter in class com.nomagic.magicdraw.emfuml2xmi.v5.imp0rt.convert.feature.MofUml2FeatureValueSettersManagerImpl
      Parameters:
      classType - MagicDraw UML metamodel class
      valueSetter - feature converter
    • removeSetter

      @OpenApi public void removeSetter(Class classType, String featureName)
      Removes feature value setter.
      Overrides:
      removeSetter in class com.nomagic.magicdraw.emfuml2xmi.v5.imp0rt.convert.feature.MofUml2FeatureValueSettersManagerImpl
      Parameters:
      classType - MagicDraw UML metamodel class
      featureName - feature