Map<String, MetaValue> metadata = new HashMap<String, MetaValue>();
metadata.put("serviceName", SimpleValueSupport.wrap("AddedOverrideBinding"));
metadata.put("description", SimpleValueSupport.wrap("description"));
metadata.put("port", SimpleValueSupport.wrap(54321));
MapCompositeValueSupport newMetadata = new MapCompositeValueSupport(metadata, SERVICE_BINDING_METADATA_TYPE);
CollectionValue overrides = new CollectionValueSupport(new CollectionMetaType(Set.class.getName(), SERVICE_BINDING_METADATA_TYPE), new MetaValue[]{newMetadata});
map.put("overrideBindings", overrides);
MapCompositeValueSupport newElement = new MapCompositeValueSupport(map, SERVICE_BINDING_SET_TYPE);
newElements[newElements.length - 1] = newElement;
CollectionValue newVal = new CollectionValueSupport(new CollectionMetaType(Set.class.getName(), SERVICE_BINDING_SET_TYPE), newElements);
prop.setValue(newVal);
// Before updating get a ref to the standard bindings so we can use it
// in later validation
Map<String, MetaValue> standardBindings = new HashMap<String, MetaValue>();