Validate.notNull(javaTypeDetails,
"The type specified, '%s', doesn't exist", typeName);
final String physicalTypeIdentifier = javaTypeDetails
.getDeclaredByMetadataId();
final BooleanField fieldDetails = new BooleanField(
physicalTypeIdentifier, primitive ? JavaType.BOOLEAN_PRIMITIVE
: JavaType.BOOLEAN_OBJECT, fieldName);
fieldDetails.setNotNull(notNull);
fieldDetails.setNullRequired(nullRequired);
fieldDetails.setAssertFalse(assertFalse);
fieldDetails.setAssertTrue(assertTrue);
if (column != null) {
fieldDetails.setColumn(column);
}
if (comment != null) {
fieldDetails.setComment(comment);
}
if (value != null) {
fieldDetails.setValue(value);
}
insertField(fieldDetails, permitReservedWords, transientModifier);
}