Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
Fix the way accessor method names are determined for the fields of an entity #96
Currently, the accessor methods for a field are determined with -
While this works in most cases, there are some situations where this does not work right/not compatible with IDE's generated setter and getter methods. For example, if a field name is iPhone, the IDEs generate
The fix is to examine the second character of the field name, if it is upper case, do not do anything and use the field name as is and prepend set/get/is. Otherwise, fallback to the existing code.
See #95 for more details.