Servoy 5.x Public API

com.servoy.j2db.dataprocessing
Interface ITypedColumnConverter

All Superinterfaces:
IColumnConverter, com.servoy.j2db.persistence.IColumnTypes

public interface ITypedColumnConverter
extends IColumnConverter

The interface to create column converters with, when the converter converts from 1 type to the other.

Since:
5.0

Field Summary
 
Fields inherited from interface com.servoy.j2db.persistence.IColumnTypes
DATETIME, INTEGER, MEDIA, NUMBER, TEXT
 
Method Summary
 int getToObjectType(Map<String,String> props)
          returns the type the converter converts to, should be one of the IColumnTypes this should return Integer.MAX_VALUE if the type is unknown, or when the default column type should be used.
 
Methods inherited from interface com.servoy.j2db.dataprocessing.IColumnConverter
convertFromObject, convertToObject, getDefaultProperties, getName, getSupportedColumnTypes
 

Method Detail

getToObjectType

int getToObjectType(Map<String,String> props)
returns the type the converter converts to, should be one of the IColumnTypes this should return Integer.MAX_VALUE if the type is unknown, or when the default column type should be used.


Copyright © 2010 Servoy B.V.