Class NumberFormatHelper


  • public final class NumberFormatHelper
    extends java.lang.Object
    Helper Class to retrieve a valid string representation of the requested format.
    Author:
    Eugen Neufeld
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static java.lang.String getNumberFormat​(org.eclipse.emf.ecore.EAttribute eAttribute)
      Retrieves a format string for numbers.
      • Methods inherited from class java.lang.Object

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

      • getNumberFormat

        public static java.lang.String getNumberFormat​(org.eclipse.emf.ecore.EAttribute eAttribute)
        Retrieves a format string for numbers.
        Parameters:
        eAttribute - The EAttribute
        Returns:
        The retrieved format string or null if it is no decimal number