private static List<ColumnDescription> getColumnDescriptionsForProperty(
EntityInfo entityInfo,
PropertyInfo property,
String prefix) throws FeedServerAdapterException {
List<ColumnDescription> result = new ArrayList<ColumnDescription>();
TypeInfo type = entityInfo.getType(property.getTypeName());
if (GVizTypeConverter.isSimpleType(type) || GVizTypeConverter.isKnownType(type)) {
result.add(getColumnDescriptionForSimpleType(property, prefix));
} else {
for (PropertyInfo propertyInfo : type.getProperties()) {
result.addAll(getColumnDescriptionsForProperty(
entityInfo, propertyInfo, prefix + property.getName()));
}
}
return result;