Class ConverterDelegate

java.lang.Object
com.aquima.interactions.profile.model.ConverterDelegate
All Implemented Interfaces:
IConverterDelegate

public class ConverterDelegate extends Object implements IConverterDelegate
Delegate for the converter to add support for IEntityInstance values.
Since:
5.0
Author:
O. Kerpershoek
  • Constructor Details

    • ConverterDelegate

      public ConverterDelegate()
  • Method Details

    • parse

      public IPrimitiveValue parse(Object obj, DataType type)
      Description copied from interface: IConverterDelegate
      This object should attempt to convert the object to the specified type. If the delegate does not support a conversion to the requested type, a null value should be returned.
      Specified by:
      parse in interface IConverterDelegate
      Parameters:
      obj - The object that needs to be converted.
      type - The type the object needs to be converted to.
      Returns:
      The converted value, or null if the delegate does not support the conversion.