Revision: 274
Author: iroberts
Date: 2013-11-18 06:09:01 +0000 (Mon, 18 Nov 2013)
Log Message:
-----------
Shift strategy for locating properties on the pojo. Instead of loading them by
name, directly reference the PropertyElement for the property. Not only does this
feel cleaner, it also fixes a bug where the property was a private member of a parent
of the pojo class, hence not found by getDeclaredXxx().
Note that we already needed those PropertyElements used in doToString, so the
additional storage of statics on the pojomator class is minimal here.
Modified Paths:
--------------
trunk/pojomatic-all/pojomatic/src/main/java/org/pojomatic/internal/BasePojomator.java
trunk/pojomatic-all/pojomatic/src/main/java/org/pojomatic/internal/PojomatorFactory.java
|