// Make sure there is an empty constructor declared
try {
this.getClazz().getConstructor();
}
catch (NoSuchMethodException e) {
throw new HBqlException("Class " + this + " is missing a null constructor");
}
for (final Field field : clazz.getDeclaredFields()) {
if (field.getAnnotation(Column.class) != null)
this.processColumnAnnotation(field);
if (field.getAnnotation(ColumnVersionMap.class) != null)
this.processColumnVersionAnnotation(field);
}
if (!this.getColumnMap().containsKey(this.getKeyAttrib().getFamilyQualifiedName()))
throw new HBqlException(this.getClazz().getName() + " must contain a mapping to key attribute "
+ this.getKeyAttrib().getFamilyQualifiedName());
}