queryKeysMapping.setAttributeName("queryKeys");
queryKeysMapping.setReferenceClass(QueryKey.class);
queryKeysMapping.setXPath(getPrimaryNamespaceXPath() + "query-keys/" + getPrimaryNamespaceXPath() + "query-key");
queryKeysMapping.setSetMethodName("setQueryKeys");
queryKeysMapping.setGetMethodName("getQueryKeys");
queryKeysMapping.useMapClass(HashMap.class, "getName");
descriptor.addMapping(queryKeysMapping);
XMLCompositeObjectMapping cmpPolicyMapping = new XMLCompositeObjectMapping();
cmpPolicyMapping.setAttributeName("cmpPolicy");
cmpPolicyMapping.setGetMethodName("getCMPPolicy");