private Object getEntity ( Object relationEntity ) { return relationEntity != null && relationEntity . getClass ( ) . isAssignableFrom ( EnhanceEntity . class ) ? ( ( EnhanceEntity ) relationEntity ) . getEntity ( ) : relationEntity ; }
Returns wrapped entity .