Class DoubleConverter


  • public final class DoubleConverter
    extends DataTypeConverter
    Double data type converter.
    Author:
    mak
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      protected DoubleConverter​(int type)
      Constructor.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String saValueToString​(com.saperion.intf.SaValue value)
      Converts the type of the given field into the favorites specific string representation.
      com.saperion.intf.SaValue stringToSaValue​(java.lang.String value)
      Converts the favorites specific string representation into a SaValue.
      • Methods inherited from class java.lang.Object

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

      • DoubleConverter

        protected DoubleConverter​(int type)
        Constructor.
        Parameters:
        type - special double data type code (e.g. currency,...)
    • Method Detail

      • saValueToString

        public java.lang.String saValueToString​(com.saperion.intf.SaValue value)
        Description copied from class: DataTypeConverter
        Converts the type of the given field into the favorites specific string representation.
        Specified by:
        saValueToString in class DataTypeConverter
        Parameters:
        value - SaValue
        Returns:
        value as string
      • stringToSaValue

        public com.saperion.intf.SaValue stringToSaValue​(java.lang.String value)
        Description copied from class: DataTypeConverter
        Converts the favorites specific string representation into a SaValue.
        Specified by:
        stringToSaValue in class DataTypeConverter
        Parameters:
        value - value as string
        Returns:
        value SaValue