I like to \'guess\' attribute names from getter methods. So \'getSomeAttribute\' shall be converted to \'someAttribute\'.
Usually I do something like
Have a look at the JavaBeans API:
BeanInfo info = Introspector.getBeanInfo(bean .getClass(), Object.class); for (PropertyDescriptor propertyDesc : info .getPropertyDescriptors()) { String name = propertyDesc.getName(); }
Also see decapitalize.