Class<?> validation_class = getValidationClassInstance(dataType, isCql3Enabled);
valueType = validation_class.toString();
if (validation_class.equals(ListType.class))
{
TypeParser parser = new TypeParser(getValidationClass(genericClasses.get(0), isCql3Enabled));
valueType = ListType.getInstance(parser.parse()).toString();
}
else if (validation_class.equals(SetType.class))
{
TypeParser parser = new TypeParser(getValidationClass(genericClasses.get(0), isCql3Enabled));
valueType = SetType.getInstance(parser.parse()).toString();
}
else if (validation_class.equals(MapType.class))
{
TypeParser keyParser = new TypeParser(getValidationClass(genericClasses.get(0), isCql3Enabled));
TypeParser valueParser = new TypeParser(getValidationClass(genericClasses.get(1), isCql3Enabled));
valueType = MapType.getInstance(keyParser.parse(), valueParser.parse()).toString();
}
return valueType;
}