* @param the persisted properties
* @return the persistence properties xml meta data
*/
protected PersistedValue createPropertiesValue(PropertiesMetaValue value)
{
PersistedPropertiesValue properties = new PersistedPropertiesValue();
List<PersistedPair> pairs = properties.getEntries();
if(pairs == null)
{
pairs = new ArrayList<PersistedPair>();
properties.setEntries(pairs);
}
for(Object key : value.keySet())
{
Object kvalue = value.get(key);
PersistedPair pair = new PersistedPair(key.toString(), kvalue.toString());