private static String chainToBeanString ( ChainedProperty property ) { int count = property . getChainCount ( ) ; if ( count <= 0 ) { return property . getPrimeProperty ( ) . getBeanName ( ) ; } StringBuilder b = new StringBuilder ( ) ; b . append ( property . getPrimeProperty ( ) . getBeanName ( ) ) ; for ( int i = 0 ; i < count ; i ++ ) { b . append ( ' ' ) ; b . append ( property . getChainedProperty ( i ) . getBeanName ( ) ) ; } return b . toString ( ) ; }
Creates a dotted name string using the bean property names .