ot.setJavaClass(Generic.class);
    private static ObjectType createUnkeyedType(Model m, String name,                                                ObjectType[] ots) {        ObjectType ot = new ObjectType(m, name, null);        Root.getRoot().addObjectType(ot);        for (int i = 0; i < ots.length; i++) {            ObjectType prop = ots[i];            ot.addProperty(new Role(prop.getName() + i, prop,                                    false, false, false));        }        return ot;    }