public String ofCompat ( String compatibilityDataTypeName ) { switch ( compatibilityDataTypeName ) { case COMPAT_TEXT : return TEXT ( ) ; case COMPAT_INT : return INTEGER ( ) ; case COMPAT_LONG : return LONG ( ) ; case COMPAT_REAL : return REAL ( ) ; case COMPAT_BLOB : return BLOB ( ) ; case COMPAT_CLOB : return CLOB ( ) ; } throw new RuntimeException ( "No type for name: " + compatibilityDataTypeName ) ; }
Get the type by its compatibility name .