private void addDefaultValues ( ServiceOperation operation ) { if ( operation . getDelegate ( ) != null ) { copyFromDelegate ( operation , operation . getDelegate ( ) , true ) ; } else if ( operation . getServiceDelegate ( ) != null ) { // make sure that the service delegate has been populated first addDefaultValues ( operation . getServiceDelegate ( ) ) ; // recursive call // (circular dependencies not allowed) copyFromDelegate ( operation , operation . getServiceDelegate ( ) , true ) ; } }
Copy values from delegate RepositoryOperation to this ServiceOperation