com.ibm.di.connector.maximo.util.typeconverter
Interface IMxTypeConverter

All Known Implementing Classes:
BooleanConverter, DateConverter, DoubleConverter, IntegerConverter, LongConverter, StringConverter

public interface IMxTypeConverter

This interface specifies the contract that a Maximo Type Converter should comply, which is basically, the capability for converting a String into a object of a specific type and vice versa.

Since:
7.1

Method Summary
 String toString(Object value)
          Returns a String object representing the specified value .
 Object valueOf(String value)
          Returns an object representing the specified value.
 

Method Detail

toString

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

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

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

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