TypeMapping.java | Class | The TypeMapping class helps translating MMBase types to storage-specific type descriptions.
Examples of type mappings are mappings that convert to database field types.
I.e., a STRING with size 0-255 could be configured to translate to 'varchar({0})', '{0}, in this case,.
being the size of the actual field.
TypeMapping is a comparable class, which allows it to be used in a sorted map, set or list.
However, Typemapping needs fuzzy matching so it is easy to locate the appropriate type-mapping for a field.
As such, it's natural ordering is NOT consistent with equals. |