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

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

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

Maximo Type Converter for String types.

Since:
7.1
See Also:
Long

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

Returns:
instance of StringConverter

toString

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

valueOf

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