labelCaption = new Label(y, 0, decorator.getShortName()
+ ImportExportUtils.LABELCAPTION_VISIBILITY_SUFFIX);
sheet.addCell(labelCaption);
} else if (RestrictedFieldFile.class.isAssignableFrom(method
.getReturnType())) {
RestrictedFieldFile rflor = (RestrictedFieldFile) field;
y = y + 1;
Label labelCaption = new Label(y, 0, decorator.getShortName());
sheet.addCell(labelCaption);
if (StringUtils.isNotEmpty(rflor.getValue())) {
sheet.addCell(new Label(y, i, rflor.getMimeType()
+ STOPFIELDS_EXCEL + rflor.getValue()));
}
y = y + 1;
labelCaption = new Label(y, 0, decorator.getShortName()
+ ImportExportUtils.LABELCAPTION_VISIBILITY_SUFFIX);
sheet.addCell(labelCaption);
if (StringUtils.isNotEmpty(rflor.getValue())) {
sheet.addCell(new Label(y, i, VisibilityConstants
.getDescription(rflor.getVisibility())));
}
} else {
RestrictedField rr = (RestrictedField) field;
y = y + 1;
sheet.addCell(new Label(y, i, rr.getValue()));