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

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

public final class IntegerConverter
extends java.lang.Object
implements IMxTypeConverter

Maximo Type Converter for Integer types.

Since:
7.1
See Also:
Integer

Method Summary
static IntegerConverter getInstance()
          Returns an instance of IntegerConverter.
 java.lang.String toString(java.lang.Object value)
          Returns a String object representing the specified value .
 java.lang.Object valueOf(java.lang.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 IntegerConverter getInstance()
Returns an instance of IntegerConverter.

Returns:
instance of IntegerConverter

toString

public java.lang.String toString(java.lang.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 java.lang.Object valueOf(java.lang.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