Class ObjectToStringMapper<T>

java.lang.Object
docking.widgets.table.constraint.ColumnTypeMapper<T,String>
docking.widgets.table.constraint.ObjectToStringMapper<T>
All Implemented Interfaces:
ExtensionPoint

public class ObjectToStringMapper<T> extends ColumnTypeMapper<T,String>
  • Constructor Details

    • ObjectToStringMapper

      public ObjectToStringMapper(Class<T> sourceType)
  • Method Details

    • convert

      public String convert(T value)
      Description copied from class: ColumnTypeMapper
      Converts an object of type T1 to an object of type T2
      Specified by:
      convert in class ColumnTypeMapper<T,String>
      Parameters:
      value - the object to convert.
      Returns:
      the converted object.