{
name=name.substring( 0, array_offset);
array_references="["+array_references;
}
String base_type=DBType.TypeStringMap.userToInternal( name);
DBType found=null;
try
{
if ( base_type==null)
{
DBClass referenced=(DBClass)db.findWithIndex( DBClass.CLASS_NAME_INDEX, name);
if ( referenced!=null)
{
found=DBType.getFromClass( db, referenced);
if ( array_references.length()>0)
found=(DBType)db.findWithIndex( DBType.TYPE_KEY_INDEX,
array_references+found.getTypeString());
}
}
else
found=(DBType)db.findWithIndex( DBType.TYPE_KEY_INDEX, array_references+base_type);
}