metaObjectCollection.addMetaObject(createOneMetaObject(element, schema));
multipleMetaObject.add(createOneMetaObject(element, schema));
    public MetaObject createMetaObject(Object object, Schema schema) {        MetaObject metaObject;                if (object instanceof Collection) {            SimpleMetaObjectCollection metaObjectCollection = new SimpleMetaObjectCollection();            metaObjectCollection.setSchema(schema.getName());                        for (Iterator iter = ((Collection) object).iterator(); iter.hasNext();) {                Object element = (Object) iter.next();                                metaObjectCollection.addMetaObject(createOneMetaObject(element, schema));            }                        metaObject = metaObjectCollection;        }        else {            metaObject = createOneMetaObject(object, schema);        }                return metaObject;    }