Class PropertiesManager


  • public class PropertiesManager
    extends java.lang.Object
    Provides a way to manage the Enterprise Architect Properties (such as Enterprise Architect version).
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static java.lang.String getEAVersion​(com.sodius.mdw.metamodel.uml21.Model model)
      Returns the Enterprise Architect version used to produce the XMI.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • PropertiesManager

        public PropertiesManager()
    • Method Detail

      • getEAVersion

        public static java.lang.String getEAVersion​(com.sodius.mdw.metamodel.uml21.Model model)
        Returns the Enterprise Architect version used to produce the XMI. Note that there is no version set in the XMI before Enterprise Architect 15.
        Parameters:
        model - the root model element that may hold the Enterprise Architect version
        Returns:
        the version value or null if the Enterprise Architect version is not set on the model