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

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

public final class LongConverter
extends Object
implements IMxTypeConverter

Maximo Type Converter for Long types.

Since:
7.1
See Also:
Long

Method Summary
static LongConverter getInstance()
          Returns an instance of LongConverter.
 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 LongConverter getInstance()
Returns an instance of LongConverter.

Returns:
instance of LongConverter

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