A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
video training course this week in the
which API can get property type in a nest path ?
Joined: Dec 23, 2003
Apr 11, 2010 19:11:03
which API (apache commons or Spring API) can get property type in a nest path ?
PropertyUtil.getType(MyObject.class, "customer.name"); // customer is a field in MyObject instance PropertyUtil.getType(MyObject.class, "customerList.name"); // customerList is list of Customer
Joined: Sep 29, 2008
Apr 11, 2010 19:49:05
Apache Commons EL is one option. There are several really good EL libraries of varying capabilities (Apache's JEXL, MVEL, OGNL, more) though, depending on your needs.
Did you see how Paul
cut 87% off of his electric heat bill with 82 watts of micro heaters
subject: which API can get property type in a nest path ?
Error passing values to a method - any help!!
Null Point Exception
Unable to instantiate default tuplizer [org.hibernate.tuple.entity.PojoEntityTuplizer]
Display:table tag in Struts Application
Display:table tag in Struts application
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015