src/main/java/org/apache/bval/bench/metatree/MetaJavaBean.java
public void interrelate(List<MetaJavaBean> beans) {

        final int numInterrelations = Config.CFG.rndNumInterrelations();

        for (int i = 0; i < numInterrelations; ++i) {
            String fieldName = "beanRef" + i;
            JavaBeanRefField field = new JavaBeanRefField(this, fieldName, Config.CFG.getRandom(beans));
            fields.put(fieldName, field);
        }
    }
/**
     * Adds random fields referencing other mjb's.
     * 
     * @param beans
     *            The list of available beans.
     */
Adds random fields referencing other mjb's.

@param beans
The list of available beans.
Adds random fields referencing other mjb ' s . @param beans The list of available beans .
public void interrelate(List<MetaJavaBean> beans) {
        final int numInterrelations = Config.CFG.rndNumInterrelations();
        for (int i = 0; i < numInterrelations; ++i) {
            String fieldName = "beanRef" + i;
            JavaBeanRefField field = new JavaBeanRefField(this, fieldName, Config.CFG.getRandom(beans));
            fields.put(fieldName, field);
        }
    }
public void interrelate ( List < MetaJavaBean > beans ) { final int numInterrelations = Config . CFG . rndNumInterrelations ( ) ; for ( int i = 0 ; i < numInterrelations ; ++ i ) { String fieldName = "beanRef" + i ; JavaBeanRefField field = new JavaBeanRefField ( this , fieldName , Config . CFG . getRandom ( beans ) ) ; fields . put ( fieldName , field ) ; } }
Adds random fields referencing other mjb's.
Adds random fields referencing other mjb ' s .