registry.put(queryPath + elementMappingPathString +
CEPConstants.CEP_REGISTRY_BS + CEPConstants.CEP_REGISTRY_PROPERTIES, registry.newCollection());
for (Property property : elementMapping.getProperties()) {
Resource elementMappingProperties = registry.newResource();
elementMappingProperties.addProperty(CEPConstants.CEP_REGISTRY_NAME, property.getName());
elementMappingProperties.addProperty(CEPConstants.CEP_REGISTRY_XML_FIELD_NAME, property.getXmlFieldName());
elementMappingProperties.addProperty(CEPConstants.CEP_REGISTRY_XML_FIELD_TYPE, property.getXmlFieldType());
registry.put(queryPath + elementMappingPathString +
CEPConstants.CEP_REGISTRY_BS + CEPConstants.CEP_REGISTRY_PROPERTIES +
CEPConstants.CEP_REGISTRY_BS + property.getName(), elementMappingProperties);