return result;
}
public static String visitField(Field field) {
AnalyticsData data = AnalyticsDataFactory.getAnalyticsData();
AnalyticsClass objectType = data.getClassById(field.getClassId());
Collection<AnalyticsRule> rules = data.getRulesByFieldId(field.getId());
Map<String, Object> map = new HashMap<String, Object>();
map.put("header", processHeader(UrlFactory.PREVIOUS_FOLDER));
map.put("sourceFolder", UrlFactory.PREVIOUS_FOLDER);
map.put("ruleFolder", UrlFactory.RULE_FOLDER);
map.put("objectTypeFolder", UrlFactory.OBJECT_TYPE_FOLDER);
map.put("fieldFolder", UrlFactory.FIELD_FOLDER);
map.put("cssStyle", createStyleTag(UrlFactory.PREVIOUS_FOLDER + "/"
+ UrlFactory.CSS_FOLDER + "/" + UrlFactory.CSS_FILE_DETAILS));
map.put("field", field);
map.put("objectType", objectType);
map.put("rules", rules);
if (field.getFieldType() == Field.FieldType.DOUBLE
|| field.getFieldType() == Field.FieldType.DATE
|| field.getFieldType() == Field.FieldType.INT) {
Collection<RangeCheckCause> causes = data
.getRangeCheckCausesByFieldId(field.getId());
Collection<Restriction> restrictions = data
.getRestrictionsByFieldId(field.getId());
map.put("ranges", "Ranges:"
+ MissingRangesReportVisitor.visitRanges(
UrlFactory.PREVIOUS_FOLDER, restrictions, causes));
} else {