.getTypeDetails(typeName);
Validate.notNull(cid, "The type specified, '%s', doesn't exist",
typeName);
final String physicalTypeIdentifier = cid.getDeclaredByMetadataId();
final EnumField fieldDetails = new EnumField(physicalTypeIdentifier,
fieldType, fieldName);
if (column != null) {
fieldDetails.setColumn(column);
}
fieldDetails.setNotNull(notNull);
fieldDetails.setNullRequired(nullRequired);
if (enumType != null) {
fieldDetails.setEnumType(enumType);
}
if (comment != null) {
fieldDetails.setComment(comment);
}
insertField(fieldDetails, permitReservedWords, transientModifier);
}