Try something like this:
public boolean checkNull() throws IllegalAccessException {
for (Field f : getClass().getFieldsgetDeclaredFields())
if (f.get(this) != null)
return false;
return true;
}
Although it would probably be better to check each variable if at all feasible.