ef.setType(FieldType.ID);
}
}
// @Name
Name name = field.getAnnotation(Name.class);
if (null != name) {
// Check
if (!ef.getMirror().isStringLike())
throw error(entity, "@Name field [%s] must be a String!", field.getName());
// Not null
ef.setNotNull(true);
// Set Name
if (name.casesensitive())
ef.setType(FieldType.CASESENSITIVE_NAME);
else
ef.setType(FieldType.NAME);
}