// stinky code fragment for collections : as each value is stored under
// a key in the form propertyName:index, we have to iterate upon them
String propertyKeyInIndex = null;
String propertyValueInIndex = null;
if (Collection.class.isAssignableFrom(lastProperty.getType())) {
propertyKeyInIndex = GraphUtils.getEdgeNameFor(new LiteralInCollectionUpdaterProperty(lastProperty, expected, Updater.ELEMENT_IN_COLLECTION_MARKER));
propertyValueInIndex = Updater.ELEMENT_IN_COLLECTION_MARKER_GRAPH_VALUE;
} else {
propertyKeyInIndex = GraphUtils.getEdgeNameFor(lastProperty);
LiteralTransformer<Type> transformer = Literals.get(expectedClass);
if(Literals.containsKey(lastProperty.getType())) {