case TRIPLES: proxy = konst.newInstance( core, ruleBase.getTripleStore(), getTripleFactory() );
break;
default : throw new RuntimeException( " This should not happen : unexpected property wrapping method " + mode );
}
HierarchyEncoder hier = ruleBase.getConfiguration().getComponentFactory().getTraitRegistry().getHierarchy();
((TraitProxy) proxy).setTypeCode( hier.getCode( trait.getName() ) );
core._setBottomTypeCode( hier.getBottom() );
core.addTrait( traitName, proxy );
return proxy;
} catch (InstantiationException e) {