Class DecimalToString

  • All Implemented Interfaces:
    TransformationDefinition<java.math.BigDecimal,​java.lang.String>

    public final class DecimalToString
    extends com.orchestranetworks.addon.dint.transformation.conversion.LocaleBasedConversionTransformationDefinition<java.math.BigDecimal,​java.lang.String>
    Represents a transformation definition for converting from decimal to String.
    Since:
    4.1.0
    • Method Detail

      • newInstance

        public static DecimalToString newInstance()
        Returns the instance without default locale.
      • newInstance

        public static DecimalToString newInstance​(java.util.Locale defaultLocale)
        Returns an instance with default locale.

        This locale can be overwritten by setting the parameter.

      • getCode

        public java.lang.String getCode()
        Description copied from interface: TransformationDefinition
        Returns the unique code.
      • getLabel

        public com.onwbp.base.text.UserMessage getLabel()
        Description copied from interface: TransformationDefinition
        Returns the label.