LayoutItemFIeld: getName(): Use the Field if it is set.
authorMurray Cumming <murrayc@murrayc.com>
Fri, 20 Jul 2012 16:11:58 +0000 (18:11 +0200)
committerMurray Cumming <murrayc@murrayc.com>
Fri, 20 Jul 2012 16:11:58 +0000 (18:11 +0200)
commitaa84447a19ab21e5929e088ada4334fe784eae30
tree09e3655c5ba552f3017a49d419093d256964a8c5
parentc6ebfb624e5424ca3e03c1e91a347d873027c116
LayoutItemFIeld: getName(): Use the Field if it is set.

* src/main/java/org/glom/web/shared/libglom/layout/LayoutItemField.java:
getName(): If the full field details have been set, return its name, so that
callers do not need to set the name separately.
* src/test/java/org/glom/web/server/SelfHostExampleTest.java:
testExampleMusiccollectionData): Do not use a TYPE_FORWARD_ONLY statement,
so we can count the rows.
ChangeLog
src/main/java/org/glom/web/shared/libglom/layout/LayoutItemField.java
src/test/java/org/glom/web/server/SelfHostExampleTest.java