private Class < ? > getPropertyType ( PersistentClass pc , String propertyString ) { String [ ] properties = split ( propertyString , ' ' ) ; Property p = pc . getProperty ( properties [ 0 ] ) ; Component cp = ( ( Component ) p . getValue ( ) ) ; int i = 1 ; for ( ; i < properties . length ; i ++ ) { p = cp . getProperty ( properties [ i ] ) ; cp = ( ( Component ) p . getValue ( ) ) ; } return cp . getComponentClass ( ) ; }
get component class by component property string