private Method getGetterMethod(Class boClass, String fieldName, Class fieldType) throws DataException {
    String getterName = "get" + fieldName.substring(0, 1).toUpperCase();
    if (fieldType == Boolean.class || fieldType == boolean.class) {
      getterName = "is" + fieldName.substring(0, 1).toUpperCase();
    }
    if (fieldName.length() > 1) {
      getterName += fieldName.substring(1);
    }//if
    try {
      Method method = boClass.getDeclaredMethod(getterName);
      if (method.getReturnType() == fieldType) {
        return method;
      }
    }catch (NoSuchMethodException nsme) {
      // pass so we throw the exception at the end
    }//try
    throw new DataException("Error in " + boClass.getName() + ".  No method named " + getterName + "(" + fieldType.getName() + ") to correspond with field " + fieldName + " in the database.");
  }