.getTypeDetails(typeName);
Validate.notNull(cid, "The type specified, '%s', doesn't exist",
typeName);
final String physicalTypeIdentifier = cid.getDeclaredByMetadataId();
final UploadedFileField fieldDetails = new UploadedFileField(
physicalTypeIdentifier, fieldName, contentType);
fieldDetails.setAutoUpload(autoUpload);
fieldDetails.setNotNull(notNull);
if (column != null) {
fieldDetails.setColumn(column);
}
insertField(fieldDetails, permitReservedWords, false);
}