Package docking.widgets.table.constraint
Class ObjectToStringMapper<T>
- java.lang.Object
-
- docking.widgets.table.constraint.ColumnTypeMapper<T,java.lang.String>
-
- docking.widgets.table.constraint.ObjectToStringMapper<T>
-
- All Implemented Interfaces:
ExtensionPoint
public class ObjectToStringMapper<T> extends ColumnTypeMapper<T,java.lang.String>
-
-
Constructor Summary
Constructors Constructor Description ObjectToStringMapper(java.lang.Class<T> sourceType)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
convert(T value)
Converts an object of type T1 to an object of type T2-
Methods inherited from class docking.widgets.table.constraint.ColumnTypeMapper
equals, getDestinationType, getSourceType, hashCode
-
-
-
-
Constructor Detail
-
ObjectToStringMapper
public ObjectToStringMapper(java.lang.Class<T> sourceType)
-
-
Method Detail
-
convert
public java.lang.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 classColumnTypeMapper<T,java.lang.String>
- Parameters:
value
- the object to convert.- Returns:
- the converted object.
-
-