private Object getCompoundKey ( Attribute attribute , Object entity ) throws InstantiationException , IllegalAccessException { Object compoundKeyObject = null ; if ( entity != null ) { compoundKeyObject = PropertyAccessorHelper . getObject ( entity , ( Field ) attribute . getJavaMember ( ) ) ; if ( compoundKeyObject == null ) { compoundKeyObject = ( ( AbstractAttribute ) attribute ) . getBindableJavaType ( ) . newInstance ( ) ; } } return compoundKeyObject ; }
Gets the compound key .