Data Types and String Conversion

The Generic Search Server contains an API for converting searchable Cúram datatypes to Strings and vice versa. These may need to be used occasionally in custom Mappers, or if parsing results directly rather than using the supplied utility class curam.core.impl.util.CuramDocToResultStruct.

The converter class is curam.core.impl.search.datatypes.DataTypeConverter. This class contains methods to convert Cúram datatypes to Strings and to convert Strings back to Cúram datatypes (by means of passing in a struct and specifying which attribute in the struct is to be set).