private boolean isFieldValueDefault(Object fieldValue){
  if (fieldValue == null) {
    return true;
  }
 else {
    return fieldValue.equals(getJavaDefaultValueDefault());
  }
}

private boolean isFieldValueDefault ( Object fieldValue ) { if ( fieldValue == null ) { return true ; } else { return fieldValue . equals ( getJavaDefaultValueDefault ( ) ) ; } }
return whether or not the field value passed in is the default value for the type of the field . null will return true .
