package de.ivu.elect.business.exchange.boundary;

public interface ExchangeTypeConverter {
  /**
   * Converts the given value to a <code>String</code> object.
   *
   * @param value the value to convert
   * @return the converted value
   */
  String toString(Object value);

  /**
   * Converts the given <code>String</code> object into an object with the simple data type this converter is
   * intended for.
   *
   * @param value the <code>String</code> object to convert
   * @return the converted value
   */
  Object fromString(String value);
}
