Google Groups

Re: PathBuilder and validate


timowest Feb 26, 2012 12:53 PM
Posted in group: Querydsl
Hi.

Use some standard Bean introspection tools for it or maybe Java reflection.

Introspector could maybe be used: http://docs.oracle.com/javase/1.4.2/docs/api/java/beans/Introspector.html

Timo

On Sun, Feb 26, 2012 at 10:31 PM, Dimitris Zenios <dimitri...@gmail.com> wrote:
PathBuilder now contains a validate method to extend and check if a property exists.The question though is does the path builder or anything else have any method to check if a property is included in the bean?If no which way do you think is the best in order to achive such thing?