* @param value the collection value
* @return the collection xml meta data
*/
protected PersistedCollectionValue createCollectionValue(CollectionValue value)
{
PersistedCollectionValue collection = new PersistedCollectionValue();
for(MetaValue child : value.getElements())
{
PersistedValue persistedValue = createPersistedValue(child, child.getMetaType());
collection.addValue(persistedValue);
}
return collection;
}