Class AbstractNumberToStringConversion

    • Constructor Detail

      • AbstractNumberToStringConversion

        public AbstractNumberToStringConversion​(boolean sourceTypeNumberSubclass)
    • Method Detail

      • getToConversionImportTypes

        public Set<Type> getToConversionImportTypes​(ConversionContext conversionContext)
        Description copied from class: SimpleConversion
        Returns a set with imported types of the "to" conversion. Defaults to an empty set; can be overridden in sub-classes to return the required types.
        Overrides:
        getToConversionImportTypes in class SimpleConversion
        Parameters:
        conversionContext - the conversion context
        Returns:
        conversion types required in the "to" conversion
      • requiresDecimalFormat

        protected boolean requiresDecimalFormat​(ConversionContext conversionContext)
      • getFromConversionImportTypes

        protected Set<Type> getFromConversionImportTypes​(ConversionContext conversionContext)
        Description copied from class: SimpleConversion
        Returns a set with imported types of the "from" conversion. Defaults to an empty set; can be overridden in sub-classes to return the required types.
        Overrides:
        getFromConversionImportTypes in class SimpleConversion
        Parameters:
        conversionContext - the conversion context
        Returns:
        conversion types required in the "from" conversion