Class VersaoProcessoConverter

Object
AbstractStringToNumberConverter<BigDecimal>
StringToBigDecimalConverter
VersaoProcessoConverter
All Implemented Interfaces:
Converter<String,BigDecimal>, Serializable

public class VersaoProcessoConverter extends StringToBigDecimalConverter
Formatador decimal para versao de processos. Pode ser reulizado em Tables e forms. Nao e tread safe
Author:
eduardo
See Also:
  • Constructor Details

    • VersaoProcessoConverter

      public VersaoProcessoConverter()
  • Method Details

    • convertToModel

      public BigDecimal convertToModel(String value, Class<? extends BigDecimal> targetType, Locale locale) throws Converter.ConversionException
      Specified by:
      convertToModel in interface Converter<String,BigDecimal>
      Overrides:
      convertToModel in class StringToBigDecimalConverter
      Throws:
      Converter.ConversionException
    • convertToPresentation

      public String convertToPresentation(BigDecimal value, Class<? extends String> targetType, Locale locale) throws Converter.ConversionException
      Specified by:
      convertToPresentation in interface Converter<String,BigDecimal>
      Overrides:
      convertToPresentation in class AbstractStringToNumberConverter<BigDecimal>
      Throws:
      Converter.ConversionException