com.ibm.di.connector.maximo.util.typeconverter
Class DoubleConverter

java.lang.Object
  extended by com.ibm.di.connector.maximo.util.typeconverter.DoubleConverter
All Implemented Interfaces:
IMxTypeConverter

public final class DoubleConverter
extends Object
implements IMxTypeConverter

Maximo Type Converter for Double types.

Since:
7.1
See Also:
Double

Method Summary
static DoubleConverter getInstance()
          Returns an instance of DoubleConverter.
 String toString(Object value)
          Returns a String object representing the specified value .
 Object valueOf(String value)
          Returns an object representing the specified value.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getInstance

public static DoubleConverter getInstance()
Returns an instance of DoubleConverter.

Returns:
instance of DoubleConverter

toString

public String toString(Object value)
                throws MxConnTypeConvertionException
Returns a String object representing the specified value .

Specified by:
toString in interface IMxTypeConverter
Parameters:
value - value to be converted
Returns:
String object representing the specified value, or null if value is null
Throws:
MxConnTypeConvertionException - if the specified value can not be converted

valueOf

public Object valueOf(String value)
               throws MxConnTypeConvertionException
Returns an object representing the specified value.

Specified by:
valueOf in interface IMxTypeConverter
Parameters:
value - value to be converted
Returns:
object representing the specified value, or null if value is null
Throws:
MxConnTypeConvertionException - if the specified value can not be converted