Class BigDecimalConverter


public class BigDecimalConverter extends RealConverter
The BigDecimalConverter can convert real value object to/from BigDecimal value.
  • Field Details

  • Constructor Details

    • BigDecimalConverter

      public BigDecimalConverter()
  • Method Details

    • convert

      public void convert(Object object, org.asnlab.asndt.runtime.type.RealType type, org.asnlab.asndt.runtime.type.Codec codec)
      Overrides:
      convert in class RealConverter
    • convert

      public Object convert(org.asnlab.asndt.runtime.type.RealType type, org.asnlab.asndt.runtime.type.Codec codec)
      Overrides:
      convert in class RealConverter
    • toValue

      public BigDecimal toValue(Object object)
      Return the BigDecimal value
      Parameters:
      object - The REAL value object
      Returns:
      The BigDecimal value
    • toObject

      public Object toObject(BigDecimal value)
      Return the REAL value object
      Parameters:
      value - The BigDecimal value
      Returns:
      The REAL value object